aws-sdk-notifications 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-notifications/client.rb +1562 -0
- data/lib/aws-sdk-notifications/client_api.rb +861 -0
- data/lib/aws-sdk-notifications/customizations.rb +0 -0
- data/lib/aws-sdk-notifications/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-notifications/endpoint_provider.rb +35 -0
- data/lib/aws-sdk-notifications/endpoints.rb +20 -0
- data/lib/aws-sdk-notifications/errors.rb +217 -0
- data/lib/aws-sdk-notifications/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-notifications/resource.rb +26 -0
- data/lib/aws-sdk-notifications/types.rb +2075 -0
- data/lib/aws-sdk-notifications/waiters.rb +15 -0
- data/lib/aws-sdk-notifications.rb +62 -0
- data/sig/client.rbs +347 -0
- data/sig/errors.rbs +48 -0
- data/sig/resource.rbs +82 -0
- data/sig/types.rbs +467 -0
- data/sig/waiters.rbs +13 -0
- metadata +100 -0
@@ -0,0 +1,861 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::Notifications
|
12
|
+
# @api private
|
13
|
+
module ClientApi
|
14
|
+
|
15
|
+
include Seahorse::Model
|
16
|
+
|
17
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
19
|
+
AggregationDuration = Shapes::StringShape.new(name: 'AggregationDuration')
|
20
|
+
AggregationEventType = Shapes::StringShape.new(name: 'AggregationEventType')
|
21
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
22
|
+
AssociateChannelRequest = Shapes::StructureShape.new(name: 'AssociateChannelRequest')
|
23
|
+
AssociateChannelResponse = Shapes::StructureShape.new(name: 'AssociateChannelResponse')
|
24
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
25
|
+
ChannelArn = Shapes::StringShape.new(name: 'ChannelArn')
|
26
|
+
Channels = Shapes::ListShape.new(name: 'Channels')
|
27
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
28
|
+
CreateEventRuleRequest = Shapes::StructureShape.new(name: 'CreateEventRuleRequest')
|
29
|
+
CreateEventRuleResponse = Shapes::StructureShape.new(name: 'CreateEventRuleResponse')
|
30
|
+
CreateNotificationConfigurationRequest = Shapes::StructureShape.new(name: 'CreateNotificationConfigurationRequest')
|
31
|
+
CreateNotificationConfigurationResponse = Shapes::StructureShape.new(name: 'CreateNotificationConfigurationResponse')
|
32
|
+
CreationTime = Shapes::TimestampShape.new(name: 'CreationTime', timestampFormat: "iso8601")
|
33
|
+
DeleteEventRuleRequest = Shapes::StructureShape.new(name: 'DeleteEventRuleRequest')
|
34
|
+
DeleteEventRuleResponse = Shapes::StructureShape.new(name: 'DeleteEventRuleResponse')
|
35
|
+
DeleteNotificationConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteNotificationConfigurationRequest')
|
36
|
+
DeleteNotificationConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteNotificationConfigurationResponse')
|
37
|
+
DeregisterNotificationHubRequest = Shapes::StructureShape.new(name: 'DeregisterNotificationHubRequest')
|
38
|
+
DeregisterNotificationHubResponse = Shapes::StructureShape.new(name: 'DeregisterNotificationHubResponse')
|
39
|
+
Dimension = Shapes::StructureShape.new(name: 'Dimension')
|
40
|
+
Dimensions = Shapes::ListShape.new(name: 'Dimensions')
|
41
|
+
DisassociateChannelRequest = Shapes::StructureShape.new(name: 'DisassociateChannelRequest')
|
42
|
+
DisassociateChannelResponse = Shapes::StructureShape.new(name: 'DisassociateChannelResponse')
|
43
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
44
|
+
EventRuleArn = Shapes::StringShape.new(name: 'EventRuleArn')
|
45
|
+
EventRuleEventPattern = Shapes::StringShape.new(name: 'EventRuleEventPattern')
|
46
|
+
EventRuleStatus = Shapes::StringShape.new(name: 'EventRuleStatus')
|
47
|
+
EventRuleStatusReason = Shapes::StringShape.new(name: 'EventRuleStatusReason')
|
48
|
+
EventRuleStatusSummary = Shapes::StructureShape.new(name: 'EventRuleStatusSummary')
|
49
|
+
EventRuleStructure = Shapes::StructureShape.new(name: 'EventRuleStructure')
|
50
|
+
EventRules = Shapes::ListShape.new(name: 'EventRules')
|
51
|
+
EventStatus = Shapes::StringShape.new(name: 'EventStatus')
|
52
|
+
EventType = Shapes::StringShape.new(name: 'EventType')
|
53
|
+
GetEventRuleRequest = Shapes::StructureShape.new(name: 'GetEventRuleRequest')
|
54
|
+
GetEventRuleResponse = Shapes::StructureShape.new(name: 'GetEventRuleResponse')
|
55
|
+
GetNotificationConfigurationRequest = Shapes::StructureShape.new(name: 'GetNotificationConfigurationRequest')
|
56
|
+
GetNotificationConfigurationResponse = Shapes::StructureShape.new(name: 'GetNotificationConfigurationResponse')
|
57
|
+
GetNotificationEventRequest = Shapes::StructureShape.new(name: 'GetNotificationEventRequest')
|
58
|
+
GetNotificationEventResponse = Shapes::StructureShape.new(name: 'GetNotificationEventResponse')
|
59
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
60
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
61
|
+
LastActivationTime = Shapes::TimestampShape.new(name: 'LastActivationTime', timestampFormat: "iso8601")
|
62
|
+
ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
|
63
|
+
ListChannelsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListChannelsRequestMaxResultsInteger')
|
64
|
+
ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
|
65
|
+
ListEventRulesRequest = Shapes::StructureShape.new(name: 'ListEventRulesRequest')
|
66
|
+
ListEventRulesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListEventRulesRequestMaxResultsInteger')
|
67
|
+
ListEventRulesResponse = Shapes::StructureShape.new(name: 'ListEventRulesResponse')
|
68
|
+
ListNotificationConfigurationsRequest = Shapes::StructureShape.new(name: 'ListNotificationConfigurationsRequest')
|
69
|
+
ListNotificationConfigurationsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListNotificationConfigurationsRequestMaxResultsInteger')
|
70
|
+
ListNotificationConfigurationsResponse = Shapes::StructureShape.new(name: 'ListNotificationConfigurationsResponse')
|
71
|
+
ListNotificationEventsRequest = Shapes::StructureShape.new(name: 'ListNotificationEventsRequest')
|
72
|
+
ListNotificationEventsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListNotificationEventsRequestMaxResultsInteger')
|
73
|
+
ListNotificationEventsResponse = Shapes::StructureShape.new(name: 'ListNotificationEventsResponse')
|
74
|
+
ListNotificationHubsRequest = Shapes::StructureShape.new(name: 'ListNotificationHubsRequest')
|
75
|
+
ListNotificationHubsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListNotificationHubsRequestMaxResultsInteger')
|
76
|
+
ListNotificationHubsResponse = Shapes::StructureShape.new(name: 'ListNotificationHubsResponse')
|
77
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
78
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
79
|
+
LocaleCode = Shapes::StringShape.new(name: 'LocaleCode')
|
80
|
+
ManagedRuleArn = Shapes::StringShape.new(name: 'ManagedRuleArn')
|
81
|
+
ManagedRuleArns = Shapes::ListShape.new(name: 'ManagedRuleArns')
|
82
|
+
Media = Shapes::ListShape.new(name: 'Media')
|
83
|
+
MediaElement = Shapes::StructureShape.new(name: 'MediaElement')
|
84
|
+
MediaElementType = Shapes::StringShape.new(name: 'MediaElementType')
|
85
|
+
MediaId = Shapes::StringShape.new(name: 'MediaId')
|
86
|
+
MessageComponents = Shapes::StructureShape.new(name: 'MessageComponents')
|
87
|
+
MessageComponentsSummary = Shapes::StructureShape.new(name: 'MessageComponentsSummary')
|
88
|
+
MessageComponentsSummaryHeadlineString = Shapes::StringShape.new(name: 'MessageComponentsSummaryHeadlineString')
|
89
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
90
|
+
NotificationConfigurationArn = Shapes::StringShape.new(name: 'NotificationConfigurationArn')
|
91
|
+
NotificationConfigurationDescription = Shapes::StringShape.new(name: 'NotificationConfigurationDescription')
|
92
|
+
NotificationConfigurationName = Shapes::StringShape.new(name: 'NotificationConfigurationName')
|
93
|
+
NotificationConfigurationStatus = Shapes::StringShape.new(name: 'NotificationConfigurationStatus')
|
94
|
+
NotificationConfigurationStructure = Shapes::StructureShape.new(name: 'NotificationConfigurationStructure')
|
95
|
+
NotificationConfigurations = Shapes::ListShape.new(name: 'NotificationConfigurations')
|
96
|
+
NotificationEvent = Shapes::StructureShape.new(name: 'NotificationEvent')
|
97
|
+
NotificationEventArn = Shapes::StringShape.new(name: 'NotificationEventArn')
|
98
|
+
NotificationEventId = Shapes::StringShape.new(name: 'NotificationEventId')
|
99
|
+
NotificationEventOverview = Shapes::StructureShape.new(name: 'NotificationEventOverview')
|
100
|
+
NotificationEventSummary = Shapes::StructureShape.new(name: 'NotificationEventSummary')
|
101
|
+
NotificationEvents = Shapes::ListShape.new(name: 'NotificationEvents')
|
102
|
+
NotificationHubOverview = Shapes::StructureShape.new(name: 'NotificationHubOverview')
|
103
|
+
NotificationHubStatus = Shapes::StringShape.new(name: 'NotificationHubStatus')
|
104
|
+
NotificationHubStatusReason = Shapes::StringShape.new(name: 'NotificationHubStatusReason')
|
105
|
+
NotificationHubStatusSummary = Shapes::StructureShape.new(name: 'NotificationHubStatusSummary')
|
106
|
+
NotificationHubs = Shapes::ListShape.new(name: 'NotificationHubs')
|
107
|
+
NotificationType = Shapes::StringShape.new(name: 'NotificationType')
|
108
|
+
QuotaCode = Shapes::StringShape.new(name: 'QuotaCode')
|
109
|
+
Region = Shapes::StringShape.new(name: 'Region')
|
110
|
+
Regions = Shapes::ListShape.new(name: 'Regions')
|
111
|
+
RegisterNotificationHubRequest = Shapes::StructureShape.new(name: 'RegisterNotificationHubRequest')
|
112
|
+
RegisterNotificationHubResponse = Shapes::StructureShape.new(name: 'RegisterNotificationHubResponse')
|
113
|
+
Resource = Shapes::StructureShape.new(name: 'Resource')
|
114
|
+
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
115
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
116
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
117
|
+
Resources = Shapes::ListShape.new(name: 'Resources')
|
118
|
+
SchemaVersion = Shapes::StringShape.new(name: 'SchemaVersion')
|
119
|
+
ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
|
120
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
121
|
+
Source = Shapes::StringShape.new(name: 'Source')
|
122
|
+
SourceEventMetadata = Shapes::StructureShape.new(name: 'SourceEventMetadata')
|
123
|
+
SourceEventMetadataEventOriginRegionString = Shapes::StringShape.new(name: 'SourceEventMetadataEventOriginRegionString')
|
124
|
+
SourceEventMetadataEventTypeString = Shapes::StringShape.new(name: 'SourceEventMetadataEventTypeString')
|
125
|
+
SourceEventMetadataEventTypeVersionString = Shapes::StringShape.new(name: 'SourceEventMetadataEventTypeVersionString')
|
126
|
+
SourceEventMetadataRelatedAccountString = Shapes::StringShape.new(name: 'SourceEventMetadataRelatedAccountString')
|
127
|
+
SourceEventMetadataSummary = Shapes::StructureShape.new(name: 'SourceEventMetadataSummary')
|
128
|
+
SourceEventMetadataSummaryEventOriginRegionString = Shapes::StringShape.new(name: 'SourceEventMetadataSummaryEventOriginRegionString')
|
129
|
+
SourceEventMetadataSummaryEventTypeString = Shapes::StringShape.new(name: 'SourceEventMetadataSummaryEventTypeString')
|
130
|
+
StatusSummaryByRegion = Shapes::MapShape.new(name: 'StatusSummaryByRegion')
|
131
|
+
String = Shapes::StringShape.new(name: 'String')
|
132
|
+
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
133
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
134
|
+
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
135
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
136
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
137
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
138
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
139
|
+
Tags = Shapes::ListShape.new(name: 'Tags')
|
140
|
+
TagsMemberString = Shapes::StringShape.new(name: 'TagsMemberString')
|
141
|
+
TextByLocale = Shapes::MapShape.new(name: 'TextByLocale')
|
142
|
+
TextPartId = Shapes::StringShape.new(name: 'TextPartId')
|
143
|
+
TextPartReference = Shapes::StringShape.new(name: 'TextPartReference')
|
144
|
+
TextPartType = Shapes::StringShape.new(name: 'TextPartType')
|
145
|
+
TextPartValue = Shapes::StructureShape.new(name: 'TextPartValue')
|
146
|
+
TextPartValueDisplayTextString = Shapes::StringShape.new(name: 'TextPartValueDisplayTextString')
|
147
|
+
TextParts = Shapes::MapShape.new(name: 'TextParts')
|
148
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
149
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
150
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
151
|
+
UpdateEventRuleRequest = Shapes::StructureShape.new(name: 'UpdateEventRuleRequest')
|
152
|
+
UpdateEventRuleResponse = Shapes::StructureShape.new(name: 'UpdateEventRuleResponse')
|
153
|
+
UpdateNotificationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateNotificationConfigurationRequest')
|
154
|
+
UpdateNotificationConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateNotificationConfigurationResponse')
|
155
|
+
Url = Shapes::StringShape.new(name: 'Url')
|
156
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
157
|
+
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
158
|
+
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
159
|
+
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
160
|
+
|
161
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
162
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
163
|
+
|
164
|
+
AssociateChannelRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location: "uri", location_name: "arn"))
|
165
|
+
AssociateChannelRequest.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "notificationConfigurationArn"))
|
166
|
+
AssociateChannelRequest.struct_class = Types::AssociateChannelRequest
|
167
|
+
|
168
|
+
AssociateChannelResponse.struct_class = Types::AssociateChannelResponse
|
169
|
+
|
170
|
+
Channels.member = Shapes::ShapeRef.new(shape: ChannelArn)
|
171
|
+
|
172
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
173
|
+
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
|
174
|
+
ConflictException.struct_class = Types::ConflictException
|
175
|
+
|
176
|
+
CreateEventRuleRequest.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "notificationConfigurationArn"))
|
177
|
+
CreateEventRuleRequest.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
178
|
+
CreateEventRuleRequest.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "eventType"))
|
179
|
+
CreateEventRuleRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventRuleEventPattern, location_name: "eventPattern"))
|
180
|
+
CreateEventRuleRequest.add_member(:regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "regions"))
|
181
|
+
CreateEventRuleRequest.struct_class = Types::CreateEventRuleRequest
|
182
|
+
|
183
|
+
CreateEventRuleResponse.add_member(:arn, Shapes::ShapeRef.new(shape: EventRuleArn, required: true, location_name: "arn"))
|
184
|
+
CreateEventRuleResponse.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "notificationConfigurationArn"))
|
185
|
+
CreateEventRuleResponse.add_member(:status_summary_by_region, Shapes::ShapeRef.new(shape: StatusSummaryByRegion, required: true, location_name: "statusSummaryByRegion"))
|
186
|
+
CreateEventRuleResponse.struct_class = Types::CreateEventRuleResponse
|
187
|
+
|
188
|
+
CreateNotificationConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: NotificationConfigurationName, required: true, location_name: "name"))
|
189
|
+
CreateNotificationConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: NotificationConfigurationDescription, required: true, location_name: "description"))
|
190
|
+
CreateNotificationConfigurationRequest.add_member(:aggregation_duration, Shapes::ShapeRef.new(shape: AggregationDuration, location_name: "aggregationDuration"))
|
191
|
+
CreateNotificationConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
192
|
+
CreateNotificationConfigurationRequest.struct_class = Types::CreateNotificationConfigurationRequest
|
193
|
+
|
194
|
+
CreateNotificationConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "arn"))
|
195
|
+
CreateNotificationConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: NotificationConfigurationStatus, required: true, location_name: "status"))
|
196
|
+
CreateNotificationConfigurationResponse.struct_class = Types::CreateNotificationConfigurationResponse
|
197
|
+
|
198
|
+
DeleteEventRuleRequest.add_member(:arn, Shapes::ShapeRef.new(shape: EventRuleArn, required: true, location: "uri", location_name: "arn"))
|
199
|
+
DeleteEventRuleRequest.struct_class = Types::DeleteEventRuleRequest
|
200
|
+
|
201
|
+
DeleteEventRuleResponse.struct_class = Types::DeleteEventRuleResponse
|
202
|
+
|
203
|
+
DeleteNotificationConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location: "uri", location_name: "arn"))
|
204
|
+
DeleteNotificationConfigurationRequest.struct_class = Types::DeleteNotificationConfigurationRequest
|
205
|
+
|
206
|
+
DeleteNotificationConfigurationResponse.struct_class = Types::DeleteNotificationConfigurationResponse
|
207
|
+
|
208
|
+
DeregisterNotificationHubRequest.add_member(:notification_hub_region, Shapes::ShapeRef.new(shape: Region, required: true, location: "uri", location_name: "notificationHubRegion"))
|
209
|
+
DeregisterNotificationHubRequest.struct_class = Types::DeregisterNotificationHubRequest
|
210
|
+
|
211
|
+
DeregisterNotificationHubResponse.add_member(:notification_hub_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "notificationHubRegion"))
|
212
|
+
DeregisterNotificationHubResponse.add_member(:status_summary, Shapes::ShapeRef.new(shape: NotificationHubStatusSummary, required: true, location_name: "statusSummary"))
|
213
|
+
DeregisterNotificationHubResponse.struct_class = Types::DeregisterNotificationHubResponse
|
214
|
+
|
215
|
+
Dimension.add_member(:name, Shapes::ShapeRef.new(shape: TextPartReference, required: true, location_name: "name"))
|
216
|
+
Dimension.add_member(:value, Shapes::ShapeRef.new(shape: TextPartReference, required: true, location_name: "value"))
|
217
|
+
Dimension.struct_class = Types::Dimension
|
218
|
+
|
219
|
+
Dimensions.member = Shapes::ShapeRef.new(shape: Dimension)
|
220
|
+
|
221
|
+
DisassociateChannelRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location: "uri", location_name: "arn"))
|
222
|
+
DisassociateChannelRequest.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "notificationConfigurationArn"))
|
223
|
+
DisassociateChannelRequest.struct_class = Types::DisassociateChannelRequest
|
224
|
+
|
225
|
+
DisassociateChannelResponse.struct_class = Types::DisassociateChannelResponse
|
226
|
+
|
227
|
+
EventRuleStatusSummary.add_member(:status, Shapes::ShapeRef.new(shape: EventRuleStatus, required: true, location_name: "status"))
|
228
|
+
EventRuleStatusSummary.add_member(:reason, Shapes::ShapeRef.new(shape: EventRuleStatusReason, required: true, location_name: "reason"))
|
229
|
+
EventRuleStatusSummary.struct_class = Types::EventRuleStatusSummary
|
230
|
+
|
231
|
+
EventRuleStructure.add_member(:arn, Shapes::ShapeRef.new(shape: EventRuleArn, required: true, location_name: "arn"))
|
232
|
+
EventRuleStructure.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "notificationConfigurationArn"))
|
233
|
+
EventRuleStructure.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "creationTime"))
|
234
|
+
EventRuleStructure.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
235
|
+
EventRuleStructure.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "eventType"))
|
236
|
+
EventRuleStructure.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventRuleEventPattern, required: true, location_name: "eventPattern"))
|
237
|
+
EventRuleStructure.add_member(:regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "regions"))
|
238
|
+
EventRuleStructure.add_member(:managed_rules, Shapes::ShapeRef.new(shape: ManagedRuleArns, required: true, location_name: "managedRules"))
|
239
|
+
EventRuleStructure.add_member(:status_summary_by_region, Shapes::ShapeRef.new(shape: StatusSummaryByRegion, required: true, location_name: "statusSummaryByRegion"))
|
240
|
+
EventRuleStructure.struct_class = Types::EventRuleStructure
|
241
|
+
|
242
|
+
EventRules.member = Shapes::ShapeRef.new(shape: EventRuleStructure)
|
243
|
+
|
244
|
+
GetEventRuleRequest.add_member(:arn, Shapes::ShapeRef.new(shape: EventRuleArn, required: true, location: "uri", location_name: "arn"))
|
245
|
+
GetEventRuleRequest.struct_class = Types::GetEventRuleRequest
|
246
|
+
|
247
|
+
GetEventRuleResponse.add_member(:arn, Shapes::ShapeRef.new(shape: EventRuleArn, required: true, location_name: "arn"))
|
248
|
+
GetEventRuleResponse.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "notificationConfigurationArn"))
|
249
|
+
GetEventRuleResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "creationTime"))
|
250
|
+
GetEventRuleResponse.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
251
|
+
GetEventRuleResponse.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "eventType"))
|
252
|
+
GetEventRuleResponse.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventRuleEventPattern, required: true, location_name: "eventPattern"))
|
253
|
+
GetEventRuleResponse.add_member(:regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "regions"))
|
254
|
+
GetEventRuleResponse.add_member(:managed_rules, Shapes::ShapeRef.new(shape: ManagedRuleArns, required: true, location_name: "managedRules"))
|
255
|
+
GetEventRuleResponse.add_member(:status_summary_by_region, Shapes::ShapeRef.new(shape: StatusSummaryByRegion, required: true, location_name: "statusSummaryByRegion"))
|
256
|
+
GetEventRuleResponse.struct_class = Types::GetEventRuleResponse
|
257
|
+
|
258
|
+
GetNotificationConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location: "uri", location_name: "arn"))
|
259
|
+
GetNotificationConfigurationRequest.struct_class = Types::GetNotificationConfigurationRequest
|
260
|
+
|
261
|
+
GetNotificationConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "arn"))
|
262
|
+
GetNotificationConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: NotificationConfigurationName, required: true, location_name: "name"))
|
263
|
+
GetNotificationConfigurationResponse.add_member(:description, Shapes::ShapeRef.new(shape: NotificationConfigurationDescription, required: true, location_name: "description"))
|
264
|
+
GetNotificationConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: NotificationConfigurationStatus, required: true, location_name: "status"))
|
265
|
+
GetNotificationConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "creationTime"))
|
266
|
+
GetNotificationConfigurationResponse.add_member(:aggregation_duration, Shapes::ShapeRef.new(shape: AggregationDuration, location_name: "aggregationDuration"))
|
267
|
+
GetNotificationConfigurationResponse.struct_class = Types::GetNotificationConfigurationResponse
|
268
|
+
|
269
|
+
GetNotificationEventRequest.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationEventArn, required: true, location: "uri", location_name: "arn"))
|
270
|
+
GetNotificationEventRequest.add_member(:locale, Shapes::ShapeRef.new(shape: LocaleCode, location: "querystring", location_name: "locale"))
|
271
|
+
GetNotificationEventRequest.struct_class = Types::GetNotificationEventRequest
|
272
|
+
|
273
|
+
GetNotificationEventResponse.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationEventArn, required: true, location_name: "arn"))
|
274
|
+
GetNotificationEventResponse.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "notificationConfigurationArn"))
|
275
|
+
GetNotificationEventResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "creationTime"))
|
276
|
+
GetNotificationEventResponse.add_member(:content, Shapes::ShapeRef.new(shape: NotificationEvent, required: true, location_name: "content"))
|
277
|
+
GetNotificationEventResponse.struct_class = Types::GetNotificationEventResponse
|
278
|
+
|
279
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
280
|
+
InternalServerException.struct_class = Types::InternalServerException
|
281
|
+
|
282
|
+
ListChannelsRequest.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location: "querystring", location_name: "notificationConfigurationArn"))
|
283
|
+
ListChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListChannelsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
284
|
+
ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
285
|
+
ListChannelsRequest.struct_class = Types::ListChannelsRequest
|
286
|
+
|
287
|
+
ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
288
|
+
ListChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, required: true, location_name: "channels"))
|
289
|
+
ListChannelsResponse.struct_class = Types::ListChannelsResponse
|
290
|
+
|
291
|
+
ListEventRulesRequest.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location: "querystring", location_name: "notificationConfigurationArn"))
|
292
|
+
ListEventRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEventRulesRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
293
|
+
ListEventRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
294
|
+
ListEventRulesRequest.struct_class = Types::ListEventRulesRequest
|
295
|
+
|
296
|
+
ListEventRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
297
|
+
ListEventRulesResponse.add_member(:event_rules, Shapes::ShapeRef.new(shape: EventRules, required: true, location_name: "eventRules"))
|
298
|
+
ListEventRulesResponse.struct_class = Types::ListEventRulesResponse
|
299
|
+
|
300
|
+
ListNotificationConfigurationsRequest.add_member(:event_rule_source, Shapes::ShapeRef.new(shape: Source, location: "querystring", location_name: "eventRuleSource"))
|
301
|
+
ListNotificationConfigurationsRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location: "querystring", location_name: "channelArn"))
|
302
|
+
ListNotificationConfigurationsRequest.add_member(:status, Shapes::ShapeRef.new(shape: NotificationConfigurationStatus, location: "querystring", location_name: "status"))
|
303
|
+
ListNotificationConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNotificationConfigurationsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
304
|
+
ListNotificationConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
305
|
+
ListNotificationConfigurationsRequest.struct_class = Types::ListNotificationConfigurationsRequest
|
306
|
+
|
307
|
+
ListNotificationConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
308
|
+
ListNotificationConfigurationsResponse.add_member(:notification_configurations, Shapes::ShapeRef.new(shape: NotificationConfigurations, required: true, location_name: "notificationConfigurations"))
|
309
|
+
ListNotificationConfigurationsResponse.struct_class = Types::ListNotificationConfigurationsResponse
|
310
|
+
|
311
|
+
ListNotificationEventsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location: "querystring", location_name: "startTime"))
|
312
|
+
ListNotificationEventsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location: "querystring", location_name: "endTime"))
|
313
|
+
ListNotificationEventsRequest.add_member(:locale, Shapes::ShapeRef.new(shape: LocaleCode, location: "querystring", location_name: "locale"))
|
314
|
+
ListNotificationEventsRequest.add_member(:source, Shapes::ShapeRef.new(shape: Source, location: "querystring", location_name: "source"))
|
315
|
+
ListNotificationEventsRequest.add_member(:include_child_events, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "includeChildEvents"))
|
316
|
+
ListNotificationEventsRequest.add_member(:aggregate_notification_event_arn, Shapes::ShapeRef.new(shape: NotificationEventArn, location: "querystring", location_name: "aggregateNotificationEventArn"))
|
317
|
+
ListNotificationEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNotificationEventsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
318
|
+
ListNotificationEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
319
|
+
ListNotificationEventsRequest.struct_class = Types::ListNotificationEventsRequest
|
320
|
+
|
321
|
+
ListNotificationEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
322
|
+
ListNotificationEventsResponse.add_member(:notification_events, Shapes::ShapeRef.new(shape: NotificationEvents, required: true, location_name: "notificationEvents"))
|
323
|
+
ListNotificationEventsResponse.struct_class = Types::ListNotificationEventsResponse
|
324
|
+
|
325
|
+
ListNotificationHubsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNotificationHubsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
326
|
+
ListNotificationHubsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
327
|
+
ListNotificationHubsRequest.struct_class = Types::ListNotificationHubsRequest
|
328
|
+
|
329
|
+
ListNotificationHubsResponse.add_member(:notification_hubs, Shapes::ShapeRef.new(shape: NotificationHubs, required: true, location_name: "notificationHubs"))
|
330
|
+
ListNotificationHubsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
331
|
+
ListNotificationHubsResponse.struct_class = Types::ListNotificationHubsResponse
|
332
|
+
|
333
|
+
ListTagsForResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location: "uri", location_name: "arn"))
|
334
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
335
|
+
|
336
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
337
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
338
|
+
|
339
|
+
ManagedRuleArns.member = Shapes::ShapeRef.new(shape: ManagedRuleArn)
|
340
|
+
|
341
|
+
Media.member = Shapes::ShapeRef.new(shape: MediaElement)
|
342
|
+
|
343
|
+
MediaElement.add_member(:media_id, Shapes::ShapeRef.new(shape: MediaId, required: true, location_name: "mediaId"))
|
344
|
+
MediaElement.add_member(:type, Shapes::ShapeRef.new(shape: MediaElementType, required: true, location_name: "type"))
|
345
|
+
MediaElement.add_member(:url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "url"))
|
346
|
+
MediaElement.add_member(:caption, Shapes::ShapeRef.new(shape: TextPartReference, required: true, location_name: "caption"))
|
347
|
+
MediaElement.struct_class = Types::MediaElement
|
348
|
+
|
349
|
+
MessageComponents.add_member(:headline, Shapes::ShapeRef.new(shape: TextPartReference, location_name: "headline"))
|
350
|
+
MessageComponents.add_member(:paragraph_summary, Shapes::ShapeRef.new(shape: TextPartReference, location_name: "paragraphSummary"))
|
351
|
+
MessageComponents.add_member(:complete_description, Shapes::ShapeRef.new(shape: TextPartReference, location_name: "completeDescription"))
|
352
|
+
MessageComponents.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "dimensions"))
|
353
|
+
MessageComponents.struct_class = Types::MessageComponents
|
354
|
+
|
355
|
+
MessageComponentsSummary.add_member(:headline, Shapes::ShapeRef.new(shape: MessageComponentsSummaryHeadlineString, required: true, location_name: "headline"))
|
356
|
+
MessageComponentsSummary.struct_class = Types::MessageComponentsSummary
|
357
|
+
|
358
|
+
NotificationConfigurationStructure.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "arn"))
|
359
|
+
NotificationConfigurationStructure.add_member(:name, Shapes::ShapeRef.new(shape: NotificationConfigurationName, required: true, location_name: "name"))
|
360
|
+
NotificationConfigurationStructure.add_member(:description, Shapes::ShapeRef.new(shape: NotificationConfigurationDescription, required: true, location_name: "description"))
|
361
|
+
NotificationConfigurationStructure.add_member(:status, Shapes::ShapeRef.new(shape: NotificationConfigurationStatus, required: true, location_name: "status"))
|
362
|
+
NotificationConfigurationStructure.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "creationTime"))
|
363
|
+
NotificationConfigurationStructure.add_member(:aggregation_duration, Shapes::ShapeRef.new(shape: AggregationDuration, location_name: "aggregationDuration"))
|
364
|
+
NotificationConfigurationStructure.struct_class = Types::NotificationConfigurationStructure
|
365
|
+
|
366
|
+
NotificationConfigurations.member = Shapes::ShapeRef.new(shape: NotificationConfigurationStructure)
|
367
|
+
|
368
|
+
NotificationEvent.add_member(:schema_version, Shapes::ShapeRef.new(shape: SchemaVersion, required: true, location_name: "schemaVersion"))
|
369
|
+
NotificationEvent.add_member(:id, Shapes::ShapeRef.new(shape: NotificationEventId, required: true, location_name: "id"))
|
370
|
+
NotificationEvent.add_member(:source_event_metadata, Shapes::ShapeRef.new(shape: SourceEventMetadata, required: true, location_name: "sourceEventMetadata"))
|
371
|
+
NotificationEvent.add_member(:message_components, Shapes::ShapeRef.new(shape: MessageComponents, required: true, location_name: "messageComponents"))
|
372
|
+
NotificationEvent.add_member(:source_event_detail_url, Shapes::ShapeRef.new(shape: Url, location_name: "sourceEventDetailUrl"))
|
373
|
+
NotificationEvent.add_member(:source_event_detail_url_display_text, Shapes::ShapeRef.new(shape: String, location_name: "sourceEventDetailUrlDisplayText"))
|
374
|
+
NotificationEvent.add_member(:notification_type, Shapes::ShapeRef.new(shape: NotificationType, required: true, location_name: "notificationType"))
|
375
|
+
NotificationEvent.add_member(:event_status, Shapes::ShapeRef.new(shape: EventStatus, location_name: "eventStatus"))
|
376
|
+
NotificationEvent.add_member(:aggregation_event_type, Shapes::ShapeRef.new(shape: AggregationEventType, location_name: "aggregationEventType"))
|
377
|
+
NotificationEvent.add_member(:aggregate_notification_event_arn, Shapes::ShapeRef.new(shape: NotificationEventArn, location_name: "aggregateNotificationEventArn"))
|
378
|
+
NotificationEvent.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "startTime"))
|
379
|
+
NotificationEvent.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endTime"))
|
380
|
+
NotificationEvent.add_member(:text_parts, Shapes::ShapeRef.new(shape: TextParts, required: true, location_name: "textParts"))
|
381
|
+
NotificationEvent.add_member(:media, Shapes::ShapeRef.new(shape: Media, required: true, location_name: "media"))
|
382
|
+
NotificationEvent.struct_class = Types::NotificationEvent
|
383
|
+
|
384
|
+
NotificationEventOverview.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationEventArn, required: true, location_name: "arn"))
|
385
|
+
NotificationEventOverview.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "notificationConfigurationArn"))
|
386
|
+
NotificationEventOverview.add_member(:related_account, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "relatedAccount"))
|
387
|
+
NotificationEventOverview.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "creationTime"))
|
388
|
+
NotificationEventOverview.add_member(:notification_event, Shapes::ShapeRef.new(shape: NotificationEventSummary, required: true, location_name: "notificationEvent"))
|
389
|
+
NotificationEventOverview.add_member(:aggregation_event_type, Shapes::ShapeRef.new(shape: AggregationEventType, location_name: "aggregationEventType"))
|
390
|
+
NotificationEventOverview.add_member(:aggregate_notification_event_arn, Shapes::ShapeRef.new(shape: NotificationEventArn, location_name: "aggregateNotificationEventArn"))
|
391
|
+
NotificationEventOverview.struct_class = Types::NotificationEventOverview
|
392
|
+
|
393
|
+
NotificationEventSummary.add_member(:schema_version, Shapes::ShapeRef.new(shape: SchemaVersion, required: true, location_name: "schemaVersion"))
|
394
|
+
NotificationEventSummary.add_member(:source_event_metadata, Shapes::ShapeRef.new(shape: SourceEventMetadataSummary, required: true, location_name: "sourceEventMetadata"))
|
395
|
+
NotificationEventSummary.add_member(:message_components, Shapes::ShapeRef.new(shape: MessageComponentsSummary, required: true, location_name: "messageComponents"))
|
396
|
+
NotificationEventSummary.add_member(:event_status, Shapes::ShapeRef.new(shape: EventStatus, required: true, location_name: "eventStatus"))
|
397
|
+
NotificationEventSummary.add_member(:notification_type, Shapes::ShapeRef.new(shape: NotificationType, required: true, location_name: "notificationType"))
|
398
|
+
NotificationEventSummary.struct_class = Types::NotificationEventSummary
|
399
|
+
|
400
|
+
NotificationEvents.member = Shapes::ShapeRef.new(shape: NotificationEventOverview)
|
401
|
+
|
402
|
+
NotificationHubOverview.add_member(:notification_hub_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "notificationHubRegion"))
|
403
|
+
NotificationHubOverview.add_member(:status_summary, Shapes::ShapeRef.new(shape: NotificationHubStatusSummary, required: true, location_name: "statusSummary"))
|
404
|
+
NotificationHubOverview.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "creationTime"))
|
405
|
+
NotificationHubOverview.add_member(:last_activation_time, Shapes::ShapeRef.new(shape: LastActivationTime, location_name: "lastActivationTime"))
|
406
|
+
NotificationHubOverview.struct_class = Types::NotificationHubOverview
|
407
|
+
|
408
|
+
NotificationHubStatusSummary.add_member(:status, Shapes::ShapeRef.new(shape: NotificationHubStatus, required: true, location_name: "status"))
|
409
|
+
NotificationHubStatusSummary.add_member(:reason, Shapes::ShapeRef.new(shape: NotificationHubStatusReason, required: true, location_name: "reason"))
|
410
|
+
NotificationHubStatusSummary.struct_class = Types::NotificationHubStatusSummary
|
411
|
+
|
412
|
+
NotificationHubs.member = Shapes::ShapeRef.new(shape: NotificationHubOverview)
|
413
|
+
|
414
|
+
Regions.member = Shapes::ShapeRef.new(shape: Region)
|
415
|
+
|
416
|
+
RegisterNotificationHubRequest.add_member(:notification_hub_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "notificationHubRegion"))
|
417
|
+
RegisterNotificationHubRequest.struct_class = Types::RegisterNotificationHubRequest
|
418
|
+
|
419
|
+
RegisterNotificationHubResponse.add_member(:notification_hub_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "notificationHubRegion"))
|
420
|
+
RegisterNotificationHubResponse.add_member(:status_summary, Shapes::ShapeRef.new(shape: NotificationHubStatusSummary, required: true, location_name: "statusSummary"))
|
421
|
+
RegisterNotificationHubResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "creationTime"))
|
422
|
+
RegisterNotificationHubResponse.add_member(:last_activation_time, Shapes::ShapeRef.new(shape: LastActivationTime, location_name: "lastActivationTime"))
|
423
|
+
RegisterNotificationHubResponse.struct_class = Types::RegisterNotificationHubResponse
|
424
|
+
|
425
|
+
Resource.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
426
|
+
Resource.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
|
427
|
+
Resource.add_member(:detail_url, Shapes::ShapeRef.new(shape: Url, location_name: "detailUrl"))
|
428
|
+
Resource.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
429
|
+
Resource.struct_class = Types::Resource
|
430
|
+
|
431
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
432
|
+
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
|
433
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
434
|
+
|
435
|
+
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
436
|
+
|
437
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
438
|
+
ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
|
439
|
+
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
|
440
|
+
ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "serviceCode"))
|
441
|
+
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, location_name: "quotaCode"))
|
442
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
443
|
+
|
444
|
+
SourceEventMetadata.add_member(:event_type_version, Shapes::ShapeRef.new(shape: SourceEventMetadataEventTypeVersionString, required: true, location_name: "eventTypeVersion"))
|
445
|
+
SourceEventMetadata.add_member(:source_event_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sourceEventId"))
|
446
|
+
SourceEventMetadata.add_member(:event_origin_region, Shapes::ShapeRef.new(shape: SourceEventMetadataEventOriginRegionString, location_name: "eventOriginRegion"))
|
447
|
+
SourceEventMetadata.add_member(:related_account, Shapes::ShapeRef.new(shape: SourceEventMetadataRelatedAccountString, required: true, location_name: "relatedAccount"))
|
448
|
+
SourceEventMetadata.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
449
|
+
SourceEventMetadata.add_member(:event_occurrence_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "eventOccurrenceTime"))
|
450
|
+
SourceEventMetadata.add_member(:event_type, Shapes::ShapeRef.new(shape: SourceEventMetadataEventTypeString, required: true, location_name: "eventType"))
|
451
|
+
SourceEventMetadata.add_member(:related_resources, Shapes::ShapeRef.new(shape: Resources, required: true, location_name: "relatedResources"))
|
452
|
+
SourceEventMetadata.struct_class = Types::SourceEventMetadata
|
453
|
+
|
454
|
+
SourceEventMetadataSummary.add_member(:event_origin_region, Shapes::ShapeRef.new(shape: SourceEventMetadataSummaryEventOriginRegionString, location_name: "eventOriginRegion"))
|
455
|
+
SourceEventMetadataSummary.add_member(:source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "source"))
|
456
|
+
SourceEventMetadataSummary.add_member(:event_type, Shapes::ShapeRef.new(shape: SourceEventMetadataSummaryEventTypeString, required: true, location_name: "eventType"))
|
457
|
+
SourceEventMetadataSummary.struct_class = Types::SourceEventMetadataSummary
|
458
|
+
|
459
|
+
StatusSummaryByRegion.key = Shapes::ShapeRef.new(shape: Region)
|
460
|
+
StatusSummaryByRegion.value = Shapes::ShapeRef.new(shape: EventRuleStatusSummary)
|
461
|
+
|
462
|
+
TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
|
463
|
+
|
464
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
465
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
466
|
+
|
467
|
+
TagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location: "uri", location_name: "arn"))
|
468
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
469
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
470
|
+
|
471
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
472
|
+
|
473
|
+
Tags.member = Shapes::ShapeRef.new(shape: TagsMemberString)
|
474
|
+
|
475
|
+
TextByLocale.key = Shapes::ShapeRef.new(shape: LocaleCode)
|
476
|
+
TextByLocale.value = Shapes::ShapeRef.new(shape: String)
|
477
|
+
|
478
|
+
TextPartValue.add_member(:type, Shapes::ShapeRef.new(shape: TextPartType, required: true, location_name: "type"))
|
479
|
+
TextPartValue.add_member(:display_text, Shapes::ShapeRef.new(shape: TextPartValueDisplayTextString, location_name: "displayText"))
|
480
|
+
TextPartValue.add_member(:text_by_locale, Shapes::ShapeRef.new(shape: TextByLocale, location_name: "textByLocale"))
|
481
|
+
TextPartValue.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "url"))
|
482
|
+
TextPartValue.struct_class = Types::TextPartValue
|
483
|
+
|
484
|
+
TextParts.key = Shapes::ShapeRef.new(shape: TextPartId)
|
485
|
+
TextParts.value = Shapes::ShapeRef.new(shape: TextPartValue)
|
486
|
+
|
487
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
488
|
+
ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "serviceCode"))
|
489
|
+
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, location_name: "quotaCode"))
|
490
|
+
ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
491
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
492
|
+
|
493
|
+
UntagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location: "uri", location_name: "arn"))
|
494
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
|
495
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
496
|
+
|
497
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
498
|
+
|
499
|
+
UpdateEventRuleRequest.add_member(:arn, Shapes::ShapeRef.new(shape: EventRuleArn, required: true, location: "uri", location_name: "arn"))
|
500
|
+
UpdateEventRuleRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventRuleEventPattern, location_name: "eventPattern"))
|
501
|
+
UpdateEventRuleRequest.add_member(:regions, Shapes::ShapeRef.new(shape: Regions, location_name: "regions"))
|
502
|
+
UpdateEventRuleRequest.struct_class = Types::UpdateEventRuleRequest
|
503
|
+
|
504
|
+
UpdateEventRuleResponse.add_member(:arn, Shapes::ShapeRef.new(shape: EventRuleArn, required: true, location_name: "arn"))
|
505
|
+
UpdateEventRuleResponse.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "notificationConfigurationArn"))
|
506
|
+
UpdateEventRuleResponse.add_member(:status_summary_by_region, Shapes::ShapeRef.new(shape: StatusSummaryByRegion, required: true, location_name: "statusSummaryByRegion"))
|
507
|
+
UpdateEventRuleResponse.struct_class = Types::UpdateEventRuleResponse
|
508
|
+
|
509
|
+
UpdateNotificationConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location: "uri", location_name: "arn"))
|
510
|
+
UpdateNotificationConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: NotificationConfigurationName, location_name: "name"))
|
511
|
+
UpdateNotificationConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: NotificationConfigurationDescription, location_name: "description"))
|
512
|
+
UpdateNotificationConfigurationRequest.add_member(:aggregation_duration, Shapes::ShapeRef.new(shape: AggregationDuration, location_name: "aggregationDuration"))
|
513
|
+
UpdateNotificationConfigurationRequest.struct_class = Types::UpdateNotificationConfigurationRequest
|
514
|
+
|
515
|
+
UpdateNotificationConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "arn"))
|
516
|
+
UpdateNotificationConfigurationResponse.struct_class = Types::UpdateNotificationConfigurationResponse
|
517
|
+
|
518
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
519
|
+
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
|
520
|
+
ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
|
521
|
+
ValidationException.struct_class = Types::ValidationException
|
522
|
+
|
523
|
+
ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
524
|
+
ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
525
|
+
ValidationExceptionField.struct_class = Types::ValidationExceptionField
|
526
|
+
|
527
|
+
ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
|
528
|
+
|
529
|
+
|
530
|
+
# @api private
|
531
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
532
|
+
|
533
|
+
api.version = "2018-05-10"
|
534
|
+
|
535
|
+
api.metadata = {
|
536
|
+
"apiVersion" => "2018-05-10",
|
537
|
+
"auth" => ["aws.auth#sigv4"],
|
538
|
+
"endpointPrefix" => "notifications",
|
539
|
+
"protocol" => "rest-json",
|
540
|
+
"protocols" => ["rest-json"],
|
541
|
+
"serviceFullName" => "AWS User Notifications",
|
542
|
+
"serviceId" => "Notifications",
|
543
|
+
"signatureVersion" => "v4",
|
544
|
+
"signingName" => "notifications",
|
545
|
+
"uid" => "notifications-2018-05-10",
|
546
|
+
}
|
547
|
+
|
548
|
+
api.add_operation(:associate_channel, Seahorse::Model::Operation.new.tap do |o|
|
549
|
+
o.name = "AssociateChannel"
|
550
|
+
o.http_method = "POST"
|
551
|
+
o.http_request_uri = "/channels/associate/{arn}"
|
552
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateChannelRequest)
|
553
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateChannelResponse)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
555
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
556
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
561
|
+
end)
|
562
|
+
|
563
|
+
api.add_operation(:create_event_rule, Seahorse::Model::Operation.new.tap do |o|
|
564
|
+
o.name = "CreateEventRule"
|
565
|
+
o.http_method = "POST"
|
566
|
+
o.http_request_uri = "/event-rules"
|
567
|
+
o.input = Shapes::ShapeRef.new(shape: CreateEventRuleRequest)
|
568
|
+
o.output = Shapes::ShapeRef.new(shape: CreateEventRuleResponse)
|
569
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
570
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
571
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
572
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
573
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
576
|
+
end)
|
577
|
+
|
578
|
+
api.add_operation(:create_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
|
579
|
+
o.name = "CreateNotificationConfiguration"
|
580
|
+
o.http_method = "POST"
|
581
|
+
o.http_request_uri = "/notification-configurations"
|
582
|
+
o.input = Shapes::ShapeRef.new(shape: CreateNotificationConfigurationRequest)
|
583
|
+
o.output = Shapes::ShapeRef.new(shape: CreateNotificationConfigurationResponse)
|
584
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
585
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
590
|
+
end)
|
591
|
+
|
592
|
+
api.add_operation(:delete_event_rule, Seahorse::Model::Operation.new.tap do |o|
|
593
|
+
o.name = "DeleteEventRule"
|
594
|
+
o.http_method = "DELETE"
|
595
|
+
o.http_request_uri = "/event-rules/{arn}"
|
596
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEventRuleRequest)
|
597
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteEventRuleResponse)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
604
|
+
end)
|
605
|
+
|
606
|
+
api.add_operation(:delete_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
|
607
|
+
o.name = "DeleteNotificationConfiguration"
|
608
|
+
o.http_method = "DELETE"
|
609
|
+
o.http_request_uri = "/notification-configurations/{arn}"
|
610
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteNotificationConfigurationRequest)
|
611
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteNotificationConfigurationResponse)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
618
|
+
end)
|
619
|
+
|
620
|
+
api.add_operation(:deregister_notification_hub, Seahorse::Model::Operation.new.tap do |o|
|
621
|
+
o.name = "DeregisterNotificationHub"
|
622
|
+
o.http_method = "DELETE"
|
623
|
+
o.http_request_uri = "/notification-hubs/{notificationHubRegion}"
|
624
|
+
o.input = Shapes::ShapeRef.new(shape: DeregisterNotificationHubRequest)
|
625
|
+
o.output = Shapes::ShapeRef.new(shape: DeregisterNotificationHubResponse)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
627
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
632
|
+
end)
|
633
|
+
|
634
|
+
api.add_operation(:disassociate_channel, Seahorse::Model::Operation.new.tap do |o|
|
635
|
+
o.name = "DisassociateChannel"
|
636
|
+
o.http_method = "POST"
|
637
|
+
o.http_request_uri = "/channels/disassociate/{arn}"
|
638
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateChannelRequest)
|
639
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateChannelResponse)
|
640
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
645
|
+
end)
|
646
|
+
|
647
|
+
api.add_operation(:get_event_rule, Seahorse::Model::Operation.new.tap do |o|
|
648
|
+
o.name = "GetEventRule"
|
649
|
+
o.http_method = "GET"
|
650
|
+
o.http_request_uri = "/event-rules/{arn}"
|
651
|
+
o.input = Shapes::ShapeRef.new(shape: GetEventRuleRequest)
|
652
|
+
o.output = Shapes::ShapeRef.new(shape: GetEventRuleResponse)
|
653
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
654
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
655
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
657
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
658
|
+
end)
|
659
|
+
|
660
|
+
api.add_operation(:get_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
|
661
|
+
o.name = "GetNotificationConfiguration"
|
662
|
+
o.http_method = "GET"
|
663
|
+
o.http_request_uri = "/notification-configurations/{arn}"
|
664
|
+
o.input = Shapes::ShapeRef.new(shape: GetNotificationConfigurationRequest)
|
665
|
+
o.output = Shapes::ShapeRef.new(shape: GetNotificationConfigurationResponse)
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
671
|
+
end)
|
672
|
+
|
673
|
+
api.add_operation(:get_notification_event, Seahorse::Model::Operation.new.tap do |o|
|
674
|
+
o.name = "GetNotificationEvent"
|
675
|
+
o.http_method = "GET"
|
676
|
+
o.http_request_uri = "/notification-events/{arn}"
|
677
|
+
o.input = Shapes::ShapeRef.new(shape: GetNotificationEventRequest)
|
678
|
+
o.output = Shapes::ShapeRef.new(shape: GetNotificationEventResponse)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
683
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
684
|
+
end)
|
685
|
+
|
686
|
+
api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
|
687
|
+
o.name = "ListChannels"
|
688
|
+
o.http_method = "GET"
|
689
|
+
o.http_request_uri = "/channels"
|
690
|
+
o.input = Shapes::ShapeRef.new(shape: ListChannelsRequest)
|
691
|
+
o.output = Shapes::ShapeRef.new(shape: ListChannelsResponse)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
697
|
+
o[:pager] = Aws::Pager.new(
|
698
|
+
limit_key: "max_results",
|
699
|
+
tokens: {
|
700
|
+
"next_token" => "next_token"
|
701
|
+
}
|
702
|
+
)
|
703
|
+
end)
|
704
|
+
|
705
|
+
api.add_operation(:list_event_rules, Seahorse::Model::Operation.new.tap do |o|
|
706
|
+
o.name = "ListEventRules"
|
707
|
+
o.http_method = "GET"
|
708
|
+
o.http_request_uri = "/event-rules"
|
709
|
+
o.input = Shapes::ShapeRef.new(shape: ListEventRulesRequest)
|
710
|
+
o.output = Shapes::ShapeRef.new(shape: ListEventRulesResponse)
|
711
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
712
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
713
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
714
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
715
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
716
|
+
o[:pager] = Aws::Pager.new(
|
717
|
+
limit_key: "max_results",
|
718
|
+
tokens: {
|
719
|
+
"next_token" => "next_token"
|
720
|
+
}
|
721
|
+
)
|
722
|
+
end)
|
723
|
+
|
724
|
+
api.add_operation(:list_notification_configurations, Seahorse::Model::Operation.new.tap do |o|
|
725
|
+
o.name = "ListNotificationConfigurations"
|
726
|
+
o.http_method = "GET"
|
727
|
+
o.http_request_uri = "/notification-configurations"
|
728
|
+
o.input = Shapes::ShapeRef.new(shape: ListNotificationConfigurationsRequest)
|
729
|
+
o.output = Shapes::ShapeRef.new(shape: ListNotificationConfigurationsResponse)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
731
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
734
|
+
o[:pager] = Aws::Pager.new(
|
735
|
+
limit_key: "max_results",
|
736
|
+
tokens: {
|
737
|
+
"next_token" => "next_token"
|
738
|
+
}
|
739
|
+
)
|
740
|
+
end)
|
741
|
+
|
742
|
+
api.add_operation(:list_notification_events, Seahorse::Model::Operation.new.tap do |o|
|
743
|
+
o.name = "ListNotificationEvents"
|
744
|
+
o.http_method = "GET"
|
745
|
+
o.http_request_uri = "/notification-events"
|
746
|
+
o.input = Shapes::ShapeRef.new(shape: ListNotificationEventsRequest)
|
747
|
+
o.output = Shapes::ShapeRef.new(shape: ListNotificationEventsResponse)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
749
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
750
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
752
|
+
o[:pager] = Aws::Pager.new(
|
753
|
+
limit_key: "max_results",
|
754
|
+
tokens: {
|
755
|
+
"next_token" => "next_token"
|
756
|
+
}
|
757
|
+
)
|
758
|
+
end)
|
759
|
+
|
760
|
+
api.add_operation(:list_notification_hubs, Seahorse::Model::Operation.new.tap do |o|
|
761
|
+
o.name = "ListNotificationHubs"
|
762
|
+
o.http_method = "GET"
|
763
|
+
o.http_request_uri = "/notification-hubs"
|
764
|
+
o.input = Shapes::ShapeRef.new(shape: ListNotificationHubsRequest)
|
765
|
+
o.output = Shapes::ShapeRef.new(shape: ListNotificationHubsResponse)
|
766
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
767
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
768
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
769
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
770
|
+
o[:pager] = Aws::Pager.new(
|
771
|
+
limit_key: "max_results",
|
772
|
+
tokens: {
|
773
|
+
"next_token" => "next_token"
|
774
|
+
}
|
775
|
+
)
|
776
|
+
end)
|
777
|
+
|
778
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
779
|
+
o.name = "ListTagsForResource"
|
780
|
+
o.http_method = "GET"
|
781
|
+
o.http_request_uri = "/tags/{arn}"
|
782
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
783
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
788
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
789
|
+
end)
|
790
|
+
|
791
|
+
api.add_operation(:register_notification_hub, Seahorse::Model::Operation.new.tap do |o|
|
792
|
+
o.name = "RegisterNotificationHub"
|
793
|
+
o.http_method = "POST"
|
794
|
+
o.http_request_uri = "/notification-hubs"
|
795
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterNotificationHubRequest)
|
796
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterNotificationHubResponse)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
799
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
800
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
801
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
802
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
803
|
+
end)
|
804
|
+
|
805
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
806
|
+
o.name = "TagResource"
|
807
|
+
o.http_method = "POST"
|
808
|
+
o.http_request_uri = "/tags/{arn}"
|
809
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
810
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
811
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
812
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
813
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
814
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
815
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
816
|
+
end)
|
817
|
+
|
818
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
819
|
+
o.name = "UntagResource"
|
820
|
+
o.http_method = "DELETE"
|
821
|
+
o.http_request_uri = "/tags/{arn}"
|
822
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
823
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
829
|
+
end)
|
830
|
+
|
831
|
+
api.add_operation(:update_event_rule, Seahorse::Model::Operation.new.tap do |o|
|
832
|
+
o.name = "UpdateEventRule"
|
833
|
+
o.http_method = "PUT"
|
834
|
+
o.http_request_uri = "/event-rules/{arn}"
|
835
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateEventRuleRequest)
|
836
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateEventRuleResponse)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
843
|
+
end)
|
844
|
+
|
845
|
+
api.add_operation(:update_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
|
846
|
+
o.name = "UpdateNotificationConfiguration"
|
847
|
+
o.http_method = "PUT"
|
848
|
+
o.http_request_uri = "/notification-configurations/{arn}"
|
849
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateNotificationConfigurationRequest)
|
850
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateNotificationConfigurationResponse)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
853
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
857
|
+
end)
|
858
|
+
end
|
859
|
+
|
860
|
+
end
|
861
|
+
end
|