SecurityLake.Client.
get_subscriber
(**kwargs)¶Retrieves the subscription information for the specified subscription ID. You can get information about a specific subscriber.
See also: AWS API Documentation
Request Syntax
response = client.get_subscriber(
id='string'
)
[REQUIRED]
A value created by Amazon Security Lake that uniquely identifies your GetSubscriber
API request.
{
'subscriber': {
'accessTypes': [
'LAKEFORMATION'|'S3',
],
'accountId': 'string',
'createdAt': datetime(2015, 1, 1),
'externalId': 'string',
'resourceShareArn': 'string',
'resourceShareName': 'string',
'roleArn': 'string',
's3BucketArn': 'string',
'snsArn': 'string',
'sourceTypes': [
{
'awsSourceType': 'ROUTE53'|'VPC_FLOW'|'CLOUD_TRAIL'|'SH_FINDINGS',
'customSourceType': 'string'
},
],
'subscriberDescription': 'string',
'subscriberName': 'string',
'subscriptionEndpoint': 'string',
'subscriptionId': 'string',
'subscriptionProtocol': 'HTTPS'|'SQS',
'subscriptionStatus': 'ACTIVE'|'DEACTIVATED'|'PENDING'|'READY',
'updatedAt': datetime(2015, 1, 1)
}
}
Response Structure
The subscription information for the specified subscription ID.
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.
Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION
.
The Amazon Web Services account ID you are using to create your Amazon Security Lake account.
The date and time when the subscription was created.
The external ID of the subscriber. The external ID lets the user that is assuming the role assert the circumstances in which they are operating. It also provides a way for the account owner to permit the role to be assumed only under specific circumstances.
The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before accepting the RAM resource share invitation, you can view details related to the RAM resource share.
This field is available only for Lake Formation subscribers created after March 8, 2023.
The name of the resource share.
The Amazon Resource Name (ARN) specifying the role of the subscriber.
The ARN for the Amazon S3 bucket.
The ARN for the Amazon Simple Notification Service.
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
The supported source types from which logs and events are collected in Amazon Security Lake. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: awsSourceType
, customSourceType
. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER
is as follows:
'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
Amazon Security Lake supports custom source types. For a detailed list, see the Amazon Security Lake User Guide.
The subscriber descriptions for a subscriber account. The description for a subscriber includes subscriberName
, accountID
, externalID
, and subscriptionId
.
The name of your Amazon Security Lake subscriber account.
The subscription endpoint to which exception messages are posted.
The subscription ID of the Amazon Security Lake subscriber account.
The subscription protocol to which exception messages are posted.
The subscription status of the Amazon Security Lake subscriber account.
The date and time when the subscription was created.
Exceptions
SecurityLake.Client.exceptions.InternalServerException
SecurityLake.Client.exceptions.AccessDeniedException
SecurityLake.Client.exceptions.ResourceNotFoundException
SecurityLake.Client.exceptions.AccountNotFoundException
SecurityLake.Client.exceptions.InvalidInputException