aws-sdk-cloudtrail 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-cloudtrail.rb +47 -0
- data/lib/aws-sdk-cloudtrail/client.rb +1026 -0
- data/lib/aws-sdk-cloudtrail/client_api.rb +563 -0
- data/lib/aws-sdk-cloudtrail/customizations.rb +7 -0
- data/lib/aws-sdk-cloudtrail/errors.rb +23 -0
- data/lib/aws-sdk-cloudtrail/resource.rb +25 -0
- data/lib/aws-sdk-cloudtrail/types.rb +1431 -0
- metadata +80 -0
@@ -0,0 +1,563 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module CloudTrail
|
10
|
+
# @api private
|
11
|
+
module ClientApi
|
12
|
+
|
13
|
+
include Seahorse::Model
|
14
|
+
|
15
|
+
AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
|
16
|
+
AddTagsResponse = Shapes::StructureShape.new(name: 'AddTagsResponse')
|
17
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
18
|
+
ByteBuffer = Shapes::BlobShape.new(name: 'ByteBuffer')
|
19
|
+
CloudTrailARNInvalidException = Shapes::StructureShape.new(name: 'CloudTrailARNInvalidException')
|
20
|
+
CloudWatchLogsDeliveryUnavailableException = Shapes::StructureShape.new(name: 'CloudWatchLogsDeliveryUnavailableException')
|
21
|
+
CreateTrailRequest = Shapes::StructureShape.new(name: 'CreateTrailRequest')
|
22
|
+
CreateTrailResponse = Shapes::StructureShape.new(name: 'CreateTrailResponse')
|
23
|
+
DataResource = Shapes::StructureShape.new(name: 'DataResource')
|
24
|
+
DataResourceValues = Shapes::ListShape.new(name: 'DataResourceValues')
|
25
|
+
DataResources = Shapes::ListShape.new(name: 'DataResources')
|
26
|
+
Date = Shapes::TimestampShape.new(name: 'Date')
|
27
|
+
DeleteTrailRequest = Shapes::StructureShape.new(name: 'DeleteTrailRequest')
|
28
|
+
DeleteTrailResponse = Shapes::StructureShape.new(name: 'DeleteTrailResponse')
|
29
|
+
DescribeTrailsRequest = Shapes::StructureShape.new(name: 'DescribeTrailsRequest')
|
30
|
+
DescribeTrailsResponse = Shapes::StructureShape.new(name: 'DescribeTrailsResponse')
|
31
|
+
Event = Shapes::StructureShape.new(name: 'Event')
|
32
|
+
EventSelector = Shapes::StructureShape.new(name: 'EventSelector')
|
33
|
+
EventSelectors = Shapes::ListShape.new(name: 'EventSelectors')
|
34
|
+
EventsList = Shapes::ListShape.new(name: 'EventsList')
|
35
|
+
GetEventSelectorsRequest = Shapes::StructureShape.new(name: 'GetEventSelectorsRequest')
|
36
|
+
GetEventSelectorsResponse = Shapes::StructureShape.new(name: 'GetEventSelectorsResponse')
|
37
|
+
GetTrailStatusRequest = Shapes::StructureShape.new(name: 'GetTrailStatusRequest')
|
38
|
+
GetTrailStatusResponse = Shapes::StructureShape.new(name: 'GetTrailStatusResponse')
|
39
|
+
InsufficientEncryptionPolicyException = Shapes::StructureShape.new(name: 'InsufficientEncryptionPolicyException')
|
40
|
+
InsufficientS3BucketPolicyException = Shapes::StructureShape.new(name: 'InsufficientS3BucketPolicyException')
|
41
|
+
InsufficientSnsTopicPolicyException = Shapes::StructureShape.new(name: 'InsufficientSnsTopicPolicyException')
|
42
|
+
InvalidCloudWatchLogsLogGroupArnException = Shapes::StructureShape.new(name: 'InvalidCloudWatchLogsLogGroupArnException')
|
43
|
+
InvalidCloudWatchLogsRoleArnException = Shapes::StructureShape.new(name: 'InvalidCloudWatchLogsRoleArnException')
|
44
|
+
InvalidEventSelectorsException = Shapes::StructureShape.new(name: 'InvalidEventSelectorsException')
|
45
|
+
InvalidHomeRegionException = Shapes::StructureShape.new(name: 'InvalidHomeRegionException')
|
46
|
+
InvalidKmsKeyIdException = Shapes::StructureShape.new(name: 'InvalidKmsKeyIdException')
|
47
|
+
InvalidLookupAttributesException = Shapes::StructureShape.new(name: 'InvalidLookupAttributesException')
|
48
|
+
InvalidMaxResultsException = Shapes::StructureShape.new(name: 'InvalidMaxResultsException')
|
49
|
+
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
50
|
+
InvalidParameterCombinationException = Shapes::StructureShape.new(name: 'InvalidParameterCombinationException')
|
51
|
+
InvalidS3BucketNameException = Shapes::StructureShape.new(name: 'InvalidS3BucketNameException')
|
52
|
+
InvalidS3PrefixException = Shapes::StructureShape.new(name: 'InvalidS3PrefixException')
|
53
|
+
InvalidSnsTopicNameException = Shapes::StructureShape.new(name: 'InvalidSnsTopicNameException')
|
54
|
+
InvalidTagParameterException = Shapes::StructureShape.new(name: 'InvalidTagParameterException')
|
55
|
+
InvalidTimeRangeException = Shapes::StructureShape.new(name: 'InvalidTimeRangeException')
|
56
|
+
InvalidTokenException = Shapes::StructureShape.new(name: 'InvalidTokenException')
|
57
|
+
InvalidTrailNameException = Shapes::StructureShape.new(name: 'InvalidTrailNameException')
|
58
|
+
KmsException = Shapes::StructureShape.new(name: 'KmsException')
|
59
|
+
KmsKeyDisabledException = Shapes::StructureShape.new(name: 'KmsKeyDisabledException')
|
60
|
+
KmsKeyNotFoundException = Shapes::StructureShape.new(name: 'KmsKeyNotFoundException')
|
61
|
+
ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
|
62
|
+
ListPublicKeysResponse = Shapes::StructureShape.new(name: 'ListPublicKeysResponse')
|
63
|
+
ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
|
64
|
+
ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
|
65
|
+
LookupAttribute = Shapes::StructureShape.new(name: 'LookupAttribute')
|
66
|
+
LookupAttributeKey = Shapes::StringShape.new(name: 'LookupAttributeKey')
|
67
|
+
LookupAttributesList = Shapes::ListShape.new(name: 'LookupAttributesList')
|
68
|
+
LookupEventsRequest = Shapes::StructureShape.new(name: 'LookupEventsRequest')
|
69
|
+
LookupEventsResponse = Shapes::StructureShape.new(name: 'LookupEventsResponse')
|
70
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
71
|
+
MaximumNumberOfTrailsExceededException = Shapes::StructureShape.new(name: 'MaximumNumberOfTrailsExceededException')
|
72
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
73
|
+
OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
|
74
|
+
PublicKey = Shapes::StructureShape.new(name: 'PublicKey')
|
75
|
+
PublicKeyList = Shapes::ListShape.new(name: 'PublicKeyList')
|
76
|
+
PutEventSelectorsRequest = Shapes::StructureShape.new(name: 'PutEventSelectorsRequest')
|
77
|
+
PutEventSelectorsResponse = Shapes::StructureShape.new(name: 'PutEventSelectorsResponse')
|
78
|
+
ReadWriteType = Shapes::StringShape.new(name: 'ReadWriteType')
|
79
|
+
RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
|
80
|
+
RemoveTagsResponse = Shapes::StructureShape.new(name: 'RemoveTagsResponse')
|
81
|
+
Resource = Shapes::StructureShape.new(name: 'Resource')
|
82
|
+
ResourceIdList = Shapes::ListShape.new(name: 'ResourceIdList')
|
83
|
+
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
84
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
85
|
+
ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
|
86
|
+
ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
|
87
|
+
ResourceTypeNotSupportedException = Shapes::StructureShape.new(name: 'ResourceTypeNotSupportedException')
|
88
|
+
S3BucketDoesNotExistException = Shapes::StructureShape.new(name: 'S3BucketDoesNotExistException')
|
89
|
+
StartLoggingRequest = Shapes::StructureShape.new(name: 'StartLoggingRequest')
|
90
|
+
StartLoggingResponse = Shapes::StructureShape.new(name: 'StartLoggingResponse')
|
91
|
+
StopLoggingRequest = Shapes::StructureShape.new(name: 'StopLoggingRequest')
|
92
|
+
StopLoggingResponse = Shapes::StructureShape.new(name: 'StopLoggingResponse')
|
93
|
+
String = Shapes::StringShape.new(name: 'String')
|
94
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
95
|
+
TagsLimitExceededException = Shapes::StructureShape.new(name: 'TagsLimitExceededException')
|
96
|
+
TagsList = Shapes::ListShape.new(name: 'TagsList')
|
97
|
+
Trail = Shapes::StructureShape.new(name: 'Trail')
|
98
|
+
TrailAlreadyExistsException = Shapes::StructureShape.new(name: 'TrailAlreadyExistsException')
|
99
|
+
TrailList = Shapes::ListShape.new(name: 'TrailList')
|
100
|
+
TrailNameList = Shapes::ListShape.new(name: 'TrailNameList')
|
101
|
+
TrailNotFoundException = Shapes::StructureShape.new(name: 'TrailNotFoundException')
|
102
|
+
TrailNotProvidedException = Shapes::StructureShape.new(name: 'TrailNotProvidedException')
|
103
|
+
UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
|
104
|
+
UpdateTrailRequest = Shapes::StructureShape.new(name: 'UpdateTrailRequest')
|
105
|
+
UpdateTrailResponse = Shapes::StructureShape.new(name: 'UpdateTrailResponse')
|
106
|
+
|
107
|
+
AddTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
|
108
|
+
AddTagsRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
|
109
|
+
AddTagsRequest.struct_class = Types::AddTagsRequest
|
110
|
+
|
111
|
+
AddTagsResponse.struct_class = Types::AddTagsResponse
|
112
|
+
|
113
|
+
CreateTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
114
|
+
CreateTrailRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketName"))
|
115
|
+
CreateTrailRequest.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
116
|
+
CreateTrailRequest.add_member(:sns_topic_name, Shapes::ShapeRef.new(shape: String, location_name: "SnsTopicName"))
|
117
|
+
CreateTrailRequest.add_member(:include_global_service_events, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeGlobalServiceEvents"))
|
118
|
+
CreateTrailRequest.add_member(:is_multi_region_trail, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsMultiRegionTrail"))
|
119
|
+
CreateTrailRequest.add_member(:enable_log_file_validation, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableLogFileValidation"))
|
120
|
+
CreateTrailRequest.add_member(:cloud_watch_logs_log_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudWatchLogsLogGroupArn"))
|
121
|
+
CreateTrailRequest.add_member(:cloud_watch_logs_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudWatchLogsRoleArn"))
|
122
|
+
CreateTrailRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
123
|
+
CreateTrailRequest.struct_class = Types::CreateTrailRequest
|
124
|
+
|
125
|
+
CreateTrailResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
126
|
+
CreateTrailResponse.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
|
127
|
+
CreateTrailResponse.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
128
|
+
CreateTrailResponse.add_member(:sns_topic_name, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "SnsTopicName"))
|
129
|
+
CreateTrailResponse.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnsTopicARN"))
|
130
|
+
CreateTrailResponse.add_member(:include_global_service_events, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeGlobalServiceEvents"))
|
131
|
+
CreateTrailResponse.add_member(:is_multi_region_trail, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsMultiRegionTrail"))
|
132
|
+
CreateTrailResponse.add_member(:trail_arn, Shapes::ShapeRef.new(shape: String, location_name: "TrailARN"))
|
133
|
+
CreateTrailResponse.add_member(:log_file_validation_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "LogFileValidationEnabled"))
|
134
|
+
CreateTrailResponse.add_member(:cloud_watch_logs_log_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudWatchLogsLogGroupArn"))
|
135
|
+
CreateTrailResponse.add_member(:cloud_watch_logs_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudWatchLogsRoleArn"))
|
136
|
+
CreateTrailResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
137
|
+
CreateTrailResponse.struct_class = Types::CreateTrailResponse
|
138
|
+
|
139
|
+
DataResource.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
140
|
+
DataResource.add_member(:values, Shapes::ShapeRef.new(shape: DataResourceValues, location_name: "Values"))
|
141
|
+
DataResource.struct_class = Types::DataResource
|
142
|
+
|
143
|
+
DataResourceValues.member = Shapes::ShapeRef.new(shape: String)
|
144
|
+
|
145
|
+
DataResources.member = Shapes::ShapeRef.new(shape: DataResource)
|
146
|
+
|
147
|
+
DeleteTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
148
|
+
DeleteTrailRequest.struct_class = Types::DeleteTrailRequest
|
149
|
+
|
150
|
+
DeleteTrailResponse.struct_class = Types::DeleteTrailResponse
|
151
|
+
|
152
|
+
DescribeTrailsRequest.add_member(:trail_name_list, Shapes::ShapeRef.new(shape: TrailNameList, location_name: "trailNameList"))
|
153
|
+
DescribeTrailsRequest.add_member(:include_shadow_trails, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeShadowTrails"))
|
154
|
+
DescribeTrailsRequest.struct_class = Types::DescribeTrailsRequest
|
155
|
+
|
156
|
+
DescribeTrailsResponse.add_member(:trail_list, Shapes::ShapeRef.new(shape: TrailList, location_name: "trailList"))
|
157
|
+
DescribeTrailsResponse.struct_class = Types::DescribeTrailsResponse
|
158
|
+
|
159
|
+
Event.add_member(:event_id, Shapes::ShapeRef.new(shape: String, location_name: "EventId"))
|
160
|
+
Event.add_member(:event_name, Shapes::ShapeRef.new(shape: String, location_name: "EventName"))
|
161
|
+
Event.add_member(:event_time, Shapes::ShapeRef.new(shape: Date, location_name: "EventTime"))
|
162
|
+
Event.add_member(:event_source, Shapes::ShapeRef.new(shape: String, location_name: "EventSource"))
|
163
|
+
Event.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "Username"))
|
164
|
+
Event.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "Resources"))
|
165
|
+
Event.add_member(:cloud_trail_event, Shapes::ShapeRef.new(shape: String, location_name: "CloudTrailEvent"))
|
166
|
+
Event.struct_class = Types::Event
|
167
|
+
|
168
|
+
EventSelector.add_member(:read_write_type, Shapes::ShapeRef.new(shape: ReadWriteType, location_name: "ReadWriteType"))
|
169
|
+
EventSelector.add_member(:include_management_events, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeManagementEvents"))
|
170
|
+
EventSelector.add_member(:data_resources, Shapes::ShapeRef.new(shape: DataResources, location_name: "DataResources"))
|
171
|
+
EventSelector.struct_class = Types::EventSelector
|
172
|
+
|
173
|
+
EventSelectors.member = Shapes::ShapeRef.new(shape: EventSelector)
|
174
|
+
|
175
|
+
EventsList.member = Shapes::ShapeRef.new(shape: Event)
|
176
|
+
|
177
|
+
GetEventSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, location_name: "TrailName"))
|
178
|
+
GetEventSelectorsRequest.struct_class = Types::GetEventSelectorsRequest
|
179
|
+
|
180
|
+
GetEventSelectorsResponse.add_member(:trail_arn, Shapes::ShapeRef.new(shape: String, location_name: "TrailARN"))
|
181
|
+
GetEventSelectorsResponse.add_member(:event_selectors, Shapes::ShapeRef.new(shape: EventSelectors, location_name: "EventSelectors"))
|
182
|
+
GetEventSelectorsResponse.struct_class = Types::GetEventSelectorsResponse
|
183
|
+
|
184
|
+
GetTrailStatusRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
185
|
+
GetTrailStatusRequest.struct_class = Types::GetTrailStatusRequest
|
186
|
+
|
187
|
+
GetTrailStatusResponse.add_member(:is_logging, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsLogging"))
|
188
|
+
GetTrailStatusResponse.add_member(:latest_delivery_error, Shapes::ShapeRef.new(shape: String, location_name: "LatestDeliveryError"))
|
189
|
+
GetTrailStatusResponse.add_member(:latest_notification_error, Shapes::ShapeRef.new(shape: String, location_name: "LatestNotificationError"))
|
190
|
+
GetTrailStatusResponse.add_member(:latest_delivery_time, Shapes::ShapeRef.new(shape: Date, location_name: "LatestDeliveryTime"))
|
191
|
+
GetTrailStatusResponse.add_member(:latest_notification_time, Shapes::ShapeRef.new(shape: Date, location_name: "LatestNotificationTime"))
|
192
|
+
GetTrailStatusResponse.add_member(:start_logging_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartLoggingTime"))
|
193
|
+
GetTrailStatusResponse.add_member(:stop_logging_time, Shapes::ShapeRef.new(shape: Date, location_name: "StopLoggingTime"))
|
194
|
+
GetTrailStatusResponse.add_member(:latest_cloud_watch_logs_delivery_error, Shapes::ShapeRef.new(shape: String, location_name: "LatestCloudWatchLogsDeliveryError"))
|
195
|
+
GetTrailStatusResponse.add_member(:latest_cloud_watch_logs_delivery_time, Shapes::ShapeRef.new(shape: Date, location_name: "LatestCloudWatchLogsDeliveryTime"))
|
196
|
+
GetTrailStatusResponse.add_member(:latest_digest_delivery_time, Shapes::ShapeRef.new(shape: Date, location_name: "LatestDigestDeliveryTime"))
|
197
|
+
GetTrailStatusResponse.add_member(:latest_digest_delivery_error, Shapes::ShapeRef.new(shape: String, location_name: "LatestDigestDeliveryError"))
|
198
|
+
GetTrailStatusResponse.add_member(:latest_delivery_attempt_time, Shapes::ShapeRef.new(shape: String, location_name: "LatestDeliveryAttemptTime"))
|
199
|
+
GetTrailStatusResponse.add_member(:latest_notification_attempt_time, Shapes::ShapeRef.new(shape: String, location_name: "LatestNotificationAttemptTime"))
|
200
|
+
GetTrailStatusResponse.add_member(:latest_notification_attempt_succeeded, Shapes::ShapeRef.new(shape: String, location_name: "LatestNotificationAttemptSucceeded"))
|
201
|
+
GetTrailStatusResponse.add_member(:latest_delivery_attempt_succeeded, Shapes::ShapeRef.new(shape: String, location_name: "LatestDeliveryAttemptSucceeded"))
|
202
|
+
GetTrailStatusResponse.add_member(:time_logging_started, Shapes::ShapeRef.new(shape: String, location_name: "TimeLoggingStarted"))
|
203
|
+
GetTrailStatusResponse.add_member(:time_logging_stopped, Shapes::ShapeRef.new(shape: String, location_name: "TimeLoggingStopped"))
|
204
|
+
GetTrailStatusResponse.struct_class = Types::GetTrailStatusResponse
|
205
|
+
|
206
|
+
ListPublicKeysRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartTime"))
|
207
|
+
ListPublicKeysRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndTime"))
|
208
|
+
ListPublicKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
209
|
+
ListPublicKeysRequest.struct_class = Types::ListPublicKeysRequest
|
210
|
+
|
211
|
+
ListPublicKeysResponse.add_member(:public_key_list, Shapes::ShapeRef.new(shape: PublicKeyList, location_name: "PublicKeyList"))
|
212
|
+
ListPublicKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
213
|
+
ListPublicKeysResponse.struct_class = Types::ListPublicKeysResponse
|
214
|
+
|
215
|
+
ListTagsRequest.add_member(:resource_id_list, Shapes::ShapeRef.new(shape: ResourceIdList, required: true, location_name: "ResourceIdList"))
|
216
|
+
ListTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
217
|
+
ListTagsRequest.struct_class = Types::ListTagsRequest
|
218
|
+
|
219
|
+
ListTagsResponse.add_member(:resource_tag_list, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "ResourceTagList"))
|
220
|
+
ListTagsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
221
|
+
ListTagsResponse.struct_class = Types::ListTagsResponse
|
222
|
+
|
223
|
+
LookupAttribute.add_member(:attribute_key, Shapes::ShapeRef.new(shape: LookupAttributeKey, required: true, location_name: "AttributeKey"))
|
224
|
+
LookupAttribute.add_member(:attribute_value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AttributeValue"))
|
225
|
+
LookupAttribute.struct_class = Types::LookupAttribute
|
226
|
+
|
227
|
+
LookupAttributesList.member = Shapes::ShapeRef.new(shape: LookupAttribute)
|
228
|
+
|
229
|
+
LookupEventsRequest.add_member(:lookup_attributes, Shapes::ShapeRef.new(shape: LookupAttributesList, location_name: "LookupAttributes"))
|
230
|
+
LookupEventsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartTime"))
|
231
|
+
LookupEventsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndTime"))
|
232
|
+
LookupEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
233
|
+
LookupEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
234
|
+
LookupEventsRequest.struct_class = Types::LookupEventsRequest
|
235
|
+
|
236
|
+
LookupEventsResponse.add_member(:events, Shapes::ShapeRef.new(shape: EventsList, location_name: "Events"))
|
237
|
+
LookupEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
238
|
+
LookupEventsResponse.struct_class = Types::LookupEventsResponse
|
239
|
+
|
240
|
+
PublicKey.add_member(:value, Shapes::ShapeRef.new(shape: ByteBuffer, location_name: "Value"))
|
241
|
+
PublicKey.add_member(:validity_start_time, Shapes::ShapeRef.new(shape: Date, location_name: "ValidityStartTime"))
|
242
|
+
PublicKey.add_member(:validity_end_time, Shapes::ShapeRef.new(shape: Date, location_name: "ValidityEndTime"))
|
243
|
+
PublicKey.add_member(:fingerprint, Shapes::ShapeRef.new(shape: String, location_name: "Fingerprint"))
|
244
|
+
PublicKey.struct_class = Types::PublicKey
|
245
|
+
|
246
|
+
PublicKeyList.member = Shapes::ShapeRef.new(shape: PublicKey)
|
247
|
+
|
248
|
+
PutEventSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, location_name: "TrailName"))
|
249
|
+
PutEventSelectorsRequest.add_member(:event_selectors, Shapes::ShapeRef.new(shape: EventSelectors, location_name: "EventSelectors"))
|
250
|
+
PutEventSelectorsRequest.struct_class = Types::PutEventSelectorsRequest
|
251
|
+
|
252
|
+
PutEventSelectorsResponse.add_member(:trail_arn, Shapes::ShapeRef.new(shape: String, location_name: "TrailARN"))
|
253
|
+
PutEventSelectorsResponse.add_member(:event_selectors, Shapes::ShapeRef.new(shape: EventSelectors, location_name: "EventSelectors"))
|
254
|
+
PutEventSelectorsResponse.struct_class = Types::PutEventSelectorsResponse
|
255
|
+
|
256
|
+
RemoveTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
|
257
|
+
RemoveTagsRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
|
258
|
+
RemoveTagsRequest.struct_class = Types::RemoveTagsRequest
|
259
|
+
|
260
|
+
RemoveTagsResponse.struct_class = Types::RemoveTagsResponse
|
261
|
+
|
262
|
+
Resource.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
|
263
|
+
Resource.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "ResourceName"))
|
264
|
+
Resource.struct_class = Types::Resource
|
265
|
+
|
266
|
+
ResourceIdList.member = Shapes::ShapeRef.new(shape: String)
|
267
|
+
|
268
|
+
ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
|
269
|
+
|
270
|
+
ResourceTag.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
|
271
|
+
ResourceTag.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
|
272
|
+
ResourceTag.struct_class = Types::ResourceTag
|
273
|
+
|
274
|
+
ResourceTagList.member = Shapes::ShapeRef.new(shape: ResourceTag)
|
275
|
+
|
276
|
+
StartLoggingRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
277
|
+
StartLoggingRequest.struct_class = Types::StartLoggingRequest
|
278
|
+
|
279
|
+
StartLoggingResponse.struct_class = Types::StartLoggingResponse
|
280
|
+
|
281
|
+
StopLoggingRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
282
|
+
StopLoggingRequest.struct_class = Types::StopLoggingRequest
|
283
|
+
|
284
|
+
StopLoggingResponse.struct_class = Types::StopLoggingResponse
|
285
|
+
|
286
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Key"))
|
287
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
288
|
+
Tag.struct_class = Types::Tag
|
289
|
+
|
290
|
+
TagsList.member = Shapes::ShapeRef.new(shape: Tag)
|
291
|
+
|
292
|
+
Trail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
293
|
+
Trail.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
|
294
|
+
Trail.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
295
|
+
Trail.add_member(:sns_topic_name, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "SnsTopicName"))
|
296
|
+
Trail.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnsTopicARN"))
|
297
|
+
Trail.add_member(:include_global_service_events, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeGlobalServiceEvents"))
|
298
|
+
Trail.add_member(:is_multi_region_trail, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsMultiRegionTrail"))
|
299
|
+
Trail.add_member(:home_region, Shapes::ShapeRef.new(shape: String, location_name: "HomeRegion"))
|
300
|
+
Trail.add_member(:trail_arn, Shapes::ShapeRef.new(shape: String, location_name: "TrailARN"))
|
301
|
+
Trail.add_member(:log_file_validation_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "LogFileValidationEnabled"))
|
302
|
+
Trail.add_member(:cloud_watch_logs_log_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudWatchLogsLogGroupArn"))
|
303
|
+
Trail.add_member(:cloud_watch_logs_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudWatchLogsRoleArn"))
|
304
|
+
Trail.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
305
|
+
Trail.add_member(:has_custom_event_selectors, Shapes::ShapeRef.new(shape: Boolean, location_name: "HasCustomEventSelectors"))
|
306
|
+
Trail.struct_class = Types::Trail
|
307
|
+
|
308
|
+
TrailList.member = Shapes::ShapeRef.new(shape: Trail)
|
309
|
+
|
310
|
+
TrailNameList.member = Shapes::ShapeRef.new(shape: String)
|
311
|
+
|
312
|
+
UpdateTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
313
|
+
UpdateTrailRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
|
314
|
+
UpdateTrailRequest.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
315
|
+
UpdateTrailRequest.add_member(:sns_topic_name, Shapes::ShapeRef.new(shape: String, location_name: "SnsTopicName"))
|
316
|
+
UpdateTrailRequest.add_member(:include_global_service_events, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeGlobalServiceEvents"))
|
317
|
+
UpdateTrailRequest.add_member(:is_multi_region_trail, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsMultiRegionTrail"))
|
318
|
+
UpdateTrailRequest.add_member(:enable_log_file_validation, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableLogFileValidation"))
|
319
|
+
UpdateTrailRequest.add_member(:cloud_watch_logs_log_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudWatchLogsLogGroupArn"))
|
320
|
+
UpdateTrailRequest.add_member(:cloud_watch_logs_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudWatchLogsRoleArn"))
|
321
|
+
UpdateTrailRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
322
|
+
UpdateTrailRequest.struct_class = Types::UpdateTrailRequest
|
323
|
+
|
324
|
+
UpdateTrailResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
325
|
+
UpdateTrailResponse.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
|
326
|
+
UpdateTrailResponse.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
327
|
+
UpdateTrailResponse.add_member(:sns_topic_name, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "SnsTopicName"))
|
328
|
+
UpdateTrailResponse.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnsTopicARN"))
|
329
|
+
UpdateTrailResponse.add_member(:include_global_service_events, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeGlobalServiceEvents"))
|
330
|
+
UpdateTrailResponse.add_member(:is_multi_region_trail, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsMultiRegionTrail"))
|
331
|
+
UpdateTrailResponse.add_member(:trail_arn, Shapes::ShapeRef.new(shape: String, location_name: "TrailARN"))
|
332
|
+
UpdateTrailResponse.add_member(:log_file_validation_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "LogFileValidationEnabled"))
|
333
|
+
UpdateTrailResponse.add_member(:cloud_watch_logs_log_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudWatchLogsLogGroupArn"))
|
334
|
+
UpdateTrailResponse.add_member(:cloud_watch_logs_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudWatchLogsRoleArn"))
|
335
|
+
UpdateTrailResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
336
|
+
UpdateTrailResponse.struct_class = Types::UpdateTrailResponse
|
337
|
+
|
338
|
+
|
339
|
+
# @api private
|
340
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
341
|
+
|
342
|
+
api.version = "2013-11-01"
|
343
|
+
|
344
|
+
api.metadata = {
|
345
|
+
"endpointPrefix" => "cloudtrail",
|
346
|
+
"jsonVersion" => "1.1",
|
347
|
+
"protocol" => "json",
|
348
|
+
"serviceFullName" => "AWS CloudTrail",
|
349
|
+
"signatureVersion" => "v4",
|
350
|
+
"targetPrefix" => "com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101",
|
351
|
+
}
|
352
|
+
|
353
|
+
api.add_operation(:add_tags, Seahorse::Model::Operation.new.tap do |o|
|
354
|
+
o.name = "AddTags"
|
355
|
+
o.http_method = "POST"
|
356
|
+
o.http_request_uri = "/"
|
357
|
+
o.input = Shapes::ShapeRef.new(shape: AddTagsRequest)
|
358
|
+
o.output = Shapes::ShapeRef.new(shape: AddTagsResponse)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
|
362
|
+
o.errors << Shapes::ShapeRef.new(shape: TagsLimitExceededException)
|
363
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
367
|
+
end)
|
368
|
+
|
369
|
+
api.add_operation(:create_trail, Seahorse::Model::Operation.new.tap do |o|
|
370
|
+
o.name = "CreateTrail"
|
371
|
+
o.http_method = "POST"
|
372
|
+
o.http_request_uri = "/"
|
373
|
+
o.input = Shapes::ShapeRef.new(shape: CreateTrailRequest)
|
374
|
+
o.output = Shapes::ShapeRef.new(shape: CreateTrailResponse)
|
375
|
+
o.errors << Shapes::ShapeRef.new(shape: MaximumNumberOfTrailsExceededException)
|
376
|
+
o.errors << Shapes::ShapeRef.new(shape: TrailAlreadyExistsException)
|
377
|
+
o.errors << Shapes::ShapeRef.new(shape: S3BucketDoesNotExistException)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientS3BucketPolicyException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientSnsTopicPolicyException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3BucketNameException)
|
382
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3PrefixException)
|
383
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSnsTopicNameException)
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKmsKeyIdException)
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
386
|
+
o.errors << Shapes::ShapeRef.new(shape: TrailNotProvidedException)
|
387
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
388
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsKeyDisabledException)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCloudWatchLogsLogGroupArnException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCloudWatchLogsRoleArnException)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudWatchLogsDeliveryUnavailableException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
396
|
+
end)
|
397
|
+
|
398
|
+
api.add_operation(:delete_trail, Seahorse::Model::Operation.new.tap do |o|
|
399
|
+
o.name = "DeleteTrail"
|
400
|
+
o.http_method = "POST"
|
401
|
+
o.http_request_uri = "/"
|
402
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTrailRequest)
|
403
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteTrailResponse)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
407
|
+
end)
|
408
|
+
|
409
|
+
api.add_operation(:describe_trails, Seahorse::Model::Operation.new.tap do |o|
|
410
|
+
o.name = "DescribeTrails"
|
411
|
+
o.http_method = "POST"
|
412
|
+
o.http_request_uri = "/"
|
413
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTrailsRequest)
|
414
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTrailsResponse)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
417
|
+
end)
|
418
|
+
|
419
|
+
api.add_operation(:get_event_selectors, Seahorse::Model::Operation.new.tap do |o|
|
420
|
+
o.name = "GetEventSelectors"
|
421
|
+
o.http_method = "POST"
|
422
|
+
o.http_request_uri = "/"
|
423
|
+
o.input = Shapes::ShapeRef.new(shape: GetEventSelectorsRequest)
|
424
|
+
o.output = Shapes::ShapeRef.new(shape: GetEventSelectorsResponse)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
429
|
+
end)
|
430
|
+
|
431
|
+
api.add_operation(:get_trail_status, Seahorse::Model::Operation.new.tap do |o|
|
432
|
+
o.name = "GetTrailStatus"
|
433
|
+
o.http_method = "POST"
|
434
|
+
o.http_request_uri = "/"
|
435
|
+
o.input = Shapes::ShapeRef.new(shape: GetTrailStatusRequest)
|
436
|
+
o.output = Shapes::ShapeRef.new(shape: GetTrailStatusResponse)
|
437
|
+
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
439
|
+
end)
|
440
|
+
|
441
|
+
api.add_operation(:list_public_keys, Seahorse::Model::Operation.new.tap do |o|
|
442
|
+
o.name = "ListPublicKeys"
|
443
|
+
o.http_method = "POST"
|
444
|
+
o.http_request_uri = "/"
|
445
|
+
o.input = Shapes::ShapeRef.new(shape: ListPublicKeysRequest)
|
446
|
+
o.output = Shapes::ShapeRef.new(shape: ListPublicKeysResponse)
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTimeRangeException)
|
448
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTokenException)
|
451
|
+
end)
|
452
|
+
|
453
|
+
api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
|
454
|
+
o.name = "ListTags"
|
455
|
+
o.http_method = "POST"
|
456
|
+
o.http_request_uri = "/"
|
457
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsRequest)
|
458
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsResponse)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTokenException)
|
466
|
+
end)
|
467
|
+
|
468
|
+
api.add_operation(:lookup_events, Seahorse::Model::Operation.new.tap do |o|
|
469
|
+
o.name = "LookupEvents"
|
470
|
+
o.http_method = "POST"
|
471
|
+
o.http_request_uri = "/"
|
472
|
+
o.input = Shapes::ShapeRef.new(shape: LookupEventsRequest)
|
473
|
+
o.output = Shapes::ShapeRef.new(shape: LookupEventsResponse)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidLookupAttributesException)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTimeRangeException)
|
476
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
478
|
+
end)
|
479
|
+
|
480
|
+
api.add_operation(:put_event_selectors, Seahorse::Model::Operation.new.tap do |o|
|
481
|
+
o.name = "PutEventSelectors"
|
482
|
+
o.http_method = "POST"
|
483
|
+
o.http_request_uri = "/"
|
484
|
+
o.input = Shapes::ShapeRef.new(shape: PutEventSelectorsRequest)
|
485
|
+
o.output = Shapes::ShapeRef.new(shape: PutEventSelectorsResponse)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
489
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
|
490
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
492
|
+
end)
|
493
|
+
|
494
|
+
api.add_operation(:remove_tags, Seahorse::Model::Operation.new.tap do |o|
|
495
|
+
o.name = "RemoveTags"
|
496
|
+
o.http_method = "POST"
|
497
|
+
o.http_request_uri = "/"
|
498
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveTagsRequest)
|
499
|
+
o.output = Shapes::ShapeRef.new(shape: RemoveTagsResponse)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
|
505
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
507
|
+
end)
|
508
|
+
|
509
|
+
api.add_operation(:start_logging, Seahorse::Model::Operation.new.tap do |o|
|
510
|
+
o.name = "StartLogging"
|
511
|
+
o.http_method = "POST"
|
512
|
+
o.http_request_uri = "/"
|
513
|
+
o.input = Shapes::ShapeRef.new(shape: StartLoggingRequest)
|
514
|
+
o.output = Shapes::ShapeRef.new(shape: StartLoggingResponse)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
518
|
+
end)
|
519
|
+
|
520
|
+
api.add_operation(:stop_logging, Seahorse::Model::Operation.new.tap do |o|
|
521
|
+
o.name = "StopLogging"
|
522
|
+
o.http_method = "POST"
|
523
|
+
o.http_request_uri = "/"
|
524
|
+
o.input = Shapes::ShapeRef.new(shape: StopLoggingRequest)
|
525
|
+
o.output = Shapes::ShapeRef.new(shape: StopLoggingResponse)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
529
|
+
end)
|
530
|
+
|
531
|
+
api.add_operation(:update_trail, Seahorse::Model::Operation.new.tap do |o|
|
532
|
+
o.name = "UpdateTrail"
|
533
|
+
o.http_method = "POST"
|
534
|
+
o.http_request_uri = "/"
|
535
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateTrailRequest)
|
536
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateTrailResponse)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: S3BucketDoesNotExistException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientS3BucketPolicyException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientSnsTopicPolicyException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
|
541
|
+
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
542
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3BucketNameException)
|
543
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3PrefixException)
|
544
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSnsTopicNameException)
|
545
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKmsKeyIdException)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: TrailNotProvidedException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsKeyDisabledException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCloudWatchLogsLogGroupArnException)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCloudWatchLogsRoleArnException)
|
555
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudWatchLogsDeliveryUnavailableException)
|
556
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
558
|
+
end)
|
559
|
+
end
|
560
|
+
|
561
|
+
end
|
562
|
+
end
|
563
|
+
end
|