AppRegistryClient#
Index > AppRegistry > AppRegistryClient
Auto-generated documentation for AppRegistry type annotations stubs module mypy-boto3-servicecatalog-appregistry.
AppRegistryClient#
Type annotations and code completion for boto3.client("servicecatalog-appregistry")
.
boto3 documentation
# AppRegistryClient usage example
from boto3.session import Session
from mypy_boto3_servicecatalog_appregistry.client import AppRegistryClient
def get_servicecatalog-appregistry_client() -> AppRegistryClient:
return Session().client("servicecatalog-appregistry")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("servicecatalog-appregistry").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("servicecatalog-appregistry")
try:
do_something(client)
except (
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_servicecatalog_appregistry.client import Exceptions
def handle_error(exc: Exceptions.ClientError) -> None:
...
Methods#
associate_attribute_group#
Associates an attribute group with an application to augment the application's metadata with the group's attributes.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").associate_attribute_group
method.
boto3 documentation
# associate_attribute_group method definition
def associate_attribute_group(
self,
*,
application: str,
attributeGroup: str,
) -> AssociateAttributeGroupResponseTypeDef: # (1)
...
# associate_attribute_group method usage example with argument unpacking
kwargs: AssociateAttributeGroupRequestRequestTypeDef = { # (1)
"application": ...,
"attributeGroup": ...,
}
parent.associate_attribute_group(**kwargs)
associate_resource#
Associates a resource with an application.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").associate_resource
method.
boto3 documentation
# associate_resource method definition
def associate_resource(
self,
*,
application: str,
resourceType: ResourceTypeType, # (1)
resource: str,
options: Sequence[AssociationOptionType] = ..., # (2)
) -> AssociateResourceResponseTypeDef: # (3)
...
# associate_resource method usage example with argument unpacking
kwargs: AssociateResourceRequestRequestTypeDef = { # (1)
"application": ...,
"resourceType": ...,
"resource": ...,
}
parent.associate_resource(**kwargs)
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").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("servicecatalog-appregistry").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_application#
Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").create_application
method.
boto3 documentation
# create_application method definition
def create_application(
self,
*,
name: str,
clientToken: str,
description: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateApplicationResponseTypeDef: # (1)
...
# create_application method usage example with argument unpacking
kwargs: CreateApplicationRequestRequestTypeDef = { # (1)
"name": ...,
"clientToken": ...,
}
parent.create_application(**kwargs)
create_attribute_group#
Creates a new attribute group as a container for user-defined attributes.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").create_attribute_group
method.
boto3 documentation
# create_attribute_group method definition
def create_attribute_group(
self,
*,
name: str,
attributes: str,
clientToken: str,
description: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateAttributeGroupResponseTypeDef: # (1)
...
# create_attribute_group method usage example with argument unpacking
kwargs: CreateAttributeGroupRequestRequestTypeDef = { # (1)
"name": ...,
"attributes": ...,
"clientToken": ...,
}
parent.create_attribute_group(**kwargs)
delete_application#
Deletes an application that is specified either by its application ID, name, or ARN.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").delete_application
method.
boto3 documentation
# delete_application method definition
def delete_application(
self,
*,
application: str,
) -> DeleteApplicationResponseTypeDef: # (1)
...
# delete_application method usage example with argument unpacking
kwargs: DeleteApplicationRequestRequestTypeDef = { # (1)
"application": ...,
}
parent.delete_application(**kwargs)
delete_attribute_group#
Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").delete_attribute_group
method.
boto3 documentation
# delete_attribute_group method definition
def delete_attribute_group(
self,
*,
attributeGroup: str,
) -> DeleteAttributeGroupResponseTypeDef: # (1)
...
# delete_attribute_group method usage example with argument unpacking
kwargs: DeleteAttributeGroupRequestRequestTypeDef = { # (1)
"attributeGroup": ...,
}
parent.delete_attribute_group(**kwargs)
disassociate_attribute_group#
Disassociates an attribute group from an application to remove the extra attributes contained in the attribute group from the application's metadata.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").disassociate_attribute_group
method.
boto3 documentation
# disassociate_attribute_group method definition
def disassociate_attribute_group(
self,
*,
application: str,
attributeGroup: str,
) -> DisassociateAttributeGroupResponseTypeDef: # (1)
...
# disassociate_attribute_group method usage example with argument unpacking
kwargs: DisassociateAttributeGroupRequestRequestTypeDef = { # (1)
"application": ...,
"attributeGroup": ...,
}
parent.disassociate_attribute_group(**kwargs)
disassociate_resource#
Disassociates a resource from application.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").disassociate_resource
method.
boto3 documentation
# disassociate_resource method definition
def disassociate_resource(
self,
*,
application: str,
resourceType: ResourceTypeType, # (1)
resource: str,
) -> DisassociateResourceResponseTypeDef: # (2)
...
# disassociate_resource method usage example with argument unpacking
kwargs: DisassociateResourceRequestRequestTypeDef = { # (1)
"application": ...,
"resourceType": ...,
"resource": ...,
}
parent.disassociate_resource(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").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#
Retrieves metadata information about one of your applications.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").get_application
method.
boto3 documentation
# get_application method definition
def get_application(
self,
*,
application: str,
) -> GetApplicationResponseTypeDef: # (1)
...
# get_application method usage example with argument unpacking
kwargs: GetApplicationRequestRequestTypeDef = { # (1)
"application": ...,
}
parent.get_application(**kwargs)
get_associated_resource#
Gets the resource associated with the application.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").get_associated_resource
method.
boto3 documentation
# get_associated_resource method definition
def get_associated_resource(
self,
*,
application: str,
resourceType: ResourceTypeType, # (1)
resource: str,
nextToken: str = ...,
resourceTagStatus: Sequence[ResourceItemStatusType] = ..., # (2)
maxResults: int = ...,
) -> GetAssociatedResourceResponseTypeDef: # (3)
...
# get_associated_resource method usage example with argument unpacking
kwargs: GetAssociatedResourceRequestRequestTypeDef = { # (1)
"application": ...,
"resourceType": ...,
"resource": ...,
}
parent.get_associated_resource(**kwargs)
get_attribute_group#
Retrieves an attribute group by its ARN, ID, or name.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").get_attribute_group
method.
boto3 documentation
# get_attribute_group method definition
def get_attribute_group(
self,
*,
attributeGroup: str,
) -> GetAttributeGroupResponseTypeDef: # (1)
...
# get_attribute_group method usage example with argument unpacking
kwargs: GetAttributeGroupRequestRequestTypeDef = { # (1)
"attributeGroup": ...,
}
parent.get_attribute_group(**kwargs)
get_configuration#
Retrieves a TagKey
configuration from an account.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").get_configuration
method.
boto3 documentation
# get_configuration method definition
def get_configuration(
self,
) -> GetConfigurationResponseTypeDef: # (1)
...
list_applications#
Retrieves a list of all of your applications.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").list_applications
method.
boto3 documentation
# list_applications method definition
def list_applications(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListApplicationsResponseTypeDef: # (1)
...
# list_applications method usage example with argument unpacking
kwargs: ListApplicationsRequestRequestTypeDef = { # (1)
"nextToken": ...,
}
parent.list_applications(**kwargs)
list_associated_attribute_groups#
Lists all attribute groups that are associated with specified application.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").list_associated_attribute_groups
method.
boto3 documentation
# list_associated_attribute_groups method definition
def list_associated_attribute_groups(
self,
*,
application: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListAssociatedAttributeGroupsResponseTypeDef: # (1)
...
# list_associated_attribute_groups method usage example with argument unpacking
kwargs: ListAssociatedAttributeGroupsRequestRequestTypeDef = { # (1)
"application": ...,
}
parent.list_associated_attribute_groups(**kwargs)
list_associated_resources#
Lists all of the resources that are associated with the specified application.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").list_associated_resources
method.
boto3 documentation
# list_associated_resources method definition
def list_associated_resources(
self,
*,
application: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListAssociatedResourcesResponseTypeDef: # (1)
...
# list_associated_resources method usage example with argument unpacking
kwargs: ListAssociatedResourcesRequestRequestTypeDef = { # (1)
"application": ...,
}
parent.list_associated_resources(**kwargs)
list_attribute_groups#
Lists all attribute groups which you have access to.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").list_attribute_groups
method.
boto3 documentation
# list_attribute_groups method definition
def list_attribute_groups(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListAttributeGroupsResponseTypeDef: # (1)
...
# list_attribute_groups method usage example with argument unpacking
kwargs: ListAttributeGroupsRequestRequestTypeDef = { # (1)
"nextToken": ...,
}
parent.list_attribute_groups(**kwargs)
list_attribute_groups_for_application#
Lists the details of all attribute groups associated with a specific application.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").list_attribute_groups_for_application
method.
boto3 documentation
# list_attribute_groups_for_application method definition
def list_attribute_groups_for_application(
self,
*,
application: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListAttributeGroupsForApplicationResponseTypeDef: # (1)
...
# list_attribute_groups_for_application method usage example with argument unpacking
kwargs: ListAttributeGroupsForApplicationRequestRequestTypeDef = { # (1)
"application": ...,
}
parent.list_attribute_groups_for_application(**kwargs)
list_tags_for_resource#
Lists all of the tags on the resource.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").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_configuration#
Associates a TagKey
configuration to an account.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").put_configuration
method.
boto3 documentation
# put_configuration method definition
def put_configuration(
self,
*,
configuration: AppRegistryConfigurationTypeDef, # (1)
) -> EmptyResponseMetadataTypeDef: # (2)
...
# put_configuration method usage example with argument unpacking
kwargs: PutConfigurationRequestRequestTypeDef = { # (1)
"configuration": ...,
}
parent.put_configuration(**kwargs)
sync_resource#
Syncs the resource with current AppRegistry records.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").sync_resource
method.
boto3 documentation
# sync_resource method definition
def sync_resource(
self,
*,
resourceType: ResourceTypeType, # (1)
resource: str,
) -> SyncResourceResponseTypeDef: # (2)
...
# sync_resource method usage example with argument unpacking
kwargs: SyncResourceRequestRequestTypeDef = { # (1)
"resourceType": ...,
"resource": ...,
}
parent.sync_resource(**kwargs)
tag_resource#
Assigns one or more tags (key-value pairs) to the specified resource.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").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#
Removes tags from a resource.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").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#
Updates an existing application with new attributes.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").update_application
method.
boto3 documentation
# update_application method definition
def update_application(
self,
*,
application: str,
name: str = ...,
description: str = ...,
) -> UpdateApplicationResponseTypeDef: # (1)
...
# update_application method usage example with argument unpacking
kwargs: UpdateApplicationRequestRequestTypeDef = { # (1)
"application": ...,
}
parent.update_application(**kwargs)
update_attribute_group#
Updates an existing attribute group with new details.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").update_attribute_group
method.
boto3 documentation
# update_attribute_group method definition
def update_attribute_group(
self,
*,
attributeGroup: str,
name: str = ...,
description: str = ...,
attributes: str = ...,
) -> UpdateAttributeGroupResponseTypeDef: # (1)
...
# update_attribute_group method usage example with argument unpacking
kwargs: UpdateAttributeGroupRequestRequestTypeDef = { # (1)
"attributeGroup": ...,
}
parent.update_attribute_group(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("servicecatalog-appregistry").get_paginator
method with overloads.
client.get_paginator("list_applications")
-> ListApplicationsPaginatorclient.get_paginator("list_associated_attribute_groups")
-> ListAssociatedAttributeGroupsPaginatorclient.get_paginator("list_associated_resources")
-> ListAssociatedResourcesPaginatorclient.get_paginator("list_attribute_groups_for_application")
-> ListAttributeGroupsForApplicationPaginatorclient.get_paginator("list_attribute_groups")
-> ListAttributeGroupsPaginator