SsmSapClient#
Auto-generated documentation for SsmSap type annotations stubs module types-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 types_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 types_boto3_ssm_sap.client import Exceptions
def handle_error(exc: Exceptions.ClientError) -> None:
...
Methods#
can_paginate#
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:
...
generate_presigned_url#
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:
...
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)
...
# delete_resource_permission method usage example with argument unpacking
kwargs: DeleteResourcePermissionInputRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.delete_resource_permission(**kwargs)
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)
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)
...
# get_application method usage example with argument unpacking
kwargs: GetApplicationInputRequestTypeDef = { # (1)
"ApplicationId": ...,
}
parent.get_application(**kwargs)
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)
...
# get_component method usage example with argument unpacking
kwargs: GetComponentInputRequestTypeDef = { # (1)
"ApplicationId": ...,
"ComponentId": ...,
}
parent.get_component(**kwargs)
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)
...
# get_database method usage example with argument unpacking
kwargs: GetDatabaseInputRequestTypeDef = { # (1)
"ApplicationId": ...,
}
parent.get_database(**kwargs)
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)
...
# get_operation method usage example with argument unpacking
kwargs: GetOperationInputRequestTypeDef = { # (1)
"OperationId": ...,
}
parent.get_operation(**kwargs)
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)
...
# get_resource_permission method usage example with argument unpacking
kwargs: GetResourcePermissionInputRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.get_resource_permission(**kwargs)
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)
...
# list_applications method usage example with argument unpacking
kwargs: ListApplicationsInputRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_applications(**kwargs)
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)
...
# list_components method usage example with argument unpacking
kwargs: ListComponentsInputRequestTypeDef = { # (1)
"ApplicationId": ...,
}
parent.list_components(**kwargs)
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)
...
# list_databases method usage example with argument unpacking
kwargs: ListDatabasesInputRequestTypeDef = { # (1)
"ApplicationId": ...,
}
parent.list_databases(**kwargs)
list_operation_events#
Returns a list of operations events.
Type annotations and code completion for boto3.client("ssm-sap").list_operation_events
method.
boto3 documentation
# list_operation_events method definition
def list_operation_events(
self,
*,
OperationId: str,
MaxResults: int = ...,
NextToken: str = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
) -> ListOperationEventsOutputTypeDef: # (2)
...
# list_operation_events method usage example with argument unpacking
kwargs: ListOperationEventsInputRequestTypeDef = { # (1)
"OperationId": ...,
}
parent.list_operation_events(**kwargs)
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)
...
# list_operations method usage example with argument unpacking
kwargs: ListOperationsInputRequestTypeDef = { # (1)
"ApplicationId": ...,
}
parent.list_operations(**kwargs)
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)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
put_resource_permission#
Adds permissions to the target database.
Type annotations and code completion for boto3.client("ssm-sap").put_resource_permission
method.
boto3 documentation
# put_resource_permission method definition
def put_resource_permission(
self,
*,
ActionType: PermissionActionTypeType, # (1)
SourceResourceArn: str,
ResourceArn: str,
) -> PutResourcePermissionOutputTypeDef: # (2)
...
# put_resource_permission method usage example with argument unpacking
kwargs: PutResourcePermissionInputRequestTypeDef = { # (1)
"ActionType": ...,
"SourceResourceArn": ...,
"ResourceArn": ...,
}
parent.put_resource_permission(**kwargs)
register_application#
Register an SAP application with AWS Systems Manager for SAP.
Type annotations and code completion for boto3.client("ssm-sap").register_application
method.
boto3 documentation
# register_application method definition
def register_application(
self,
*,
ApplicationId: str,
ApplicationType: ApplicationTypeType, # (1)
Instances: Sequence[str],
SapInstanceNumber: str = ...,
Sid: str = ...,
Tags: Mapping[str, str] = ...,
Credentials: Sequence[ApplicationCredentialTypeDef] = ..., # (2)
DatabaseArn: str = ...,
ComponentsInfo: Sequence[ComponentInfoTypeDef] = ..., # (3)
) -> RegisterApplicationOutputTypeDef: # (4)
...
- See ApplicationTypeType
- See ApplicationCredentialTypeDef
- See ComponentInfoTypeDef
- See RegisterApplicationOutputTypeDef
# register_application method usage example with argument unpacking
kwargs: RegisterApplicationInputRequestTypeDef = { # (1)
"ApplicationId": ...,
"ApplicationType": ...,
"Instances": ...,
}
parent.register_application(**kwargs)
start_application#
Request is an operation which starts an application.
Type annotations and code completion for boto3.client("ssm-sap").start_application
method.
boto3 documentation
# start_application method definition
def start_application(
self,
*,
ApplicationId: str,
) -> StartApplicationOutputTypeDef: # (1)
...
# start_application method usage example with argument unpacking
kwargs: StartApplicationInputRequestTypeDef = { # (1)
"ApplicationId": ...,
}
parent.start_application(**kwargs)
start_application_refresh#
Refreshes a registered application.
Type annotations and code completion for boto3.client("ssm-sap").start_application_refresh
method.
boto3 documentation
# start_application_refresh method definition
def start_application_refresh(
self,
*,
ApplicationId: str,
) -> StartApplicationRefreshOutputTypeDef: # (1)
...
# start_application_refresh method usage example with argument unpacking
kwargs: StartApplicationRefreshInputRequestTypeDef = { # (1)
"ApplicationId": ...,
}
parent.start_application_refresh(**kwargs)
stop_application#
Request is an operation to stop an application.
Type annotations and code completion for boto3.client("ssm-sap").stop_application
method.
boto3 documentation
# stop_application method definition
def stop_application(
self,
*,
ApplicationId: str,
StopConnectedEntity: ConnectedEntityTypeType = ..., # (1)
IncludeEc2InstanceShutdown: bool = ...,
) -> StopApplicationOutputTypeDef: # (2)
...
# stop_application method usage example with argument unpacking
kwargs: StopApplicationInputRequestTypeDef = { # (1)
"ApplicationId": ...,
}
parent.stop_application(**kwargs)
tag_resource#
Creates tag for a resource by specifying the ARN.
Type annotations and code completion for boto3.client("ssm-sap").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
resourceArn: str,
tags: Mapping[str, str],
) -> dict[str, Any]:
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Delete the tags for a resource.
Type annotations and code completion for boto3.client("ssm-sap").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
resourceArn: str,
tagKeys: Sequence[str],
) -> dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tagKeys": ...,
}
parent.untag_resource(**kwargs)
update_application_settings#
Updates the settings of an application registered with AWS Systems Manager for SAP.
Type annotations and code completion for boto3.client("ssm-sap").update_application_settings
method.
boto3 documentation
# update_application_settings method definition
def update_application_settings(
self,
*,
ApplicationId: str,
CredentialsToAddOrUpdate: Sequence[ApplicationCredentialTypeDef] = ..., # (1)
CredentialsToRemove: Sequence[ApplicationCredentialTypeDef] = ..., # (1)
Backint: BackintConfigTypeDef = ..., # (3)
DatabaseArn: str = ...,
) -> UpdateApplicationSettingsOutputTypeDef: # (4)
...
- See ApplicationCredentialTypeDef
- See ApplicationCredentialTypeDef
- See BackintConfigTypeDef
- See UpdateApplicationSettingsOutputTypeDef
# update_application_settings method usage example with argument unpacking
kwargs: UpdateApplicationSettingsInputRequestTypeDef = { # (1)
"ApplicationId": ...,
}
parent.update_application_settings(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("ssm-sap").get_paginator
method with overloads.
client.get_paginator("list_applications")
-> ListApplicationsPaginatorclient.get_paginator("list_components")
-> ListComponentsPaginatorclient.get_paginator("list_databases")
-> ListDatabasesPaginatorclient.get_paginator("list_operation_events")
-> ListOperationEventsPaginatorclient.get_paginator("list_operations")
-> ListOperationsPaginator