AppFabric / Client / create_app_bundle

create_app_bundle#

AppFabric.Client.create_app_bundle(**kwargs)#

Creates an app bundle to collect data from an application using AppFabric.

See also: AWS API Documentation

Request Syntax

response = client.create_app_bundle(
    clientToken='string',
    customerManagedKeyIdentifier='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
Parameters:
  • clientToken (string) –

    Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.

    If you don’t provide this value, then Amazon Web Services generates a random one for you.

    If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

    This field is autopopulated if not provided.

  • customerManagedKeyIdentifier (string) – The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to use to encrypt the application data. If this is not specified, an Amazon Web Services owned key is used for encryption.

  • tags (list) –

    A map of the key-value pairs of the tag or tags to assign to the resource.

    • (dict) –

      The key or keys of the key-value pairs for the tag or tags assigned to a resource.

      • key (string) – [REQUIRED]

        Tag key.

      • value (string) – [REQUIRED]

        Tag value.

Return type:

dict

Returns:

Response Syntax

{
    'appBundle': {
        'arn': 'string',
        'customerManagedKeyArn': 'string'
    }
}

Response Structure

  • (dict) –

    • appBundle (dict) –

      Contains information about an app bundle.

      • arn (string) –

        The Amazon Resource Name (ARN) of the app bundle.

      • customerManagedKeyArn (string) –

        The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the application data.

Exceptions