SDK for PHP 3.x

Client: Aws\AppFabric\AppFabricClient
Service ID: appfabric
Version: 2023-05-19

This page describes the parameters and results for the operations of the AppFabric (2023-05-19), and shows how to use the Aws\AppFabric\AppFabricClient object to call the described operations. This documentation is specific to the 2023-05-19 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

BatchGetUserAccessTasks ( array $params = [] )
Gets user access details in a batch request.
ConnectAppAuthorization ( array $params = [] )
Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.
CreateAppAuthorization ( array $params = [] )
Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.
CreateAppBundle ( array $params = [] )
Creates an app bundle to collect data from an application using AppFabric.
CreateIngestion ( array $params = [] )
Creates a data ingestion for an application.
CreateIngestionDestination ( array $params = [] )
Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.
DeleteAppAuthorization ( array $params = [] )
Deletes an app authorization.
DeleteAppBundle ( array $params = [] )
Deletes an app bundle.
DeleteIngestion ( array $params = [] )
Deletes an ingestion.
DeleteIngestionDestination ( array $params = [] )
Deletes an ingestion destination.
GetAppAuthorization ( array $params = [] )
Returns information about an app authorization.
GetAppBundle ( array $params = [] )
Returns information about an app bundle.
GetIngestion ( array $params = [] )
Returns information about an ingestion.
GetIngestionDestination ( array $params = [] )
Returns information about an ingestion destination.
ListAppAuthorizations ( array $params = [] )
Returns a list of all app authorizations configured for an app bundle.
ListAppBundles ( array $params = [] )
Returns a list of app bundles.
ListIngestionDestinations ( array $params = [] )
Returns a list of all ingestion destinations configured for an ingestion.
ListIngestions ( array $params = [] )
Returns a list of all ingestions configured for an app bundle.
ListTagsForResource ( array $params = [] )
Returns a list of tags for a resource.
StartIngestion ( array $params = [] )
Starts (enables) an ingestion, which collects data from an application.
StartUserAccessTasks ( array $params = [] )
Starts the tasks to search user access status for a specific email address.
StopIngestion ( array $params = [] )
Stops (disables) an ingestion.
TagResource ( array $params = [] )
Assigns one or more tags (key-value pairs) to the specified resource.
UntagResource ( array $params = [] )
Removes a tag or tags from a resource.
UpdateAppAuthorization ( array $params = [] )
Updates an app authorization within an app bundle, which allows AppFabric to connect to an application.
UpdateIngestionDestination ( array $params = [] )
Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

ListAppAuthorizations
ListAppBundles
ListIngestionDestinations
ListIngestions

Operations

BatchGetUserAccessTasks

$result = $client->batchGetUserAccessTasks([/* ... */]);
$promise = $client->batchGetUserAccessTasksAsync([/* ... */]);

Gets user access details in a batch request.

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

Parameter Syntax

