Skip to content

SsmSapClient#

Index > SsmSap > SsmSapClient

Auto-generated documentation for SsmSap type annotations stubs module mypy-boto3-ssm-sap.

SsmSapClient#

Type annotations and code completion for boto3.client("ssm-sap"). boto3 documentation

# SsmSapClient usage example

from boto3.session import Session
from mypy_boto3_ssm_sap.client import SsmSapClient

def get_ssm-sap_client() -> SsmSapClient:
    return Session().client("ssm-sap")

Exceptions#

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

# Exceptions.exceptions usage example

client = boto3.client("ssm-sap")

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

from mypy_boto3_ssm_sap.client import Exceptions

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

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("ssm-sap").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("ssm-sap").close method. boto3 documentation

# close method definition

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

delete_resource_permission#

Removes permissions associated with the target database.

Type annotations and code completion for boto3.client("ssm-sap").delete_resource_permission method. boto3 documentation

# delete_resource_permission method definition

def delete_resource_permission(
    self,
    *,
    ResourceArn: str,
    ActionType: PermissionActionTypeType = ...,  # (1)
    SourceResourceArn: str = ...,
) -> DeleteResourcePermissionOutputTypeDef:  # (2)
    ...
  1. See PermissionActionTypeType
  2. See DeleteResourcePermissionOutputTypeDef
# delete_resource_permission method usage example with argument unpacking

kwargs: DeleteResourcePermissionInputRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.delete_resource_permission(**kwargs)
  1. See DeleteResourcePermissionInputRequestTypeDef

deregister_application#

Deregister an SAP application with AWS Systems Manager for SAP.

Type annotations and code completion for boto3.client("ssm-sap").deregister_application method. boto3 documentation

# deregister_application method definition

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

kwargs: DeregisterApplicationInputRequestTypeDef = {  # (1)
    "ApplicationId": ...,
}

parent.deregister_application(**kwargs)
  1. See DeregisterApplicationInputRequestTypeDef

generate_presigned_url#

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

Type annotations and code completion for boto3.client("ssm-sap").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_application#

Gets an application registered with AWS Systems Manager for SAP.

Type annotations and code completion for boto3.client("ssm-sap").get_application method. boto3 documentation

# get_application method definition

def get_application(
    self,
    *,
    ApplicationId: str = ...,
    ApplicationArn: str = ...,
    AppRegistryArn: str = ...,
) -> GetApplicationOutputTypeDef:  # (1)
    ...
  1. See GetApplicationOutputTypeDef
# get_application method usage example with argument unpacking

kwargs: GetApplicationInputRequestTypeDef = {  # (1)
    "ApplicationId": ...,
}

parent.get_application(**kwargs)
  1. See GetApplicationInputRequestTypeDef

get_component#

Gets the component of an application registered with AWS Systems Manager for SAP.

Type annotations and code completion for boto3.client("ssm-sap").get_component method. boto3 documentation

# get_component method definition

def get_component(
    self,
    *,
    ApplicationId: str,
    ComponentId: str,
) -> GetComponentOutputTypeDef:  # (1)
    ...
  1. See GetComponentOutputTypeDef
# get_component method usage example with argument unpacking

kwargs: GetComponentInputRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "ComponentId": ...,
}

parent.get_component(**kwargs)
  1. See GetComponentInputRequestTypeDef

get_database#

Gets the SAP HANA database of an application registered with AWS Systems Manager for SAP.

Type annotations and code completion for boto3.client("ssm-sap").get_database method. boto3 documentation

# get_database method definition

def get_database(
    self,
    *,
    ApplicationId: str = ...,
    ComponentId: str = ...,
    DatabaseId: str = ...,
    DatabaseArn: str = ...,
) -> GetDatabaseOutputTypeDef:  # (1)
    ...
  1. See GetDatabaseOutputTypeDef
# get_database method usage example with argument unpacking

