Skip to content

SageMakergeospatialcapabilitiesClient#

Index > SageMakergeospatialcapabilities > SageMakergeospatialcapabilitiesClient

Auto-generated documentation for SageMakergeospatialcapabilities type annotations stubs module mypy-boto3-sagemaker-geospatial.

SageMakergeospatialcapabilitiesClient#

Type annotations and code completion for boto3.client("sagemaker-geospatial"). boto3 documentation

# SageMakergeospatialcapabilitiesClient usage example

from boto3.session import Session
from mypy_boto3_sagemaker_geospatial.client import SageMakergeospatialcapabilitiesClient

def get_sagemaker-geospatial_client() -> SageMakergeospatialcapabilitiesClient:
    return Session().client("sagemaker-geospatial")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("sagemaker-geospatial").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("sagemaker-geospatial")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_sagemaker_geospatial.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("sagemaker-geospatial").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("sagemaker-geospatial").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

delete_earth_observation_job#

Use this operation to delete an Earth Observation job.

Type annotations and code completion for boto3.client("sagemaker-geospatial").delete_earth_observation_job method. boto3 documentation

# delete_earth_observation_job method definition

def delete_earth_observation_job(
    self,
    *,
    Arn: str,
) -> Dict[str, Any]:
    ...
# delete_earth_observation_job method usage example with argument unpacking

kwargs: DeleteEarthObservationJobInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.delete_earth_observation_job(**kwargs)
  1. See DeleteEarthObservationJobInputRequestTypeDef

delete_vector_enrichment_job#

Use this operation to delete a Vector Enrichment job.

Type annotations and code completion for boto3.client("sagemaker-geospatial").delete_vector_enrichment_job method. boto3 documentation

# delete_vector_enrichment_job method definition

def delete_vector_enrichment_job(
    self,
    *,
    Arn: str,
) -> Dict[str, Any]:
    ...
# delete_vector_enrichment_job method usage example with argument unpacking

kwargs: DeleteVectorEnrichmentJobInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.delete_vector_enrichment_job(**kwargs)
  1. See DeleteVectorEnrichmentJobInputRequestTypeDef

export_earth_observation_job#

Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an Amazon S3 location.

Type annotations and code completion for boto3.client("sagemaker-geospatial").export_earth_observation_job method. boto3 documentation

# export_earth_observation_job method definition

def export_earth_observation_job(
    self,
    *,
    Arn: str,
    ExecutionRoleArn: str,
    OutputConfig: OutputConfigInputTypeDef,  # (1)
    ClientToken: str = ...,
    ExportSourceImages: bool = ...,
) -> ExportEarthObservationJobOutputTypeDef:  # (2)
    ...
  1. See OutputConfigInputTypeDef
  2. See ExportEarthObservationJobOutputTypeDef
# export_earth_observation_job method usage example with argument unpacking

kwargs: ExportEarthObservationJobInputRequestTypeDef = {  # (1)
    "Arn": ...,
    "ExecutionRoleArn": ...,
    "OutputConfig": ...,
}

parent.export_earth_observation_job(**kwargs)
  1. See ExportEarthObservationJobInputRequestTypeDef

export_vector_enrichment_job#

Use this operation to copy results of a Vector Enrichment job to an Amazon S3 location.

Type annotations and code completion for boto3.client("sagemaker-geospatial").export_vector_enrichment_job method. boto3 documentation

# export_vector_enrichment_job method definition

def export_vector_enrichment_job(
    self,
    *,
    Arn: str,
    ExecutionRoleArn: str,
    OutputConfig: ExportVectorEnrichmentJobOutputConfigTypeDef,  # (1)
    ClientToken: str = ...,
) -> ExportVectorEnrichmentJobOutputTypeDef:  # (2)
    ...
  1. See ExportVectorEnrichmentJobOutputConfigTypeDef
  2. See ExportVectorEnrichmentJobOutputTypeDef
# export_vector_enrichment_job method usage example with argument unpacking

kwargs: ExportVectorEnrichmentJobInputRequestTypeDef = {  # (1)
    "Arn": ...,
    "ExecutionRoleArn": ...,
    "OutputConfig": ...,
}

parent.export_vector_enrichment_job(**kwargs)
  1. See ExportVectorEnrichmentJobInputRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("sagemaker-geospatial").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_earth_observation_job#

Get the details for a previously initiated Earth Observation job.

Type annotations and code completion for boto3.client("sagemaker-geospatial").get_earth_observation_job method. boto3 documentation

# get_earth_observation_