$result = $client->batchGetUserAccessTasks([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'taskIdList' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

taskIdList
Required: Yes
Type: Array of strings

The tasks IDs to use for the request.

Result Syntax

[
    'userAccessResultsList' => [
        [
            'app' => '<string>',
            'email' => '<string>',
            'resultStatus' => 'IN_PROGRESS|COMPLETED|FAILED|EXPIRED',
            'taskError' => [
                'errorCode' => '<string>',
                'errorMessage' => '<string>',
            ],
            'taskId' => '<string>',
            'tenantDisplayName' => '<string>',
            'tenantId' => '<string>',
            'userFirstName' => '<string>',
            'userFullName' => '<string>',
            'userId' => '<string>',
            'userLastName' => '<string>',
            'userStatus' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
userAccessResultsList
Type: Array of UserAccessResultItem structures

Contains a list of user access results.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

ConnectAppAuthorization

$result = $client->connectAppAuthorization([/* ... */]);
$promise = $client->connectAppAuthorizationAsync([/* ... */]);

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

Parameter Syntax

$result = $client->connectAppAuthorization([
    'appAuthorizationIdentifier' => '<string>', // REQUIRED
    'appBundleIdentifier' => '<string>', // REQUIRED
    'authRequest' => [
        'code' => '<string>', // REQUIRED
        'redirectUri' => '<string>', // REQUIRED
    ],
]);

Parameter Details

Members
appAuthorizationIdentifier
Required: Yes
Type: string

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

appBundleIdentifier
Required: Yes
Type: string

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

authRequest
Type: AuthRequest structure

Contains OAuth2 authorization information.

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

Result Syntax

[
    'appAuthorizationSummary' => [
        'app' => '<string>',
        'appAuthorizationArn' => '<string>',
        'appBundleArn' => '<string>',
        'status' => 'PendingConnect|Connected|ConnectionValidationFailed|TokenAutoRotationFailed',
        'tenant' => [
            'tenantDisplayName' => '<string>',
            'tenantIdentifier' => '<string>',
        ],
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
appAuthorizationSummary
Required: Yes
Type: AppAuthorizationSummary structure

Contains a summary of the app authorization.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

CreateAppAuthorization

$result = $client->createAppAuthorization([/* ... */]);
$promise = $client->createAppAuthorizationAsync([/* ... */]);

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

Parameter Syntax

$result = $client->createAppAuthorization([
    'app' => '<string>', // REQUIRED
    'appBundleIdentifier' => '<string>', // REQUIRED
    'authType' => 'oauth2|apiKey', // REQUIRED
    'clientToken' => '<string>',
    'credential' => [ // REQUIRED
        'apiKeyCredential' => [
            'apiKey' => '<string>', // REQUIRED
        ],
        'oauth2Credential' => [
            'clientId' => '<string>', // REQUIRED
            'clientSecret' => '<string>', // REQUIRED
        ],
    ],
    'tags' => [
        [
            'key' => '<string>', // REQUIRED
            'value' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'tenant' => [ // REQUIRED
        'tenantDisplayName' => '<string>', // REQUIRED
        'tenantIdentifier' => '<string>', // REQUIRED
    ],
]);

Parameter Details

Members
app
Required: Yes
Type: string

The name of the application.

Valid values are:

  • SLACK

  • ASANA

  • JIRA

  • M365

  • M365AUDITLOGS

  • ZOOM

  • ZENDESK

  • OKTA

  • GOOGLE

  • DROPBOX

  • SMARTSHEET

  • CISCO

appBundleIdentifier
Required: Yes
Type: string

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

authType
Required: Yes
Type: string

The authorization type for the app authorization.

clientToken
Type: 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.

credential
Required: Yes
Type: Credential structure

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.

tags
Type: Array of Tag structures

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

tenant
Required: Yes
Type: Tenant structure

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

Result Syntax

[
    'appAuthorization' => [
        'app' => '<string>',
        'appAuthorizationArn' => '<string>',
        'appBundleArn' => '<string>',
        'authType' => 'oauth2|apiKey',
        'authUrl' => '<string>',
        'createdAt' => <DateTime>,
        'persona' => 'admin|endUser',
        'status' => 'PendingConnect|Connected|ConnectionValidationFailed|TokenAutoRotationFailed',
        'tenant' => [
            'tenantDisplayName' => '<string>',
            'tenantIdentifier' => '<string>',
        ],
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
appAuthorization
Required: Yes
Type: AppAuthorization structure

Contains information about an app authorization.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ServiceQuotaExceededException:

The request exceeds a service quota.

ThrottlingException:

The request rate exceeds the limit.

ConflictException:

The request has created a conflict. Check the request parameters and try again.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

CreateAppBundle

$result = $client->createAppBundle([/* ... */]);
$promise = $client->createAppBundleAsync([/* ... */]);

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

Parameter Syntax

$result = $client->createAppBundle([
    'clientToken' => '<string>',
    'customerManagedKeyIdentifier' => '<string>',
    'tags' => [
        [
            'key' => '<string>', // REQUIRED
            'value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
clientToken
Type: 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.

customerManagedKeyIdentifier
Type: 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
Type: Array of Tag structures

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

Result Syntax

[
    'appBundle' => [
        'arn' => '<string>',
        'customerManagedKeyArn' => '<string>',
    ],
]

Result Details

Members
appBundle
Required: Yes
Type: AppBundle structure

Contains information about an app bundle.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ServiceQuotaExceededException:

The request exceeds a service quota.

ThrottlingException:

The request rate exceeds the limit.

ConflictException:

The request has created a conflict. Check the request parameters and try again.

ValidationException:

The request has invalid or missing parameters.

AccessDeniedException:

You are not authorized to perform this operation.

CreateIngestion

$result = $client->createIngestion([/* ... */]);
$promise = $client->createIngestionAsync([/* ... */]);

Creates a data ingestion for an application.

Parameter Syntax

$result = $client->createIngestion([
    'app' => '<string>', // REQUIRED
    'appBundleIdentifier' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'ingestionType' => 'auditLog', // REQUIRED
    'tags' => [
        [
            'key' => '<string>', // REQUIRED
            'value' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'tenantId' => '<string>', // REQUIRED
]);

Parameter Details

Members
app
Required: Yes
Type: string

The name of the application.

Valid values are:

  • SLACK

  • ASANA

  • JIRA

  • M365

  • M365AUDITLOGS

  • ZOOM

  • ZENDESK

  • OKTA

  • GOOGLE

  • DROPBOX

  • SMARTSHEET

  • CISCO

appBundleIdentifier
Required: Yes
Type: string

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

clientToken
Type: 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.

ingestionType
Required: Yes
Type: string

The ingestion type.

tags
Type: Array of Tag structures

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

tenantId
Required: Yes
Type: string

The ID of the application tenant.

Result Syntax

[
    'ingestion' => [
        'app' => '<string>',
        'appBundleArn' => '<string>',
        'arn' => '<string>',
        'createdAt' => <DateTime>,
        'ingestionType' => 'auditLog',
        'state' => 'enabled|disabled',
        'tenantId' => '<string>',
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
ingestion
Required: Yes
Type: Ingestion structure

Contains information about an ingestion.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ServiceQuotaExceededException:

The request exceeds a service quota.

ThrottlingException:

The request rate exceeds the limit.

ConflictException:

The request has created a conflict. Check the request parameters and try again.

ValidationException:

The request has invalid or missing parameters.

AccessDeniedException:

You are not authorized to perform this operation.

CreateIngestionDestination

$result = $client->createIngestionDestination([/* ... */]);
$promise = $client->createIngestionDestinationAsync([/* ... */]);

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

Parameter Syntax

$result = $client->createIngestionDestination([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'destinationConfiguration' => [ // REQUIRED
        'auditLog' => [
            'destination' => [ // REQUIRED
                'firehoseStream' => [
                    'streamName' => '<string>', // REQUIRED
                ],
                's3Bucket' => [
                    'bucketName' => '<string>', // REQUIRED
                    'prefix' => '<string>',
                ],
            ],
        ],
    ],
    'ingestionIdentifier' => '<string>', // REQUIRED
    'processingConfiguration' => [ // REQUIRED
        'auditLog' => [
            'format' => 'json|parquet', // REQUIRED
            'schema' => 'ocsf|raw', // REQUIRED
        ],
    ],
    'tags' => [
        [
            'key' => '<string>', // REQUIRED
            'value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

clientToken
Type: 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.

destinationConfiguration
Required: Yes
Type: DestinationConfiguration structure

Contains information about the destination of ingested data.

ingestionIdentifier
Required: Yes
Type: string

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

processingConfiguration
Required: Yes
Type: ProcessingConfiguration structure

Contains information about how ingested data is processed.

tags
Type: Array of Tag structures

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

Result Syntax

[
    'ingestionDestination' => [
        'arn' => '<string>',
        'createdAt' => <DateTime>,
        'destinationConfiguration' => [
            'auditLog' => [
                'destination' => [
                    'firehoseStream' => [
                        'streamName' => '<string>',
                    ],
                    's3Bucket' => [
                        'bucketName' => '<string>',
                        'prefix' => '<string>',
                    ],
                ],
            ],
        ],
        'ingestionArn' => '<string>',
        'processingConfiguration' => [
            'auditLog' => [
                'format' => 'json|parquet',
                'schema' => 'ocsf|raw',
            ],
        ],
        'status' => 'Active|Failed',
        'statusReason' => '<string>',
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
ingestionDestination
Required: Yes
Type: IngestionDestination structure

Contains information about an ingestion destination.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ServiceQuotaExceededException:

The request exceeds a service quota.

ThrottlingException:

The request rate exceeds the limit.

ConflictException:

The request has created a conflict. Check the request parameters and try again.

ValidationException:

The request has invalid or missing parameters.

AccessDeniedException:

You are not authorized to perform this operation.

DeleteAppAuthorization

$result = $client->deleteAppAuthorization([/* ... */]);
$promise = $client->deleteAppAuthorizationAsync([/* ... */]);

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

Parameter Syntax

$result = $client->deleteAppAuthorization([
    'appAuthorizationIdentifier' => '<string>', // REQUIRED
    'appBundleIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
appAuthorizationIdentifier
Required: Yes
Type: string

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

appBundleIdentifier
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

DeleteAppBundle

$result = $client->deleteAppBundle([/* ... */]);
$promise = $client->deleteAppBundleAsync([/* ... */]);

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

Parameter Syntax

$result = $client->deleteAppBundle([
    'appBundleIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ConflictException:

The request has created a conflict. Check the request parameters and try again.

ValidationException:

The request has invalid or missing parameters.

AccessDeniedException:

You are not authorized to perform this operation.

DeleteIngestion

$result = $client->deleteIngestion([/* ... */]);
$promise = $client->deleteIngestionAsync([/* ... */]);

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

Parameter Syntax

$result = $client->deleteIngestion([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'ingestionIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

ingestionIdentifier
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

DeleteIngestionDestination

$result = $client->deleteIngestionDestination([/* ... */]);
$promise = $client->deleteIngestionDestinationAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteIngestionDestination([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'ingestionDestinationIdentifier' => '<string>', // REQUIRED
    'ingestionIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

ingestionDestinationIdentifier
Required: Yes
Type: string

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

ingestionIdentifier
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

GetAppAuthorization

$result = $client->getAppAuthorization([/* ... */]);
$promise = $client->getAppAuthorizationAsync([/* ... */]);

Returns information about an app authorization.

Parameter Syntax

$result = $client->getAppAuthorization([
    'appAuthorizationIdentifier' => '<string>', // REQUIRED
    'appBundleIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
appAuthorizationIdentifier
Required: Yes
Type: string

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

appBundleIdentifier
Required: Yes
Type: string

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

Result Syntax

[
    'appAuthorization' => [
        'app' => '<string>',
        'appAuthorizationArn' => '<string>',
        'appBundleArn' => '<string>',
        'authType' => 'oauth2|apiKey',
        'authUrl' => '<string>',
        'createdAt' => <DateTime>,
        'persona' => 'admin|endUser',
        'status' => 'PendingConnect|Connected|ConnectionValidationFailed|TokenAutoRotationFailed',
        'tenant' => [
            'tenantDisplayName' => '<string>',
            'tenantIdentifier' => '<string>',
        ],
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
appAuthorization
Required: Yes
Type: AppAuthorization structure

Contains information about an app authorization.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

GetAppBundle

$result = $client->getAppBundle([/* ... */]);
$promise = $client->getAppBundleAsync([/* ... */]);

Returns information about an app bundle.

Parameter Syntax

$result = $client->getAppBundle([
    'appBundleIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

Result Syntax

[
    'appBundle' => [
        'arn' => '<string>',
        'customerManagedKeyArn' => '<string>',
    ],
]

Result Details

Members
appBundle
Required: Yes
Type: AppBundle structure

Contains information about an app bundle.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

GetIngestion

$result = $client->getIngestion([/* ... */]);
$promise = $client->getIngestionAsync([/* ... */]);

Returns information about an ingestion.

Parameter Syntax

$result = $client->getIngestion([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'ingestionIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

ingestionIdentifier
Required: Yes
Type: string

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

Result Syntax

[
    'ingestion' => [
        'app' => '<string>',
        'appBundleArn' => '<string>',
        'arn' => '<string>',
        'createdAt' => <DateTime>,
        'ingestionType' => 'auditLog',
        'state' => 'enabled|disabled',
        'tenantId' => '<string>',
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
ingestion
Required: Yes
Type: Ingestion structure

Contains information about an ingestion.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

GetIngestionDestination

$result = $client->getIngestionDestination([/* ... */]);
$promise = $client->getIngestionDestinationAsync([/* ... */]);

Returns information about an ingestion destination.

Parameter Syntax

$result = $client->getIngestionDestination([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'ingestionDestinationIdentifier' => '<string>', // REQUIRED
    'ingestionIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

ingestionDestinationIdentifier
Required: Yes
Type: string

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

ingestionIdentifier
Required: Yes
Type: string

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

Result Syntax

[
    'ingestionDestination' => [
        'arn' => '<string>',
        'createdAt' => <DateTime>,
        'destinationConfiguration' => [
            'auditLog' => [
                'destination' => [
                    'firehoseStream' => [
                        'streamName' => '<string>',
                    ],
                    's3Bucket' => [
                        'bucketName' => '<string>',
                        'prefix' => '<string>',
                    ],
                ],
            ],
        ],
        'ingestionArn' => '<string>',
        'processingConfiguration' => [
            'auditLog' => [
                'format' => 'json|parquet',
                'schema' => 'ocsf|raw',
            ],
        ],
        'status' => 'Active|Failed',
        'statusReason' => '<string>',
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
ingestionDestination
Required: Yes
Type: IngestionDestination structure

Contains information about an ingestion destination.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

ListAppAuthorizations

$result = $client->listAppAuthorizations([/* ... */]);
$promise = $client->listAppAuthorizationsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listAppAuthorizations([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

maxResults
Type: int

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.

nextToken
Type: 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.

Result Syntax

[
    'appAuthorizationSummaryList' => [
        [
            'app' => '<string>',
            'appAuthorizationArn' => '<string>',
            'appBundleArn' => '<string>',
            'status' => 'PendingConnect|Connected|ConnectionValidationFailed|TokenAutoRotationFailed',
            'tenant' => [
                'tenantDisplayName' => '<string>',
                'tenantIdentifier' => '<string>',
            ],
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
appAuthorizationSummaryList
Required: Yes
Type: Array of AppAuthorizationSummary structures

Contains a list of app authorization summaries.

nextToken
Type: 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.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

ListAppBundles

$result = $client->listAppBundles([/* ... */]);
$promise = $client->listAppBundlesAsync([/* ... */]);

Returns a list of app bundles.

Parameter Syntax

$result = $client->listAppBundles([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

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.

nextToken
Type: 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.

Result Syntax

[
    'appBundleSummaryList' => [
        [
            'arn' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
appBundleSummaryList
Required: Yes
Type: Array of AppBundleSummary structures

Contains a list of app bundle summaries.

nextToken
Type: 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.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

AccessDeniedException:

You are not authorized to perform this operation.

ListIngestionDestinations

$result = $client->listIngestionDestinations([/* ... */]);
$promise = $client->listIngestionDestinationsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listIngestionDestinations([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'ingestionIdentifier' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

ingestionIdentifier
Required: Yes
Type: string

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

maxResults
Type: int

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.

nextToken
Type: 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.

Result Syntax

[
    'ingestionDestinations' => [
        [
            'arn' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
ingestionDestinations
Required: Yes
Type: Array of IngestionDestinationSummary structures

Contains a list of ingestion destination summaries.

nextToken
Type: 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.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

ListIngestions

$result = $client->listIngestions([/* ... */]);
$promise = $client->listIngestionsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listIngestions([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

maxResults
Type: int

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.

nextToken
Type: 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.

Result Syntax

[
    'ingestions' => [
        [
            'app' => '<string>',
            'arn' => '<string>',
            'state' => 'enabled|disabled',
            'tenantId' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
ingestions
Required: Yes
Type: Array of IngestionSummary structures

Contains a list of ingestion summaries.

nextToken
Type: 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.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Returns a list of tags for a resource.

Parameter Syntax

$result = $client->listTagsForResource([
    'resourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

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

Result Syntax

[
    'tags' => [
        [
            'key' => '<string>',
            'value' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
tags
Type: Array of Tag structures

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

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

StartIngestion

$result = $client->startIngestion([/* ... */]);
$promise = $client->startIngestionAsync([/* ... */]);

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

Parameter Syntax

$result = $client->startIngestion([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'ingestionIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

ingestionIdentifier
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ConflictException:

The request has created a conflict. Check the request parameters and try again.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

StartUserAccessTasks

$result = $client->startUserAccessTasks([/* ... */]);
$promise = $client->startUserAccessTasksAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->startUserAccessTasks([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'email' => '<string>', // REQUIRED
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

email
Required: Yes
Type: string

The email address of the target user.

Result Syntax

[
    'userAccessTasksList' => [
        [
            'app' => '<string>',
            'error' => [
                'errorCode' => '<string>',
                'errorMessage' => '<string>',
            ],
            'taskId' => '<string>',
            'tenantId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
userAccessTasksList
Type: Array of UserAccessTaskItem structures

Contains a list of user access task information.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

StopIngestion

$result = $client->stopIngestion([/* ... */]);
$promise = $client->stopIngestionAsync([/* ... */]);

Stops (disables) an ingestion.

Parameter Syntax

$result = $client->stopIngestion([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'ingestionIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

ingestionIdentifier
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ConflictException:

The request has created a conflict. Check the request parameters and try again.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

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

Parameter Syntax

$result = $client->tagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tags' => [ // REQUIRED
        [
            'key' => '<string>', // REQUIRED
            'value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

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

tags
Required: Yes
Type: Array of Tag structures

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Removes a tag or tags from a resource.

Parameter Syntax

$result = $client->untagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

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

tagKeys
Required: Yes
Type: Array of strings

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

UpdateAppAuthorization

$result = $client->updateAppAuthorization([/* ... */]);
$promise = $client->updateAppAuthorizationAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->updateAppAuthorization([
    'appAuthorizationIdentifier' => '<string>', // REQUIRED
    'appBundleIdentifier' => '<string>', // REQUIRED
    'credential' => [
        'apiKeyCredential' => [
            'apiKey' => '<string>', // REQUIRED
        ],
        'oauth2Credential' => [
            'clientId' => '<string>', // REQUIRED
            'clientSecret' => '<string>', // REQUIRED
        ],
    ],
    'tenant' => [
        'tenantDisplayName' => '<string>', // REQUIRED
        'tenantIdentifier' => '<string>', // REQUIRED
    ],
]);

Parameter Details

Members
appAuthorizationIdentifier
Required: Yes
Type: string

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

appBundleIdentifier
Required: Yes
Type: string

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

credential
Type: Credential structure

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.

tenant
Type: Tenant structure

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

Result Syntax

[
    'appAuthorization' => [
        'app' => '<string>',
        'appAuthorizationArn' => '<string>',
        'appBundleArn' => '<string>',
        'authType' => 'oauth2|apiKey',
        'authUrl' => '<string>',
        'createdAt' => <DateTime>,
        'persona' => 'admin|endUser',
        'status' => 'PendingConnect|Connected|ConnectionValidationFailed|TokenAutoRotationFailed',
        'tenant' => [
            'tenantDisplayName' => '<string>',
            'tenantIdentifier' => '<string>',
        ],
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
appAuthorization
Required: Yes
Type: AppAuthorization structure

Contains information about an app authorization.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ThrottlingException:

The request rate exceeds the limit.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

UpdateIngestionDestination

$result = $client->updateIngestionDestination([/* ... */]);
$promise = $client->updateIngestionDestinationAsync([/* ... */]);

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

Parameter Syntax

$result = $client->updateIngestionDestination([
    'appBundleIdentifier' => '<string>', // REQUIRED
    'destinationConfiguration' => [ // REQUIRED
        'auditLog' => [
            'destination' => [ // REQUIRED
                'firehoseStream' => [
                    'streamName' => '<string>', // REQUIRED
                ],
                's3Bucket' => [
                    'bucketName' => '<string>', // REQUIRED
                    'prefix' => '<string>',
                ],
            ],
        ],
    ],
    'ingestionDestinationIdentifier' => '<string>', // REQUIRED
    'ingestionIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
appBundleIdentifier
Required: Yes
Type: string

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

destinationConfiguration
Required: Yes
Type: DestinationConfiguration structure

Contains information about the destination of ingested data.

ingestionDestinationIdentifier
Required: Yes
Type: string

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

ingestionIdentifier
Required: Yes
Type: string

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

Result Syntax

[
    'ingestionDestination' => [
        'arn' => '<string>',
        'createdAt' => <DateTime>,
        'destinationConfiguration' => [
            'auditLog' => [
                'destination' => [
                    'firehoseStream' => [
                        'streamName' => '<string>',
                    ],
                    's3Bucket' => [
                        'bucketName' => '<string>',
                        'prefix' => '<string>',
                    ],
                ],
            ],
        ],
        'ingestionArn' => '<string>',
        'processingConfiguration' => [
            'auditLog' => [
                'format' => 'json|parquet',
                'schema' => 'ocsf|raw',
            ],
        ],
        'status' => 'Active|Failed',
        'statusReason' => '<string>',
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
ingestionDestination
Required: Yes
Type: IngestionDestination structure

Contains information about an ingestion destination.

Errors

InternalServerException:

The request processing has failed because of an unknown error, exception, or failure with an internal server.

ServiceQuotaExceededException:

The request exceeds a service quota.

ThrottlingException:

The request rate exceeds the limit.

ConflictException:

The request has created a conflict. Check the request parameters and try again.

ValidationException:

The request has invalid or missing parameters.

ResourceNotFoundException:

The specified resource does not exist.

AccessDeniedException:

You are not authorized to perform this operation.

Shapes

AccessDeniedException

Description

You are not authorized to perform this operation.

Members
message
Required: Yes
Type: string

ApiKeyCredential

Description

Contains API key credential information.

Members
apiKey
Required: Yes
Type: string

An API key for an application.

AppAuthorization

Description

Contains information about an app authorization.

Members
app
Required: Yes
Type: string

The name of the application.

appAuthorizationArn
Required: Yes
Type: string

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

appBundleArn
Required: Yes
Type: string

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

authType
Required: Yes
Type: string

The authorization type.

authUrl
Type: string

The application URL for the OAuth flow.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the app authorization was created.

persona
Type: string

The user persona of the app authorization.

This field should always be admin.

status
Required: Yes
Type: 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.

tenant
Required: Yes
Type: Tenant structure

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

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the app authorization was last updated.

AppAuthorizationSummary

Description

Contains a summary of an app authorization.

Members
app
Required: Yes
Type: string

The name of the application.

appAuthorizationArn
Required: Yes
Type: string

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

appBundleArn
Required: Yes
Type: string

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

status
Required: Yes
Type: 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.

tenant
Required: Yes
Type: Tenant structure

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

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp for when the app authorization was last updated.

AppBundle

Description

Contains information about an app bundle.

Members
arn
Required: Yes
Type: string

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

customerManagedKeyArn
Type: string

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

AppBundleSummary

Description

Contains a summary of an app bundle.

Members
arn
Required: Yes
Type: string

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

AuditLogDestinationConfiguration

Description

Contains information about an audit log destination configuration.

Members
destination
Required: Yes
Type: Destination structure

Contains information about an audit log destination.

AuditLogProcessingConfiguration

Description

Contains information about an audit log processing configuration.

Members
format
Required: Yes
Type: string

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

schema
Required: Yes
Type: string

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

AuthRequest

Description

Contains authorization request information, which is required for Amazon Web Services AppFabric to get the OAuth2 access token for an application.

Members
code
Required: Yes
Type: string

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

redirectUri
Required: Yes
Type: string

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

ConflictException

Description

The request has created a conflict. Check the request parameters and try again.

Members
message
Required: Yes
Type: string
resourceId
Required: Yes
Type: string

The resource ID.

resourceType
Required: Yes
Type: string

The resource type.

Credential

Description

Contains credential information for an application.

Members
apiKeyCredential
Type: ApiKeyCredential structure

Contains API key credential information.

oauth2Credential
Type: Oauth2Credential structure

Contains OAuth2 client credential information.

Destination

Description

Contains information about an audit log destination.

Members
firehoseStream
Type: FirehoseStream structure

Contains information about an Amazon Kinesis Data Firehose delivery stream.

s3Bucket
Type: S3Bucket structure

Contains information about an Amazon S3 bucket.

DestinationConfiguration

Description

Contains information about the destination of ingested data.

Members
auditLog

Contains information about an audit log destination configuration.

FirehoseStream

Description

Contains information about an Amazon Kinesis Data Firehose delivery stream.

Members
streamName
Required: Yes
Type: string

The name of the Amazon Kinesis Data Firehose delivery stream.

Ingestion

Description

Contains information about an ingestion.

Members
app
Required: Yes
Type: string

The name of the application.

appBundleArn
Required: Yes
Type: string

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

arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the ingestion.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the ingestion was created.

ingestionType
Required: Yes
Type: string

The type of the ingestion.

state
Required: Yes
Type: string

The status of the ingestion.

tenantId
Required: Yes
Type: string

The ID of the application tenant.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the ingestion was last updated.

IngestionDestination

Description

Contains information about an ingestion destination.

Members
arn
Required: Yes
Type: string

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

createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the ingestion destination was created.

destinationConfiguration
Required: Yes
Type: DestinationConfiguration structure

Contains information about the destination of ingested data.

ingestionArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the ingestion.

processingConfiguration
Required: Yes
Type: ProcessingConfiguration structure

Contains information about how ingested data is processed.

status
Type: 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
Type: string

The reason for the current status of the ingestion destination.

Only present when the status of ingestion destination is Failed.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the ingestion destination was last updated.

IngestionDestinationSummary

Description

Contains a summary of an ingestion destination.

Members
arn
Required: Yes
Type: string

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

IngestionSummary

Description

Contains a summary of an ingestion.

Members
app
Required: Yes
Type: string

The name of the application.

arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the ingestion.

state
Required: Yes
Type: string

The status of the ingestion.

tenantId
Required: Yes
Type: string

The ID of the application tenant.

InternalServerException

Description

The request processing has failed because of an unknown error, exception, or failure with an internal server.

Members
message
Required: Yes
Type: string
retryAfterSeconds
Type: int

The period of time after which you should retry your request.

Oauth2Credential

Description

Contains OAuth2 client credential information.

Members
clientId
Required: Yes
Type: string

The client ID of the client application.

clientSecret
Required: Yes
Type: string

The client secret of the client application.

ProcessingConfiguration

Description

Contains information about how ingested data is processed.

Members
auditLog

Contains information about an audit log processing configuration.

ResourceNotFoundException

Description

The specified resource does not exist.

Members
message
Required: Yes
Type: string
resourceId
Required: Yes
Type: string

The resource ID.

resourceType
Required: Yes
Type: string

The resource type.

S3Bucket

Description

Contains information about an Amazon S3 bucket.

Members
bucketName
Required: Yes
Type: string

The name of the Amazon S3 bucket.

prefix
Type: string

The object key to use.

ServiceQuotaExceededException

Description

The request exceeds a service quota.

Members
message
Required: Yes
Type: string
quotaCode
Required: Yes
Type: string

The code for the quota exceeded.

resourceId
Required: Yes
Type: string

The resource ID.

resourceType
Required: Yes
Type: string

The resource type.

serviceCode
Required: Yes
Type: string

The code of the service.

Tag

Description

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

Members
key
Required: Yes
Type: string

Tag key.

value
Required: Yes
Type: string

Tag value.

TaskError

Description

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

Members
errorCode
Type: string

The code of the error.

errorMessage
Type: string

The message of the error.

Tenant

Description

Contains information about an application tenant.

Members
tenantDisplayName
Required: Yes
Type: string

The display name of the tenant.

tenantIdentifier
Required: Yes
Type: string

The ID of the application tenant.

ThrottlingException

Description

The request rate exceeds the limit.

Members
message
Required: Yes
Type: string
quotaCode
Type: string

The code for the quota exceeded.

retryAfterSeconds
Type: int

The period of time after which you should retry your request.

serviceCode
Type: string

The code of the service.

UserAccessResultItem

Description

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

Members
app
Type: string

The name of the application.

email
Type: string

The email address of the target user.

resultStatus
Type: 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.

taskError
Type: TaskError structure

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

taskId
Type: string

The unique ID of the task.

tenantDisplayName
Type: string

The display name of the tenant.

tenantId
Type: string

The ID of the application tenant.

userFirstName
Type: string

The first name of the user.

userFullName
Type: string

The full name of the user.

userId
Type: string

The unique ID of user.

userLastName
Type: string

The last name of the user.

userStatus
Type: string

The status of the user returned by the application.

UserAccessTaskItem

Description

Contains information about a user access task.

Members
app
Required: Yes
Type: string

The name of the application.

error
Type: TaskError structure

Error from the task, if any.

taskId
Type: string

The unique ID of the task.

tenantId
Required: Yes
Type: string

The ID of the application tenant.

ValidationException

Description

The request has invalid or missing parameters.

Members
fieldList
Type: Array of ValidationExceptionField structures

The field list.

message
Required: Yes
Type: string
reason
Required: Yes
Type: string

The reason for the exception.

ValidationExceptionField

Description

The input failed to meet the constraints specified by the Amazon Web Services service in a specified field.

Members
message
Required: Yes
Type: string

A message about the validation exception.

name
Required: Yes
Type: string

The field name where the invalid entry was detected.