AppFabric

2023/06/27 - AppFabric - 26 new api methods

Changes  Initial release of AWS AppFabric for connecting SaaS applications for better productivity and security.

ListIngestionDestinations (new) Link ¶

Returns a list of all ingestion destinations configured for an ingestion.

See also: AWS API Documentation

Request Syntax

client.list_ingestion_destinations(
    appBundleIdentifier='string',
    ingestionIdentifier='string',
    maxResults=123,
    nextToken='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type ingestionIdentifier

string

param ingestionIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.

type maxResults

integer

param maxResults

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

type nextToken

string

param nextToken

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error .

rtype

dict

returns

Response Syntax

{
    'ingestionDestinations': [
        {
            'arn': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • ingestionDestinations (list) --

      Contains a list of ingestion destination summaries.

      • (dict) --

        Contains a summary of an ingestion destination.

        • arn (string) --

          The Amazon Resource Name (ARN) of the ingestion destination.

    • nextToken (string) --

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error .

UpdateAppAuthorization (new) Link ¶

Updates an app authorization within an app bundle, which allows AppFabric to connect to an application.

If the app authorization was in a connected state, updating the app authorization will set it back to a PendingConnect state.

See also: AWS API Documentation

Request Syntax

client.update_app_authorization(
    appBundleIdentifier='string',
    appAuthorizationIdentifier='string',
    credential={
        'oauth2Credential': {
            'clientId': 'string',
            'clientSecret': 'string'
        },
        'apiKeyCredential': {
            'apiKey': 'string'
        }
    },
    tenant={
        'tenantIdentifier': 'string',
        'tenantDisplayName': 'string'
    }
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type appAuthorizationIdentifier

string

param appAuthorizationIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.

type credential

dict

param credential

Contains credentials for the application, such as an API key or OAuth2 client ID and secret.

Specify credentials that match the authorization type of the app authorization to update. For example, if the authorization type of the app authorization is OAuth2 (oauth2 ), then you should provide only the OAuth2 credentials.

  • oauth2Credential (dict) --

    Contains OAuth2 client credential information.

    • clientId (string) -- [REQUIRED]

      The client ID of the client application.

    • clientSecret (string) -- [REQUIRED]

      The client secret of the client application.

  • apiKeyCredential (dict) --

    Contains API key credential information.

    • apiKey (string) -- [REQUIRED]

      An API key for an application.

type tenant

dict

param tenant

Contains information about an application tenant, such as the application display name and identifier.

  • tenantIdentifier (string) -- [REQUIRED]

    The ID of the application tenant.

  • tenantDisplayName (string) -- [REQUIRED]

    The display name of the tenant.

rtype

dict

returns

Response Syntax

{
    'appAuthorization': {
        'appAuthorizationArn': 'string',
        'appBundleArn': 'string',
        'app': 'string',
        'tenant': {
            'tenantIdentifier': 'string',
            'tenantDisplayName': 'string'
        },
        'authType': 'oauth2'|'apiKey',
        'status': 'PendingConnect'|'Connected'|'ConnectionValidationFailed'|'TokenAutoRotationFailed',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'persona': 'admin'|'endUser',
        'authUrl': 'string'
    }
}

Response Structure

  • (dict) --

    • appAuthorization (dict) --

      Contains information about an app authorization.

      • appAuthorizationArn (string) --

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

      • appBundleArn (string) --

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

      • app (string) --

        The name of the application.

      • tenant (dict) --

        Contains information about an application tenant, such as the application display name and identifier.

        • tenantIdentifier (string) --

          The ID of the application tenant.

        • tenantDisplayName (string) --

          The display name of the tenant.

      • authType (string) --

        The authorization type.

      • status (string) --

        The state of the app authorization.

        The following states are possible:

        • PendingConnect : The initial state of the app authorization. The app authorization is created but not yet connected.

        • Connected : The app authorization is connected to the application, and is ready to be used.

        • ConnectionValidationFailed : The app authorization received a validation exception when trying to connect to the application. If the app authorization is in this state, you should verify the configured credentials and try to connect the app authorization again.

        • TokenAutoRotationFailed : AppFabric failed to refresh the access token. If the app authorization is in this state, you should try to reconnect the app authorization.

      • createdAt (datetime) --

        The timestamp of when the app authorization was created.

      • updatedAt (datetime) --

        The timestamp of when the app authorization was last updated.

      • persona (string) --

        The user persona of the app authorization.

        This field should always be admin .

      • authUrl (string) --

        The application URL for the OAuth flow.

CreateAppAuthorization (new) Link ¶

Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.

See also: AWS API Documentation

Request Syntax

client.create_app_authorization(
    appBundleIdentifier='string',
    app='string',
    credential={
        'oauth2Credential': {
            'clientId': 'string',
            'clientSecret': 'string'
        },
        'apiKeyCredential': {
            'apiKey': 'string'
        }
    },
    tenant={
        'tenantIdentifier': 'string',
        'tenantDisplayName': 'string'
    },
    authType='oauth2'|'apiKey',
    clientToken='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type app

string

param app

[REQUIRED]

The name of the application.

Valid values are:

  • SLACK

  • ASANA

  • JIRA

  • M365

  • M365AUDITLOGS

  • ZOOM

  • ZENDESK

  • OKTA

  • GOOGLE

  • DROPBOX

  • SMARTSHEET

  • CISCO

type credential

dict

param credential

[REQUIRED]

Contains credentials for the application, such as an API key or OAuth2 client ID and secret.

Specify credentials that match the authorization type for your request. For example, if the authorization type for your request is OAuth2 (oauth2 ), then you should provide only the OAuth2 credentials.

  • oauth2Credential (dict) --

    Contains OAuth2 client credential information.

    • clientId (string) -- [REQUIRED]

      The client ID of the client application.

    • clientSecret (string) -- [REQUIRED]

      The client secret of the client application.

  • apiKeyCredential (dict) --

    Contains API key credential information.

    • apiKey (string) -- [REQUIRED]

      An API key for an application.

type tenant

dict

param tenant

[REQUIRED]

Contains information about an application tenant, such as the application display name and identifier.

  • tenantIdentifier (string) -- [REQUIRED]

    The ID of the application tenant.

  • tenantDisplayName (string) -- [REQUIRED]

    The display name of the tenant.

type authType

string

param authType

[REQUIRED]

The authorization type for the app authorization.

type clientToken

string

param clientToken

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.

type tags

list

param tags

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.

rtype

dict

returns

Response Syntax

{
    'appAuthorization': {
        'appAuthorizationArn': 'string',
        'appBundleArn': 'string',
        'app': 'string',
        'tenant': {
            'tenantIdentifier': 'string',
            'tenantDisplayName': 'string'
        },
        'authType': 'oauth2'|'apiKey',
        'status': 'PendingConnect'|'Connected'|'ConnectionValidationFailed'|'TokenAutoRotationFailed',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'persona': 'admin'|'endUser',
        'authUrl': 'string'
    }
}

Response Structure

  • (dict) --

    • appAuthorization (dict) --

      Contains information about an app authorization.

      • appAuthorizationArn (string) --

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

      • appBundleArn (string) --

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

      • app (string) --

        The name of the application.

      • tenant (dict) --

        Contains information about an application tenant, such as the application display name and identifier.

        • tenantIdentifier (string) --

          The ID of the application tenant.

        • tenantDisplayName (string) --

          The display name of the tenant.

      • authType (string) --

        The authorization type.

      • status (string) --

        The state of the app authorization.

        The following states are possible:

        • PendingConnect : The initial state of the app authorization. The app authorization is created but not yet connected.

        • Connected : The app authorization is connected to the application, and is ready to be used.

        • ConnectionValidationFailed : The app authorization received a validation exception when trying to connect to the application. If the app authorization is in this state, you should verify the configured credentials and try to connect the app authorization again.

        • TokenAutoRotationFailed : AppFabric failed to refresh the access token. If the app authorization is in this state, you should try to reconnect the app authorization.

      • createdAt (datetime) --

        The timestamp of when the app authorization was created.

      • updatedAt (datetime) --

        The timestamp of when the app authorization was last updated.

      • persona (string) --

        The user persona of the app authorization.

        This field should always be admin .

      • authUrl (string) --

        The application URL for the OAuth flow.

ConnectAppAuthorization (new) Link ¶

Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.

See also: AWS API Documentation

Request Syntax

client.connect_app_authorization(
    appBundleIdentifier='string',
    appAuthorizationIdentifier='string',
    authRequest={
        'redirectUri': 'string',
        'code': 'string'
    }
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle that contains the app authorization to use for the request.

type appAuthorizationIdentifier

string

param appAuthorizationIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.

type authRequest

dict

param authRequest

Contains OAuth2 authorization information.

This is required if the app authorization for the request is configured with an OAuth2 (oauth2 ) authorization type.

  • redirectUri (string) -- [REQUIRED]

    The redirect URL that is specified in the AuthURL and the application client.

  • code (string) -- [REQUIRED]

    The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).

rtype

dict

returns

Response Syntax

{
    'appAuthorizationSummary': {
        'appAuthorizationArn': 'string',
        'appBundleArn': 'string',
        'app': 'string',
        'tenant': {
            'tenantIdentifier': 'string',
            'tenantDisplayName': 'string'
        },
        'status': 'PendingConnect'|'Connected'|'ConnectionValidationFailed'|'TokenAutoRotationFailed',
        'updatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) --

    • appAuthorizationSummary (dict) --

      Contains a summary of the app authorization.

      • appAuthorizationArn (string) --

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

      • appBundleArn (string) --

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

      • app (string) --

        The name of the application.

      • tenant (dict) --

        Contains information about an application tenant, such as the application display name and identifier.

        • tenantIdentifier (string) --

          The ID of the application tenant.

        • tenantDisplayName (string) --

          The display name of the tenant.

      • status (string) --

        The state of the app authorization.

        The following states are possible:

        • PendingConnect : The initial state of the app authorization. The app authorization is created but not yet connected.

        • Connected : The app authorization is connected to the application, and is ready to be used.

        • ConnectionValidationFailed : The app authorization received a validation exception when trying to connect to the application. If the app authorization is in this state, you should verify the configured credentials and try to connect the app authorization again.

        • TokenAutoRotationFailed : AppFabric failed to refresh the access token. If the app authorization is in this state, you should try to reconnect the app authorization.

      • updatedAt (datetime) --

        Timestamp for when the app authorization was last updated.

CreateIngestion (new) Link ¶

Creates a data ingestion for an application.

See also: AWS API Documentation

Request Syntax

client.create_ingestion(
    appBundleIdentifier='string',
    app='string',
    tenantId='string',
    ingestionType='auditLog',
    clientToken='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type app

string

param app

[REQUIRED]

The name of the application.

Valid values are:

  • SLACK

  • ASANA

  • JIRA

  • M365

  • M365AUDITLOGS

  • ZOOM

  • ZENDESK

  • OKTA

  • GOOGLE

  • DROPBOX

  • SMARTSHEET

  • CISCO

type tenantId

string

param tenantId

[REQUIRED]

The ID of the application tenant.

type ingestionType

string

param ingestionType

[REQUIRED]

The ingestion type.

type clientToken

string

param clientToken

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.

type tags

list

param tags

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.

rtype

dict

returns

Response Syntax

{
    'ingestion': {
        'arn': 'string',
        'appBundleArn': 'string',
        'app': 'string',
        'tenantId': 'string',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'state': 'enabled'|'disabled',
        'ingestionType': 'auditLog'
    }
}

Response Structure

  • (dict) --

    • ingestion (dict) --

      Contains information about an ingestion.

      • arn (string) --

        The Amazon Resource Name (ARN) of the ingestion.

      • appBundleArn (string) --

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

      • app (string) --

        The name of the application.

      • tenantId (string) --

        The ID of the application tenant.

      • createdAt (datetime) --

        The timestamp of when the ingestion was created.

      • updatedAt (datetime) --

        The timestamp of when the ingestion was last updated.

      • state (string) --

        The status of the ingestion.

      • ingestionType (string) --

        The type of the ingestion.

ListAppAuthorizations (new) Link ¶

Returns a list of all app authorizations configured for an app bundle.

See also: AWS API Documentation

Request Syntax

client.list_app_authorizations(
    appBundleIdentifier='string',
    maxResults=123,
    nextToken='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type maxResults

integer

param maxResults

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

type nextToken

string

param nextToken

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error .

rtype

dict

returns

Response Syntax

{
    'appAuthorizationSummaryList': [
        {
            'appAuthorizationArn': 'string',
            'appBundleArn': 'string',
            'app': 'string',
            'tenant': {
                'tenantIdentifier': 'string',
                'tenantDisplayName': 'string'
            },
            'status': 'PendingConnect'|'Connected'|'ConnectionValidationFailed'|'TokenAutoRotationFailed',
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • appAuthorizationSummaryList (list) --

      Contains a list of app authorization summaries.

      • (dict) --

        Contains a summary of an app authorization.

        • appAuthorizationArn (string) --

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

        • appBundleArn (string) --

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

        • app (string) --

          The name of the application.

        • tenant (dict) --

          Contains information about an application tenant, such as the application display name and identifier.

          • tenantIdentifier (string) --

            The ID of the application tenant.

          • tenantDisplayName (string) --

            The display name of the tenant.

        • status (string) --

          The state of the app authorization.

          The following states are possible:

          • PendingConnect : The initial state of the app authorization. The app authorization is created but not yet connected.

          • Connected : The app authorization is connected to the application, and is ready to be used.

          • ConnectionValidationFailed : The app authorization received a validation exception when trying to connect to the application. If the app authorization is in this state, you should verify the configured credentials and try to connect the app authorization again.

          • TokenAutoRotationFailed : AppFabric failed to refresh the access token. If the app authorization is in this state, you should try to reconnect the app authorization.

        • updatedAt (datetime) --

          Timestamp for when the app authorization was last updated.

    • nextToken (string) --

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error .

DeleteIngestionDestination (new) Link ¶

Deletes an ingestion destination.

This deletes the association between an ingestion and it's destination. It doesn't delete previously ingested data or the storage destination, such as the Amazon S3 bucket where the data is delivered. If the ingestion destination is deleted while the associated ingestion is enabled, the ingestion will fail and is eventually disabled.

See also: AWS API Documentation

Request Syntax

client.delete_ingestion_destination(
    appBundleIdentifier='string',
    ingestionIdentifier='string',
    ingestionDestinationIdentifier='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type ingestionIdentifier

string

param ingestionIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.

type ingestionDestinationIdentifier

string

param ingestionDestinationIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

ListTagsForResource (new) Link ¶

Returns a list of tags for a resource.

See also: AWS API Documentation

Request Syntax

client.list_tags_for_resource(
    resourceArn='string'
)
type resourceArn

string

param resourceArn

[REQUIRED]

The Amazon Resource Name (ARN) of the resource for which you want to retrieve tags.

rtype

dict

returns

Response Syntax

{
    'tags': [
        {
            'key': 'string',
            'value': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • tags (list) --

      A map of the key-value pairs for the tag or tags assigned to the specified resource.

      • (dict) --

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

        • key (string) --

          Tag key.

        • value (string) --

          Tag value.

GetAppAuthorization (new) Link ¶

Returns information about an app authorization.

See also: AWS API Documentation

Request Syntax

client.get_app_authorization(
    appBundleIdentifier='string',
    appAuthorizationIdentifier='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type appAuthorizationIdentifier

string

param appAuthorizationIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.

rtype

dict

returns

Response Syntax

{
    'appAuthorization': {
        'appAuthorizationArn': 'string',
        'appBundleArn': 'string',
        'app': 'string',
        'tenant': {
            'tenantIdentifier': 'string',
            'tenantDisplayName': 'string'
        },
        'authType': 'oauth2'|'apiKey',
        'status': 'PendingConnect'|'Connected'|'ConnectionValidationFailed'|'TokenAutoRotationFailed',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'persona': 'admin'|'endUser',
        'authUrl': 'string'
    }
}

Response Structure

  • (dict) --

    • appAuthorization (dict) --

      Contains information about an app authorization.

      • appAuthorizationArn (string) --

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

      • appBundleArn (string) --

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

      • app (string) --

        The name of the application.

      • tenant (dict) --

        Contains information about an application tenant, such as the application display name and identifier.

        • tenantIdentifier (string) --

          The ID of the application tenant.

        • tenantDisplayName (string) --

          The display name of the tenant.

      • authType (string) --

        The authorization type.

      • status (string) --

        The state of the app authorization.

        The following states are possible:

        • PendingConnect : The initial state of the app authorization. The app authorization is created but not yet connected.

        • Connected : The app authorization is connected to the application, and is ready to be used.

        • ConnectionValidationFailed : The app authorization received a validation exception when trying to connect to the application. If the app authorization is in this state, you should verify the configured credentials and try to connect the app authorization again.

        • TokenAutoRotationFailed : AppFabric failed to refresh the access token. If the app authorization is in this state, you should try to reconnect the app authorization.

      • createdAt (datetime) --

        The timestamp of when the app authorization was created.

      • updatedAt (datetime) --

        The timestamp of when the app authorization was last updated.

      • persona (string) --

        The user persona of the app authorization.

        This field should always be admin .

      • authUrl (string) --

        The application URL for the OAuth flow.

StopIngestion (new) Link ¶

Stops (disables) an ingestion.

See also: AWS API Documentation

Request Syntax

client.stop_ingestion(
    ingestionIdentifier='string',
    appBundleIdentifier='string'
)
type ingestionIdentifier

string

param ingestionIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.

type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

GetAppBundle (new) Link ¶

Returns information about an app bundle.

See also: AWS API Documentation

Request Syntax

client.get_app_bundle(
    appBundleIdentifier='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

rtype

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.

CreateIngestionDestination (new) Link ¶

Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.

See also: AWS API Documentation

Request Syntax

client.create_ingestion_destination(
    appBundleIdentifier='string',
    ingestionIdentifier='string',
    processingConfiguration={
        'auditLog': {
            'schema': 'ocsf'|'raw',
            'format': 'json'|'parquet'
        }
    },
    destinationConfiguration={
        'auditLog': {
            'destination': {
                's3Bucket': {
                    'bucketName': 'string',
                    'prefix': 'string'
                },
                'firehoseStream': {
                    'streamName': 'string'
                }
            }
        }
    },
    clientToken='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type ingestionIdentifier

string

param ingestionIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.

type processingConfiguration

dict

param processingConfiguration

[REQUIRED]

Contains information about how ingested data is processed.

  • auditLog (dict) --

    Contains information about an audit log processing configuration.

    • schema (string) -- [REQUIRED]

      The event schema in which the audit logs need to be formatted.

    • format (string) -- [REQUIRED]

      The format in which the audit logs need to be formatted.

type destinationConfiguration

dict

param destinationConfiguration

[REQUIRED]

Contains information about the destination of ingested data.

  • auditLog (dict) --

    Contains information about an audit log destination configuration.

    • destination (dict) -- [REQUIRED]

      Contains information about an audit log destination.

      • s3Bucket (dict) --

        Contains information about an Amazon S3 bucket.

        • bucketName (string) -- [REQUIRED]

          The name of the Amazon S3 bucket.

        • prefix (string) --

          The object key to use.

      • firehoseStream (dict) --

        Contains information about an Amazon Kinesis Data Firehose delivery stream.

        • streamName (string) -- [REQUIRED]

          The name of the Amazon Kinesis Data Firehose delivery stream.

type clientToken

string

param clientToken

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.

type tags

list

param tags

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.

rtype

dict

returns

Response Syntax

{
    'ingestionDestination': {
        'arn': 'string',
        'ingestionArn': 'string',
        'processingConfiguration': {
            'auditLog': {
                'schema': 'ocsf'|'raw',
                'format': 'json'|'parquet'
            }
        },
        'destinationConfiguration': {
            'auditLog': {
                'destination': {
                    's3Bucket': {
                        'bucketName': 'string',
                        'prefix': 'string'
                    },
                    'firehoseStream': {
                        'streamName': 'string'
                    }
                }
            }
        },
        'status': 'Active'|'Failed',
        'statusReason': 'string',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) --

    • ingestionDestination (dict) --

      Contains information about an ingestion destination.

      • arn (string) --

        The Amazon Resource Name (ARN) of the ingestion destination.

      • ingestionArn (string) --

        The Amazon Resource Name (ARN) of the ingestion.

      • processingConfiguration (dict) --

        Contains information about how ingested data is processed.

        • auditLog (dict) --

          Contains information about an audit log processing configuration.

          • schema (string) --

            The event schema in which the audit logs need to be formatted.

          • format (string) --

            The format in which the audit logs need to be formatted.

      • destinationConfiguration (dict) --

        Contains information about the destination of ingested data.

        • auditLog (dict) --

          Contains information about an audit log destination configuration.

          • destination (dict) --

            Contains information about an audit log destination.

            • s3Bucket (dict) --

              Contains information about an Amazon S3 bucket.

              • bucketName (string) --

                The name of the Amazon S3 bucket.

              • prefix (string) --

                The object key to use.

            • firehoseStream (dict) --

              Contains information about an Amazon Kinesis Data Firehose delivery stream.

              • streamName (string) --

                The name of the Amazon Kinesis Data Firehose delivery stream.

      • status (string) --

        The state of the ingestion destination.

        The following states are possible:

        • Active : The ingestion destination is active and is ready to be used.

        • Failed : The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.

      • statusReason (string) --

        The reason for the current status of the ingestion destination.

        Only present when the status of ingestion destination is Failed .

      • createdAt (datetime) --

        The timestamp of when the ingestion destination was created.

      • updatedAt (datetime) --

        The timestamp of when the ingestion destination was last updated.

StartIngestion (new) Link ¶

Starts (enables) an ingestion, which collects data from an application.

See also: AWS API Documentation

Request Syntax

client.start_ingestion(
    ingestionIdentifier='string',
    appBundleIdentifier='string'
)
type ingestionIdentifier

string

param ingestionIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.

type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

ListIngestions (new) Link ¶

Returns a list of all ingestions configured for an app bundle.

See also: AWS API Documentation

Request Syntax

client.list_ingestions(
    appBundleIdentifier='string',
    maxResults=123,
    nextToken='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type maxResults

integer

param maxResults

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

type nextToken

string

param nextToken

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error .

rtype

dict

returns

Response Syntax

{
    'ingestions': [
        {
            'arn': 'string',
            'app': 'string',
            'tenantId': 'string',
            'state': 'enabled'|'disabled'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • ingestions (list) --

      Contains a list of ingestion summaries.

      • (dict) --

        Contains a summary of an ingestion.

        • arn (string) --

          The Amazon Resource Name (ARN) of the ingestion.

        • app (string) --

          The name of the application.

        • tenantId (string) --

          The ID of the application tenant.

        • state (string) --

          The status of the ingestion.

    • nextToken (string) --

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error .

CreateAppBundle (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_app_bundle(
    clientToken='string',
    customerManagedKeyIdentifier='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
type clientToken

string

param clientToken

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.

type customerManagedKeyIdentifier

string

param customerManagedKeyIdentifier

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.

type tags

list

param tags

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.

rtype

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.

DeleteAppAuthorization (new) Link ¶

Deletes an app authorization. You must delete the associated ingestion before you can delete an app authorization.

See also: AWS API Documentation

Request Syntax

client.delete_app_authorization(
    appBundleIdentifier='string',
    appAuthorizationIdentifier='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type appAuthorizationIdentifier

string

param appAuthorizationIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

GetIngestionDestination (new) Link ¶

Returns information about an ingestion destination.

See also: AWS API Documentation

Request Syntax

client.get_ingestion_destination(
    appBundleIdentifier='string',
    ingestionIdentifier='string',
    ingestionDestinationIdentifier='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type ingestionIdentifier

string

param ingestionIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.

type ingestionDestinationIdentifier

string

param ingestionDestinationIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request.

rtype

dict

returns

Response Syntax

{
    'ingestionDestination': {
        'arn': 'string',
        'ingestionArn': 'string',
        'processingConfiguration': {
            'auditLog': {
                'schema': 'ocsf'|'raw',
                'format': 'json'|'parquet'
            }
        },
        'destinationConfiguration': {
            'auditLog': {
                'destination': {
                    's3Bucket': {
                        'bucketName': 'string',
                        'prefix': 'string'
                    },
                    'firehoseStream': {
                        'streamName': 'string'
                    }
                }
            }
        },
        'status': 'Active'|'Failed',
        'statusReason': 'string',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) --

    • ingestionDestination (dict) --

      Contains information about an ingestion destination.

      • arn (string) --

        The Amazon Resource Name (ARN) of the ingestion destination.

      • ingestionArn (string) --

        The Amazon Resource Name (ARN) of the ingestion.

      • processingConfiguration (dict) --

        Contains information about how ingested data is processed.

        • auditLog (dict) --

          Contains information about an audit log processing configuration.

          • schema (string) --

            The event schema in which the audit logs need to be formatted.

          • format (string) --

            The format in which the audit logs need to be formatted.

      • destinationConfiguration (dict) --

        Contains information about the destination of ingested data.

        • auditLog (dict) --

          Contains information about an audit log destination configuration.

          • destination (dict) --

            Contains information about an audit log destination.

            • s3Bucket (dict) --

              Contains information about an Amazon S3 bucket.

              • bucketName (string) --

                The name of the Amazon S3 bucket.

              • prefix (string) --

                The object key to use.

            • firehoseStream (dict) --

              Contains information about an Amazon Kinesis Data Firehose delivery stream.

              • streamName (string) --

                The name of the Amazon Kinesis Data Firehose delivery stream.

      • status (string) --

        The state of the ingestion destination.

        The following states are possible:

        • Active : The ingestion destination is active and is ready to be used.

        • Failed : The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.

      • statusReason (string) --

        The reason for the current status of the ingestion destination.

        Only present when the status of ingestion destination is Failed .

      • createdAt (datetime) --

        The timestamp of when the ingestion destination was created.

      • updatedAt (datetime) --

        The timestamp of when the ingestion destination was last updated.

BatchGetUserAccessTasks (new) Link ¶

Gets user access details in a batch request.

This action polls data from the tasks that are kicked off by the StartUserAccessTasks action.

See also: AWS API Documentation

Request Syntax

client.batch_get_user_access_tasks(
    appBundleIdentifier='string',
    taskIdList=[
        'string',
    ]
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type taskIdList

list

param taskIdList

[REQUIRED]

The tasks IDs to use for the request.

  • (string) --

rtype

dict

returns

Response Syntax

{
    'userAccessResultsList': [
        {
            'app': 'string',
            'tenantId': 'string',
            'tenantDisplayName': 'string',
            'taskId': 'string',
            'resultStatus': 'IN_PROGRESS'|'COMPLETED'|'FAILED'|'EXPIRED',
            'email': 'string',
            'userId': 'string',
            'userFullName': 'string',
            'userFirstName': 'string',
            'userLastName': 'string',
            'userStatus': 'string',
            'taskError': {
                'errorCode': 'string',
                'errorMessage': 'string'
            }
        },
    ]
}

Response Structure

  • (dict) --

    • userAccessResultsList (list) --

      Contains a list of user access results.

      • (dict) --

        Contains information about a user's access to an application.

        • app (string) --

          The name of the application.

        • tenantId (string) --

          The ID of the application tenant.

        • tenantDisplayName (string) --

          The display name of the tenant.

        • taskId (string) --

          The unique ID of the task.

        • resultStatus (string) --

          The status of the user access result item.

          The following states are possible:

          • IN_PROGRESS : The user access task is in progress.

          • COMPLETED : The user access task completed successfully.

          • FAILED : The user access task failed.

          • EXPIRED : The user access task expired.

        • email (string) --

          The email address of the target user.

        • userId (string) --

          The unique ID of user.

        • userFullName (string) --

          The full name of the user.

        • userFirstName (string) --

          The first name of the user.

        • userLastName (string) --

          The last name of the user.

        • userStatus (string) --

          The status of the user returned by the application.

        • taskError (dict) --

          Contains information about an error returned from a user access task.

          • errorCode (string) --

            The code of the error.

          • errorMessage (string) --

            The message of the error.

UpdateIngestionDestination (new) Link ¶

Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.

See also: AWS API Documentation

Request Syntax

client.update_ingestion_destination(
    appBundleIdentifier='string',
    ingestionIdentifier='string',
    ingestionDestinationIdentifier='string',
    destinationConfiguration={
        'auditLog': {
            'destination': {
                's3Bucket': {
                    'bucketName': 'string',
                    'prefix': 'string'
                },
                'firehoseStream': {
                    'streamName': 'string'
                }
            }
        }
    }
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type ingestionIdentifier

string

param ingestionIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.

type ingestionDestinationIdentifier

string

param ingestionDestinationIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request.

type destinationConfiguration

dict

param destinationConfiguration

[REQUIRED]

Contains information about the destination of ingested data.

  • auditLog (dict) --

    Contains information about an audit log destination configuration.

    • destination (dict) -- [REQUIRED]

      Contains information about an audit log destination.

      • s3Bucket (dict) --

        Contains information about an Amazon S3 bucket.

        • bucketName (string) -- [REQUIRED]

          The name of the Amazon S3 bucket.

        • prefix (string) --

          The object key to use.

      • firehoseStream (dict) --

        Contains information about an Amazon Kinesis Data Firehose delivery stream.

        • streamName (string) -- [REQUIRED]

          The name of the Amazon Kinesis Data Firehose delivery stream.

rtype

dict

returns

Response Syntax

{
    'ingestionDestination': {
        'arn': 'string',
        'ingestionArn': 'string',
        'processingConfiguration': {
            'auditLog': {
                'schema': 'ocsf'|'raw',
                'format': 'json'|'parquet'
            }
        },
        'destinationConfiguration': {
            'auditLog': {
                'destination': {
                    's3Bucket': {
                        'bucketName': 'string',
                        'prefix': 'string'
                    },
                    'firehoseStream': {
                        'streamName': 'string'
                    }
                }
            }
        },
        'status': 'Active'|'Failed',
        'statusReason': 'string',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) --

    • ingestionDestination (dict) --

      Contains information about an ingestion destination.

      • arn (string) --

        The Amazon Resource Name (ARN) of the ingestion destination.

      • ingestionArn (string) --

        The Amazon Resource Name (ARN) of the ingestion.

      • processingConfiguration (dict) --

        Contains information about how ingested data is processed.

        • auditLog (dict) --

          Contains information about an audit log processing configuration.

          • schema (string) --

            The event schema in which the audit logs need to be formatted.

          • format (string) --

            The format in which the audit logs need to be formatted.

      • destinationConfiguration (dict) --

        Contains information about the destination of ingested data.

        • auditLog (dict) --

          Contains information about an audit log destination configuration.

          • destination (dict) --

            Contains information about an audit log destination.

            • s3Bucket (dict) --

              Contains information about an Amazon S3 bucket.

              • bucketName (string) --

                The name of the Amazon S3 bucket.

              • prefix (string) --

                The object key to use.

            • firehoseStream (dict) --

              Contains information about an Amazon Kinesis Data Firehose delivery stream.

              • streamName (string) --

                The name of the Amazon Kinesis Data Firehose delivery stream.

      • status (string) --

        The state of the ingestion destination.

        The following states are possible:

        • Active : The ingestion destination is active and is ready to be used.

        • Failed : The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.

      • statusReason (string) --

        The reason for the current status of the ingestion destination.

        Only present when the status of ingestion destination is Failed .

      • createdAt (datetime) --

        The timestamp of when the ingestion destination was created.

      • updatedAt (datetime) --

        The timestamp of when the ingestion destination was last updated.

DeleteAppBundle (new) Link ¶

Deletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle.

See also: AWS API Documentation

Request Syntax

client.delete_app_bundle(
    appBundleIdentifier='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The ID or Amazon Resource Name (ARN) of the app bundle that needs to be deleted.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

UntagResource (new) Link ¶

Removes a tag or tags from a resource.

See also: AWS API Documentation

Request Syntax

client.untag_resource(
    resourceArn='string',
    tagKeys=[
        'string',
    ]
)
type resourceArn

string

param resourceArn

[REQUIRED]

The Amazon Resource Name (ARN) of the resource that you want to untag.

type tagKeys

list

param tagKeys

[REQUIRED]

The keys of the key-value pairs for the tag or tags you want to remove from the specified resource.

  • (string) --

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

ListAppBundles (new) Link ¶

Returns a list of app bundles.

See also: AWS API Documentation

Request Syntax

client.list_app_bundles(
    maxResults=123,
    nextToken='string'
)
type maxResults

integer

param maxResults

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

type nextToken

string

param nextToken

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error .

rtype

dict

returns

Response Syntax

{
    'appBundleSummaryList': [
        {
            'arn': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • appBundleSummaryList (list) --

      Contains a list of app bundle summaries.

      • (dict) --

        Contains a summary of an app bundle.

        • arn (string) --

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

    • nextToken (string) --

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error .

StartUserAccessTasks (new) Link ¶

Starts the tasks to search user access status for a specific email address.

The tasks are stopped when the user access status data is found. The tasks are terminated when the API calls to the application time out.

See also: AWS API Documentation

Request Syntax

client.start_user_access_tasks(
    appBundleIdentifier='string',
    email='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type email

string

param email

[REQUIRED]

The email address of the target user.

rtype

dict

returns

Response Syntax

{
    'userAccessTasksList': [
        {
            'app': 'string',
            'tenantId': 'string',
            'taskId': 'string',
            'error': {
                'errorCode': 'string',
                'errorMessage': 'string'
            }
        },
    ]
}

Response Structure

  • (dict) --

    • userAccessTasksList (list) --

      Contains a list of user access task information.

      • (dict) --

        Contains information about a user access task.

        • app (string) --

          The name of the application.

        • tenantId (string) --

          The ID of the application tenant.

        • taskId (string) --

          The unique ID of the task.

        • error (dict) --

          Error from the task, if any.

          • errorCode (string) --

            The code of the error.

          • errorMessage (string) --

            The message of the error.

GetIngestion (new) Link ¶

Returns information about an ingestion.

See also: AWS API Documentation

Request Syntax

client.get_ingestion(
    appBundleIdentifier='string',
    ingestionIdentifier='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type ingestionIdentifier

string

param ingestionIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.

rtype

dict

returns

Response Syntax

{
    'ingestion': {
        'arn': 'string',
        'appBundleArn': 'string',
        'app': 'string',
        'tenantId': 'string',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'state': 'enabled'|'disabled',
        'ingestionType': 'auditLog'
    }
}

Response Structure

  • (dict) --

    • ingestion (dict) --

      Contains information about an ingestion.

      • arn (string) --

        The Amazon Resource Name (ARN) of the ingestion.

      • appBundleArn (string) --

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

      • app (string) --

        The name of the application.

      • tenantId (string) --

        The ID of the application tenant.

      • createdAt (datetime) --

        The timestamp of when the ingestion was created.

      • updatedAt (datetime) --

        The timestamp of when the ingestion was last updated.

      • state (string) --

        The status of the ingestion.

      • ingestionType (string) --

        The type of the ingestion.

DeleteIngestion (new) Link ¶

Deletes an ingestion. You must stop (disable) the ingestion and you must delete all associated ingestion destinations before you can delete an app ingestion.

See also: AWS API Documentation

Request Syntax

client.delete_ingestion(
    appBundleIdentifier='string',
    ingestionIdentifier='string'
)
type appBundleIdentifier

string

param appBundleIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

type ingestionIdentifier

string

param ingestionIdentifier

[REQUIRED]

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

TagResource (new) Link ¶

Assigns one or more tags (key-value pairs) to the specified resource.

See also: AWS API Documentation

Request Syntax

client.tag_resource(
    resourceArn='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
type resourceArn

string

param resourceArn

[REQUIRED]

The Amazon Resource Name (ARN) of the resource that you want to tag.

type tags

list

param tags

[REQUIRED]

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.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --