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
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.
client = boto3.client("servicecatalog-appregistry")
try:
do_something(client)
except (
client.ClientError,
client.ConflictException,
client.InternalServerException,
client.ResourceNotFoundException,
client.ServiceQuotaExceededException,
client.ValidationException,
) as e:
print(e)
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
def associate_attribute_group(
self,
*,
application: str,
attributeGroup: str,
) -> AssociateAttributeGroupResponseTypeDef: # (1)
...
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
def associate_resource(
self,
*,
application: str,
resourceType: ResourceTypeType, # (1)
resource: str,
) -> AssociateResourceResponseTypeDef: # (2)
...
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
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").close
method.
boto3 documentation
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
def create_application(
self,
*,
name: str,
clientToken: str,
description: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateApplicationResponseTypeDef: # (1)
...
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
def create_attribute_group(
self,
*,
name: str,
attributes: str,
clientToken: str,
description: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateAttributeGroupResponseTypeDef: # (1)
...
kwargs: CreateAttributeGroupRequestRequestTypeDef = { # (1)
"name": ...,
"attributes": ...,
"clientToken": ...,
}
parent.create_attribute_group(**kwargs)
delete_application
Deletes an application that is specified either by its application ID or name.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").delete_application
method.
boto3 documentation
def delete_application(
self,
*,
application: str,
) -> DeleteApplicationResponseTypeDef: # (1)
...
kwargs: DeleteApplicationRequestRequestTypeDef = { # (1)
"application": ...,
}
parent.delete_application(**kwargs)
delete_attribute_group
Deletes an attribute group, specified either by its attribute group ID or name.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").delete_attribute_group
method.
boto3 documentation
def delete_attribute_group(
self,
*,
attributeGroup: str,
) -> DeleteAttributeGroupResponseTypeDef: # (1)
...
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
def disassociate_attribute_group(
self,
*,
application: str,
attributeGroup: str,
) -> DisassociateAttributeGroupResponseTypeDef: # (1)
...
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
def disassociate_resource(
self,
*,
application: str,
resourceType: ResourceTypeType, # (1)
resource: str,
) -> DisassociateResourceResponseTypeDef: # (2)
...
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
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
def get_application(
self,
*,
application: str,
) -> GetApplicationResponseTypeDef: # (1)
...
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
def get_associated_resource(
self,
*,
application: str,
resourceType: ResourceTypeType, # (1)
resource: str,
) -> GetAssociatedResourceResponseTypeDef: # (2)
...
kwargs: GetAssociatedResourceRequestRequestTypeDef = { # (1)
"application": ...,
"resourceType": ...,
"resource": ...,
}
parent.get_associated_resource(**kwargs)
get_attribute_group
Retrieves an attribute group, either by its name or its ID.
Type annotations and code completion for boto3.client("servicecatalog-appregistry").get_attribute_group
method.
boto3 documentation
def get_attribute_group(
self,
*,
attributeGroup: str,
) -> GetAttributeGroupResponseTypeDef: # (1)
...
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
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
def list_applications(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListApplicationsResponseTypeDef: # (1)
...
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
def list_associated_attribute_groups(
self,
*,
application: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListAssociatedAttributeGroupsResponseTypeDef: # (1)
...
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
def list_associated_resources(
self,
*,
application: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListAssociatedResourcesResponseTypeDef: # (1)
...
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
def list_attribute_groups(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListAttributeGroupsResponseTypeDef: # (1)
...
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
def list_attribute_groups_for_application(
self,
*,
application: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListAttributeGroupsForApplicationResponseTypeDef: # (1)
...
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
def list_tags_for_resource(
self,
*,
resourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
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
def put_configuration(
self,
*,
configuration: AppRegistryConfigurationTypeDef, # (1)
) -> EmptyResponseMetadataTypeDef: # (2)
...
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
def sync_resource(
self,
*,
resourceType: ResourceTypeType, # (1)
resource: str,
) -> SyncResourceResponseTypeDef: # (2)
...
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
def tag_resource(
self,
*,
resourceArn: str,
tags: Mapping[str, str],
) -> Dict[str, Any]:
...
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
def untag_resource(
self,
*,
resourceArn: str,
tagKeys: Sequence[str],
) -> Dict[str, Any]:
...
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
def update_application(
self,
*,
application: str,
name: str = ...,
description: str = ...,
) -> UpdateApplicationResponseTypeDef: # (1)
...
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
def update_attribute_group(
self,
*,
attributeGroup: str,
name: str = ...,
description: str = ...,
attributes: str = ...,
) -> UpdateAttributeGroupResponseTypeDef: # (1)
...
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")
-> ListAttributeGroupsPaginatorclient.get_paginator("list_attribute_groups_for_application")
-> ListAttributeGroupsForApplicationPaginator