CloudWatchOmni / Client / get_integration
get_integration¶
- CloudWatchOmni.Client.get_integration(**kwargs)¶
Returns the details of a single integration, identified by its identifier, Amazon Resource Name, or name.
See also: AWS API Documentation
Request Syntax
response = client.get_integration( identifier={ 'integrationId': 'string', 'integrationArn': 'string', 'integrationName': 'string' } )
- Parameters:
identifier (dict) –
[REQUIRED]
Identifies the integration to return — exactly one of integrationId, integrationArn, or integrationName.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
integrationId,integrationArn,integrationName.integrationId (string) –
The unique identifier of the integration.
integrationArn (string) –
The Amazon Resource Name of the integration.
integrationName (string) –
The name of the integration; unique within the account.
- Return type:
dict
- Returns:
Response Syntax
{ 'integration': { 'integrationId': 'string', 'integrationArn': 'string', 'integrationType': 'AWS_CONFIG_SLREC'|'SLACK'|'EXTERNAL_AGENT'|'AWS_INTEGRATION', 'name': 'string', 'status': 'ACTIVE'|'DELETED'|'PENDING'|'PENDING_OAUTH'|'ERROR'|'FAILED', 'authType': 'NONE'|'OAUTH2'|'API_KEY', 'credentialArn': 'string', 'roleArn': 'string', 'integrationAttributes': { 'string': 'string' }, 'authorizationUrl': 'string', 'errorMessage': 'string', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1), 'scope': 'ACCOUNT'|'ORGANIZATION' } }
Response Structure
(dict) –
The response containing the requested integration.
integration (dict) –
The details of the requested integration.
integrationId (string) –
The unique identifier of the integration.
integrationArn (string) –
The Amazon Resource Name (ARN) of the integration.
integrationType (string) –
The type of external system that an integration connects to, such as a source of configuration data, a messaging destination, or a model provider.
name (string) –
The customer-provided name of the integration.
status (string) –
The current lifecycle state of an integration.
authType (string) –
The authentication method that an integration uses to connect to its external system.
credentialArn (string) –
The Amazon Resource Name (ARN) of the secret that stores the integration’s credentials.
roleArn (string) –
The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to access the external system.
integrationAttributes (dict) –
Provider-specific key/value attributes that configure the integration.
(string) –
(string) –
authorizationUrl (string) –
The URL the customer visits to authorize the integration. Present while an OAuth authorization is pending.
errorMessage (string) –
A human-readable description of why the integration is in an ERROR or FAILED state. Present only when the integration has failed.
createdAt (datetime) –
The time at which the integration was created.
updatedAt (datetime) –
The time at which the integration was last updated.
scope (string) –
Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.
Exceptions