kwargs: GetDatabaseInputRequestTypeDef = {  # (1)
    "ApplicationId": ...,
}

parent.get_database(**kwargs)
  1. See GetDatabaseInputRequestTypeDef

get_operation#

Gets the details of an operation by specifying the operation ID.

Type annotations and code completion for boto3.client("ssm-sap").get_operation method. boto3 documentation

# get_operation method definition

def get_operation(
    self,
    *,
    OperationId: str,
) -> GetOperationOutputTypeDef:  # (1)
    ...
  1. See GetOperationOutputTypeDef
# get_operation method usage example with argument unpacking

kwargs: GetOperationInputRequestTypeDef = {  # (1)
    "OperationId": ...,
}

parent.get_operation(**kwargs)
  1. See GetOperationInputRequestTypeDef

get_resource_permission#

Gets permissions associated with the target database.

Type annotations and code completion for boto3.client("ssm-sap").get_resource_permission method. boto3 documentation

# get_resource_permission method definition

def get_resource_permission(
    self,
    *,
    ResourceArn: str,
    ActionType: PermissionActionTypeType = ...,  # (1)
) -> GetResourcePermissionOutputTypeDef:  # (2)
    ...
  1. See PermissionActionTypeType
  2. See GetResourcePermissionOutputTypeDef
# get_resource_permission method usage example with argument unpacking

kwargs: GetResourcePermissionInputRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.get_resource_permission(**kwargs)
  1. See GetResourcePermissionInputRequestTypeDef

list_applications#

Lists all the applications registered with AWS Systems Manager for SAP.

Type annotations and code completion for boto3.client("ssm-sap").list_applications method. boto3 documentation

# list_applications method definition

def list_applications(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
) -> ListApplicationsOutputTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListApplicationsOutputTypeDef
# list_applications method usage example with argument unpacking

kwargs: ListApplicationsInputRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_applications(**kwargs)
  1. See ListApplicationsInputRequestTypeDef

list_components#

Lists all the components registered with AWS Systems Manager for SAP.

Type annotations and code completion for boto3.client("ssm-sap").list_components method. boto3 documentation

# list_components method definition

def list_components(
    self,
    *,
    ApplicationId: str = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListComponentsOutputTypeDef:  # (1)
    ...
  1. See ListComponentsOutputTypeDef
# list_components method usage example with argument unpacking

kwargs: ListComponentsInputRequestTypeDef = {  # (1)
    "ApplicationId": ...,
}

parent.list_components(**kwargs)
  1. See ListComponentsInputRequestTypeDef

list_databases#

Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.

Type annotations and code completion for boto3.client("ssm-sap").list_databases method. boto3 documentation

# list_databases method definition

def list_databases(
    self,
    *,
    ApplicationId: str = ...,
    ComponentId: str = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListDatabasesOutputTypeDef:  # (1)
    ...
  1. See ListDatabasesOutputTypeDef
# list_databases method usage example with argument unpacking

kwargs: ListDatabasesInputRequestTypeDef = {  # (1)
    "ApplicationId": ...,
}

parent.list_databases(**kwargs)
  1. See ListDatabasesInputRequestTypeDef

list_operations#

Lists the operations performed by AWS Systems Manager for SAP.

Type annotations and code completion for boto3.client("ssm-sap").list_operations method. boto3 documentation

# list_operations method definition

def list_operations(
    self,
    *,
    ApplicationId: str,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
) -> ListOperationsOutputTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListOperationsOutputTypeDef
# list_operations method usage example with argument unpacking

kwargs: ListOperationsInputRequestTypeDef = {  # (1)
    "ApplicationId": ...,
}

parent.list_operations(**kwargs)
  1. See ListOperationsInputRequestTypeDef

list_tags_for_resource#

Lists all tags on an SAP HANA application and/or database registered with AWS Systems Manager for SAP.

Type annotations and code completion for boto3.client("ssm-sap").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method