EC2.Client.
modify_verified_access_instance_logging_configuration
(**kwargs)¶Modifies the logging configuration for the specified Amazon Web Services Verified Access instance.
See also: AWS API Documentation
Request Syntax
response = client.modify_verified_access_instance_logging_configuration(
VerifiedAccessInstanceId='string',
AccessLogs={
'S3': {
'Enabled': True|False,
'BucketName': 'string',
'Prefix': 'string',
'BucketOwner': 'string'
},
'CloudWatchLogs': {
'Enabled': True|False,
'LogGroup': 'string'
},
'KinesisDataFirehose': {
'Enabled': True|False,
'DeliveryStream': 'string'
}
},
DryRun=True|False,
ClientToken='string'
)
[REQUIRED]
The ID of the Amazon Web Services Verified Access instance.
[REQUIRED]
The configuration options for Amazon Web Services Verified Access instances.
Sends Verified Access logs to Amazon S3.
Indicates whether logging is enabled.
The bucket name.
The bucket prefix.
The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
Sends Verified Access logs to CloudWatch Logs.
Indicates whether logging is enabled.
The ID of the CloudWatch Logs log group.
Sends Verified Access logs to Kinesis.
Indicates whether logging is enabled.
The ID of the delivery stream.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
This field is autopopulated if not provided.
dict
Response Syntax
{
'LoggingConfiguration': {
'VerifiedAccessInstanceId': 'string',
'AccessLogs': {
'S3': {
'Enabled': True|False,
'DeliveryStatus': {
'Code': 'success'|'failed',
'Message': 'string'
},
'BucketName': 'string',
'Prefix': 'string',
'BucketOwner': 'string'
},
'CloudWatchLogs': {
'Enabled': True|False,
'DeliveryStatus': {
'Code': 'success'|'failed',
'Message': 'string'
},
'LogGroup': 'string'
},
'KinesisDataFirehose': {
'Enabled': True|False,
'DeliveryStatus': {
'Code': 'success'|'failed',
'Message': 'string'
},
'DeliveryStream': 'string'
}
}
}
}
Response Structure
(dict) --
LoggingConfiguration (dict) --
The logging configuration for Amazon Web Services Verified Access instance.
VerifiedAccessInstanceId (string) --
The ID of the Amazon Web Services Verified Access instance.
AccessLogs (dict) --
Details about the logging options.
S3 (dict) --
Amazon S3 logging options.
Enabled (boolean) --
Indicates whether logging is enabled.
DeliveryStatus (dict) --
The delivery status.
Code (string) --
The status code.
Message (string) --
The status message.
BucketName (string) --
The bucket name.
Prefix (string) --
The bucket prefix.
BucketOwner (string) --
The Amazon Web Services account number that owns the bucket.
CloudWatchLogs (dict) --
CloudWatch Logs logging destination.
Enabled (boolean) --
Indicates whether logging is enabled.
DeliveryStatus (dict) --
The delivery status for access logs.
Code (string) --
The status code.
Message (string) --
The status message.
LogGroup (string) --
The ID of the CloudWatch Logs log group.
KinesisDataFirehose (dict) --
Kinesis logging destination.
Enabled (boolean) --
Indicates whether logging is enabled.
DeliveryStatus (dict) --
The delivery status.
Code (string) --
The status code.
Message (string) --
The status message.
DeliveryStream (string) --
The ID of the delivery stream.