create_attribute_group
async
¶
create_attribute_group(
name: Name,
attributes: Attributes,
client_token: ClientToken,
*,
config_overrides: Optional[AsyncServiceCatalogAppRegistryClientConfig] = None,
description: Optional[Description] = None,
tags: Optional[Tags] = None,
) -> CreateAttributeGroupResponse
Creates a new attribute group as a container for user-defined attributes. This feature enables users to have full control over their cloud application's metadata in a rich machine-readable format to facilitate integration with automated workflows and third-party tools.
Parameters:
-
name(Name) –The name of the attribute group.
-
description(Optional[Description], default:None) –The description of the attribute group that the user provides.
-
attributes(Attributes) –A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.
-
tags(Optional[Tags], default:None) –Key-value pairs you can use to associate with the attribute group.
-
client_token(ClientToken) –A unique identifier that you provide to ensure idempotency. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails.
Raises:
-
ConflictException–There was a conflict when processing the request (for example, a resource with the given name already exists within the account).
-
InternalServerException–The service is experiencing internal problems.
-
ServiceQuotaExceededException–The maximum number of resources per account has been reached.
-
ValidationException–The request has invalid or missing parameters.
-
UnknownServiceError–The service returned an error code this client does not model.