aws-sdk-health 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-health.rb +1 -1
- data/lib/aws-sdk-health/client.rb +548 -488
- data/lib/aws-sdk-health/client_api.rb +351 -353
- data/lib/aws-sdk-health/errors.rb +4 -13
- data/lib/aws-sdk-health/resource.rb +12 -14
- data/lib/aws-sdk-health/types.rb +847 -794
- metadata +2 -2
@@ -1,372 +1,370 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
8
|
+
module Aws::Health
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AffectedEntity = Shapes::StructureShape.new(name: 'AffectedEntity')
|
15
|
+
DateTimeRange = Shapes::StructureShape.new(name: 'DateTimeRange')
|
16
|
+
DescribeAffectedEntitiesRequest = Shapes::StructureShape.new(name: 'DescribeAffectedEntitiesRequest')
|
17
|
+
DescribeAffectedEntitiesResponse = Shapes::StructureShape.new(name: 'DescribeAffectedEntitiesResponse')
|
18
|
+
DescribeEntityAggregatesRequest = Shapes::StructureShape.new(name: 'DescribeEntityAggregatesRequest')
|
19
|
+
DescribeEntityAggregatesResponse = Shapes::StructureShape.new(name: 'DescribeEntityAggregatesResponse')
|
20
|
+
DescribeEventAggregatesRequest = Shapes::StructureShape.new(name: 'DescribeEventAggregatesRequest')
|
21
|
+
DescribeEventAggregatesResponse = Shapes::StructureShape.new(name: 'DescribeEventAggregatesResponse')
|
22
|
+
DescribeEventDetailsFailedSet = Shapes::ListShape.new(name: 'DescribeEventDetailsFailedSet')
|
23
|
+
DescribeEventDetailsRequest = Shapes::StructureShape.new(name: 'DescribeEventDetailsRequest')
|
24
|
+
DescribeEventDetailsResponse = Shapes::StructureShape.new(name: 'DescribeEventDetailsResponse')
|
25
|
+
DescribeEventDetailsSuccessfulSet = Shapes::ListShape.new(name: 'DescribeEventDetailsSuccessfulSet')
|
26
|
+
DescribeEventTypesRequest = Shapes::StructureShape.new(name: 'DescribeEventTypesRequest')
|
27
|
+
DescribeEventTypesResponse = Shapes::StructureShape.new(name: 'DescribeEventTypesResponse')
|
28
|
+
DescribeEventsRequest = Shapes::StructureShape.new(name: 'DescribeEventsRequest')
|
29
|
+
DescribeEventsResponse = Shapes::StructureShape.new(name: 'DescribeEventsResponse')
|
30
|
+
EntityAggregate = Shapes::StructureShape.new(name: 'EntityAggregate')
|
31
|
+
EntityAggregateList = Shapes::ListShape.new(name: 'EntityAggregateList')
|
32
|
+
EntityFilter = Shapes::StructureShape.new(name: 'EntityFilter')
|
33
|
+
EntityList = Shapes::ListShape.new(name: 'EntityList')
|
34
|
+
Event = Shapes::StructureShape.new(name: 'Event')
|
35
|
+
EventAggregate = Shapes::StructureShape.new(name: 'EventAggregate')
|
36
|
+
EventAggregateList = Shapes::ListShape.new(name: 'EventAggregateList')
|
37
|
+
EventArnsList = Shapes::ListShape.new(name: 'EventArnsList')
|
38
|
+
EventDescription = Shapes::StructureShape.new(name: 'EventDescription')
|
39
|
+
EventDetails = Shapes::StructureShape.new(name: 'EventDetails')
|
40
|
+
EventDetailsErrorItem = Shapes::StructureShape.new(name: 'EventDetailsErrorItem')
|
41
|
+
EventFilter = Shapes::StructureShape.new(name: 'EventFilter')
|
42
|
+
EventList = Shapes::ListShape.new(name: 'EventList')
|
43
|
+
EventType = Shapes::StructureShape.new(name: 'EventType')
|
44
|
+
EventTypeCategoryList = Shapes::ListShape.new(name: 'EventTypeCategoryList')
|
45
|
+
EventTypeCodeList = Shapes::ListShape.new(name: 'EventTypeCodeList')
|
46
|
+
EventTypeFilter = Shapes::StructureShape.new(name: 'EventTypeFilter')
|
47
|
+
EventTypeList = Shapes::ListShape.new(name: 'EventTypeList')
|
48
|
+
InvalidPaginationToken = Shapes::StructureShape.new(name: 'InvalidPaginationToken')
|
49
|
+
UnsupportedLocale = Shapes::StructureShape.new(name: 'UnsupportedLocale')
|
50
|
+
accountId = Shapes::StringShape.new(name: 'accountId')
|
51
|
+
aggregateValue = Shapes::StringShape.new(name: 'aggregateValue')
|
52
|
+
availabilityZone = Shapes::StringShape.new(name: 'availabilityZone')
|
53
|
+
availabilityZones = Shapes::ListShape.new(name: 'availabilityZones')
|
54
|
+
count = Shapes::IntegerShape.new(name: 'count')
|
55
|
+
dateTimeRangeList = Shapes::ListShape.new(name: 'dateTimeRangeList')
|
56
|
+
entityArn = Shapes::StringShape.new(name: 'entityArn')
|
57
|
+
entityArnList = Shapes::ListShape.new(name: 'entityArnList')
|
58
|
+
entityStatusCode = Shapes::StringShape.new(name: 'entityStatusCode')
|
59
|
+
entityStatusCodeList = Shapes::ListShape.new(name: 'entityStatusCodeList')
|
60
|
+
entityValue = Shapes::StringShape.new(name: 'entityValue')
|
61
|
+
entityValueList = Shapes::ListShape.new(name: 'entityValueList')
|
62
|
+
eventAggregateField = Shapes::StringShape.new(name: 'eventAggregateField')
|
63
|
+
eventArn = Shapes::StringShape.new(name: 'eventArn')
|
64
|
+
eventArnList = Shapes::ListShape.new(name: 'eventArnList')
|
65
|
+
eventDescription = Shapes::StringShape.new(name: 'eventDescription')
|
66
|
+
eventMetadata = Shapes::MapShape.new(name: 'eventMetadata')
|
67
|
+
eventStatusCode = Shapes::StringShape.new(name: 'eventStatusCode')
|
68
|
+
eventStatusCodeList = Shapes::ListShape.new(name: 'eventStatusCodeList')
|
69
|
+
eventType = Shapes::StringShape.new(name: 'eventType')
|
70
|
+
eventTypeCategory = Shapes::StringShape.new(name: 'eventTypeCategory')
|
71
|
+
eventTypeCategoryList = Shapes::ListShape.new(name: 'eventTypeCategoryList')
|
72
|
+
eventTypeCode = Shapes::StringShape.new(name: 'eventTypeCode')
|
73
|
+
eventTypeList = Shapes::ListShape.new(name: 'eventTypeList')
|
74
|
+
locale = Shapes::StringShape.new(name: 'locale')
|
75
|
+
maxResults = Shapes::IntegerShape.new(name: 'maxResults')
|
76
|
+
metadataKey = Shapes::StringShape.new(name: 'metadataKey')
|
77
|
+
metadataValue = Shapes::StringShape.new(name: 'metadataValue')
|
78
|
+
nextToken = Shapes::StringShape.new(name: 'nextToken')
|
79
|
+
region = Shapes::StringShape.new(name: 'region')
|
80
|
+
regionList = Shapes::ListShape.new(name: 'regionList')
|
81
|
+
service = Shapes::StringShape.new(name: 'service')
|
82
|
+
serviceList = Shapes::ListShape.new(name: 'serviceList')
|
83
|
+
string = Shapes::StringShape.new(name: 'string')
|
84
|
+
tagFilter = Shapes::ListShape.new(name: 'tagFilter')
|
85
|
+
tagKey = Shapes::StringShape.new(name: 'tagKey')
|
86
|
+
tagSet = Shapes::MapShape.new(name: 'tagSet')
|
87
|
+
tagValue = Shapes::StringShape.new(name: 'tagValue')
|
88
|
+
timestamp = Shapes::TimestampShape.new(name: 'timestamp')
|
89
|
+
|
90
|
+
AffectedEntity.add_member(:entity_arn, Shapes::ShapeRef.new(shape: entityArn, location_name: "entityArn"))
|
91
|
+
AffectedEntity.add_member(:event_arn, Shapes::ShapeRef.new(shape: eventArn, location_name: "eventArn"))
|
92
|
+
AffectedEntity.add_member(:entity_value, Shapes::ShapeRef.new(shape: entityValue, location_name: "entityValue"))
|
93
|
+
AffectedEntity.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: accountId, location_name: "awsAccountId"))
|
94
|
+
AffectedEntity.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "lastUpdatedTime"))
|
95
|
+
AffectedEntity.add_member(:status_code, Shapes::ShapeRef.new(shape: entityStatusCode, location_name: "statusCode"))
|
96
|
+
AffectedEntity.add_member(:tags, Shapes::ShapeRef.new(shape: tagSet, location_name: "tags"))
|
97
|
+
AffectedEntity.struct_class = Types::AffectedEntity
|
98
|
+
|
99
|
+
DateTimeRange.add_member(:from, Shapes::ShapeRef.new(shape: timestamp, location_name: "from"))
|
100
|
+
DateTimeRange.add_member(:to, Shapes::ShapeRef.new(shape: timestamp, location_name: "to"))
|
101
|
+
DateTimeRange.struct_class = Types::DateTimeRange
|
102
|
+
|
103
|
+
DescribeAffectedEntitiesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: EntityFilter, required: true, location_name: "filter"))
|
104
|
+
DescribeAffectedEntitiesRequest.add_member(:locale, Shapes::ShapeRef.new(shape: locale, location_name: "locale"))
|
105
|
+
DescribeAffectedEntitiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
106
|
+
DescribeAffectedEntitiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxResults, location_name: "maxResults"))
|
107
|
+
DescribeAffectedEntitiesRequest.struct_class = Types::DescribeAffectedEntitiesRequest
|
108
|
+
|
109
|
+
DescribeAffectedEntitiesResponse.add_member(:entities, Shapes::ShapeRef.new(shape: EntityList, location_name: "entities"))
|
110
|
+
DescribeAffectedEntitiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
111
|
+
DescribeAffectedEntitiesResponse.struct_class = Types::DescribeAffectedEntitiesResponse
|
112
|
+
|
113
|
+
DescribeEntityAggregatesRequest.add_member(:event_arns, Shapes::ShapeRef.new(shape: EventArnsList, location_name: "eventArns"))
|
114
|
+
DescribeEntityAggregatesRequest.struct_class = Types::DescribeEntityAggregatesRequest
|
115
|
+
|
116
|
+
DescribeEntityAggregatesResponse.add_member(:entity_aggregates, Shapes::ShapeRef.new(shape: EntityAggregateList, location_name: "entityAggregates"))
|
117
|
+
DescribeEntityAggregatesResponse.struct_class = Types::DescribeEntityAggregatesResponse
|
118
|
+
|
119
|
+
DescribeEventAggregatesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: EventFilter, location_name: "filter"))
|
120
|
+
DescribeEventAggregatesRequest.add_member(:aggregate_field, Shapes::ShapeRef.new(shape: eventAggregateField, required: true, location_name: "aggregateField"))
|
121
|
+
DescribeEventAggregatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxResults, location_name: "maxResults"))
|
122
|
+
DescribeEventAggregatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
123
|
+
DescribeEventAggregatesRequest.struct_class = Types::DescribeEventAggregatesRequest
|
124
|
+
|
125
|
+
DescribeEventAggregatesResponse.add_member(:event_aggregates, Shapes::ShapeRef.new(shape: EventAggregateList, location_name: "eventAggregates"))
|
126
|
+
DescribeEventAggregatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
127
|
+
DescribeEventAggregatesResponse.struct_class = Types::DescribeEventAggregatesResponse
|
128
|
+
|
129
|
+
DescribeEventDetailsFailedSet.member = Shapes::ShapeRef.new(shape: EventDetailsErrorItem)
|
130
|
+
|
131
|
+
DescribeEventDetailsRequest.add_member(:event_arns, Shapes::ShapeRef.new(shape: eventArnList, required: true, location_name: "eventArns"))
|
132
|
+
DescribeEventDetailsRequest.add_member(:locale, Shapes::ShapeRef.new(shape: locale, location_name: "locale"))
|
133
|
+
DescribeEventDetailsRequest.struct_class = Types::DescribeEventDetailsRequest
|
134
|
+
|
135
|
+
DescribeEventDetailsResponse.add_member(:successful_set, Shapes::ShapeRef.new(shape: DescribeEventDetailsSuccessfulSet, location_name: "successfulSet"))
|
136
|
+
DescribeEventDetailsResponse.add_member(:failed_set, Shapes::ShapeRef.new(shape: DescribeEventDetailsFailedSet, location_name: "failedSet"))
|
137
|
+
DescribeEventDetailsResponse.struct_class = Types::DescribeEventDetailsResponse
|
138
|
+
|
139
|
+
DescribeEventDetailsSuccessfulSet.member = Shapes::ShapeRef.new(shape: EventDetails)
|
140
|
+
|
141
|
+
DescribeEventTypesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: EventTypeFilter, location_name: "filter"))
|
142
|
+
DescribeEventTypesRequest.add_member(:locale, Shapes::ShapeRef.new(shape: locale, location_name: "locale"))
|
143
|
+
DescribeEventTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
144
|
+
DescribeEventTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxResults, location_name: "maxResults"))
|
145
|
+
DescribeEventTypesRequest.struct_class = Types::DescribeEventTypesRequest
|
146
|
+
|
147
|
+
DescribeEventTypesResponse.add_member(:event_types, Shapes::ShapeRef.new(shape: EventTypeList, location_name: "eventTypes"))
|
148
|
+
DescribeEventTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
149
|
+
DescribeEventTypesResponse.struct_class = Types::DescribeEventTypesResponse
|
150
|
+
|
151
|
+
DescribeEventsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: EventFilter, location_name: "filter"))
|
152
|
+
DescribeEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
153
|
+
DescribeEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxResults, location_name: "maxResults"))
|
154
|
+
DescribeEventsRequest.add_member(:locale, Shapes::ShapeRef.new(shape: locale, location_name: "locale"))
|
155
|
+
DescribeEventsRequest.struct_class = Types::DescribeEventsRequest
|
156
|
+
|
157
|
+
DescribeEventsResponse.add_member(:events, Shapes::ShapeRef.new(shape: EventList, location_name: "events"))
|
158
|
+
DescribeEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
159
|
+
DescribeEventsResponse.struct_class = Types::DescribeEventsResponse
|
160
|
+
|
161
|
+
EntityAggregate.add_member(:event_arn, Shapes::ShapeRef.new(shape: eventArn, location_name: "eventArn"))
|
162
|
+
EntityAggregate.add_member(:count, Shapes::ShapeRef.new(shape: count, location_name: "count"))
|
163
|
+
EntityAggregate.struct_class = Types::EntityAggregate
|
164
|
+
|
165
|
+
EntityAggregateList.member = Shapes::ShapeRef.new(shape: EntityAggregate)
|
166
|
+
|
167
|
+
EntityFilter.add_member(:event_arns, Shapes::ShapeRef.new(shape: eventArnList, required: true, location_name: "eventArns"))
|
168
|
+
EntityFilter.add_member(:entity_arns, Shapes::ShapeRef.new(shape: entityArnList, location_name: "entityArns"))
|
169
|
+
EntityFilter.add_member(:entity_values, Shapes::ShapeRef.new(shape: entityValueList, location_name: "entityValues"))
|
170
|
+
EntityFilter.add_member(:last_updated_times, Shapes::ShapeRef.new(shape: dateTimeRangeList, location_name: "lastUpdatedTimes"))
|
171
|
+
EntityFilter.add_member(:tags, Shapes::ShapeRef.new(shape: tagFilter, location_name: "tags"))
|
172
|
+
EntityFilter.add_member(:status_codes, Shapes::ShapeRef.new(shape: entityStatusCodeList, location_name: "statusCodes"))
|
173
|
+
EntityFilter.struct_class = Types::EntityFilter
|
174
|
+
|
175
|
+
EntityList.member = Shapes::ShapeRef.new(shape: AffectedEntity)
|
176
|
+
|
177
|
+
Event.add_member(:arn, Shapes::ShapeRef.new(shape: eventArn, location_name: "arn"))
|
178
|
+
Event.add_member(:service, Shapes::ShapeRef.new(shape: service, location_name: "service"))
|
179
|
+
Event.add_member(:event_type_code, Shapes::ShapeRef.new(shape: eventTypeCode, location_name: "eventTypeCode"))
|
180
|
+
Event.add_member(:event_type_category, Shapes::ShapeRef.new(shape: eventTypeCategory, location_name: "eventTypeCategory"))
|
181
|
+
Event.add_member(:region, Shapes::ShapeRef.new(shape: region, location_name: "region"))
|
182
|
+
Event.add_member(:availability_zone, Shapes::ShapeRef.new(shape: availabilityZone, location_name: "availabilityZone"))
|
183
|
+
Event.add_member(:start_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "startTime"))
|
184
|
+
Event.add_member(:end_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "endTime"))
|
185
|
+
Event.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "lastUpdatedTime"))
|
186
|
+
Event.add_member(:status_code, Shapes::ShapeRef.new(shape: eventStatusCode, location_name: "statusCode"))
|
187
|
+
Event.struct_class = Types::Event
|
188
|
+
|
189
|
+
EventAggregate.add_member(:aggregate_value, Shapes::ShapeRef.new(shape: aggregateValue, location_name: "aggregateValue"))
|
190
|
+
EventAggregate.add_member(:count, Shapes::ShapeRef.new(shape: count, location_name: "count"))
|
191
|
+
EventAggregate.struct_class = Types::EventAggregate
|
192
|
+
|
193
|
+
EventAggregateList.member = Shapes::ShapeRef.new(shape: EventAggregate)
|
194
|
+
|
195
|
+
EventArnsList.member = Shapes::ShapeRef.new(shape: eventArn)
|
196
|
+
|
197
|
+
EventDescription.add_member(:latest_description, Shapes::ShapeRef.new(shape: eventDescription, location_name: "latestDescription"))
|
198
|
+
EventDescription.struct_class = Types::EventDescription
|
199
|
+
|
200
|
+
EventDetails.add_member(:event, Shapes::ShapeRef.new(shape: Event, location_name: "event"))
|
201
|
+
EventDetails.add_member(:event_description, Shapes::ShapeRef.new(shape: EventDescription, location_name: "eventDescription"))
|
202
|
+
EventDetails.add_member(:event_metadata, Shapes::ShapeRef.new(shape: eventMetadata, location_name: "eventMetadata"))
|
203
|
+
EventDetails.struct_class = Types::EventDetails
|
204
|
+
|
205
|
+
EventDetailsErrorItem.add_member(:event_arn, Shapes::ShapeRef.new(shape: eventArn, location_name: "eventArn"))
|
206
|
+
EventDetailsErrorItem.add_member(:error_name, Shapes::ShapeRef.new(shape: string, location_name: "errorName"))
|
207
|
+
EventDetailsErrorItem.add_member(:error_message, Shapes::ShapeRef.new(shape: string, location_name: "errorMessage"))
|
208
|
+
EventDetailsErrorItem.struct_class = Types::EventDetailsErrorItem
|
209
|
+
|
210
|
+
EventFilter.add_member(:event_arns, Shapes::ShapeRef.new(shape: eventArnList, location_name: "eventArns"))
|
211
|
+
EventFilter.add_member(:event_type_codes, Shapes::ShapeRef.new(shape: eventTypeList, location_name: "eventTypeCodes"))
|
212
|
+
EventFilter.add_member(:services, Shapes::ShapeRef.new(shape: serviceList, location_name: "services"))
|
213
|
+
EventFilter.add_member(:regions, Shapes::ShapeRef.new(shape: regionList, location_name: "regions"))
|
214
|
+
EventFilter.add_member(:availability_zones, Shapes::ShapeRef.new(shape: availabilityZones, location_name: "availabilityZones"))
|
215
|
+
EventFilter.add_member(:start_times, Shapes::ShapeRef.new(shape: dateTimeRangeList, location_name: "startTimes"))
|
216
|
+
EventFilter.add_member(:end_times, Shapes::ShapeRef.new(shape: dateTimeRangeList, location_name: "endTimes"))
|
217
|
+
EventFilter.add_member(:last_updated_times, Shapes::ShapeRef.new(shape: dateTimeRangeList, location_name: "lastUpdatedTimes"))
|
218
|
+
EventFilter.add_member(:entity_arns, Shapes::ShapeRef.new(shape: entityArnList, location_name: "entityArns"))
|
219
|
+
EventFilter.add_member(:entity_values, Shapes::ShapeRef.new(shape: entityValueList, location_name: "entityValues"))
|
220
|
+
EventFilter.add_member(:event_type_categories, Shapes::ShapeRef.new(shape: eventTypeCategoryList, location_name: "eventTypeCategories"))
|
221
|
+
EventFilter.add_member(:tags, Shapes::ShapeRef.new(shape: tagFilter, location_name: "tags"))
|
222
|
+
EventFilter.add_member(:event_status_codes, Shapes::ShapeRef.new(shape: eventStatusCodeList, location_name: "eventStatusCodes"))
|
223
|
+
EventFilter.struct_class = Types::EventFilter
|
224
|
+
|
225
|
+
EventList.member = Shapes::ShapeRef.new(shape: Event)
|
226
|
+
|
227
|
+
EventType.add_member(:service, Shapes::ShapeRef.new(shape: service, location_name: "service"))
|
228
|
+
EventType.add_member(:code, Shapes::ShapeRef.new(shape: eventTypeCode, location_name: "code"))
|
229
|
+
EventType.add_member(:category, Shapes::ShapeRef.new(shape: eventTypeCategory, location_name: "category"))
|
230
|
+
EventType.struct_class = Types::EventType
|
175
231
|
|
176
|
-
|
232
|
+
EventTypeCategoryList.member = Shapes::ShapeRef.new(shape: eventTypeCategory)
|
177
233
|
|
178
|
-
|
179
|
-
Event.add_member(:service, Shapes::ShapeRef.new(shape: service, location_name: "service"))
|
180
|
-
Event.add_member(:event_type_code, Shapes::ShapeRef.new(shape: eventTypeCode, location_name: "eventTypeCode"))
|
181
|
-
Event.add_member(:event_type_category, Shapes::ShapeRef.new(shape: eventTypeCategory, location_name: "eventTypeCategory"))
|
182
|
-
Event.add_member(:region, Shapes::ShapeRef.new(shape: region, location_name: "region"))
|
183
|
-
Event.add_member(:availability_zone, Shapes::ShapeRef.new(shape: availabilityZone, location_name: "availabilityZone"))
|
184
|
-
Event.add_member(:start_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "startTime"))
|
185
|
-
Event.add_member(:end_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "endTime"))
|
186
|
-
Event.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "lastUpdatedTime"))
|
187
|
-
Event.add_member(:status_code, Shapes::ShapeRef.new(shape: eventStatusCode, location_name: "statusCode"))
|
188
|
-
Event.struct_class = Types::Event
|
234
|
+
EventTypeCodeList.member = Shapes::ShapeRef.new(shape: eventTypeCode)
|
189
235
|
|
190
|
-
|
191
|
-
|
192
|
-
|
236
|
+
EventTypeFilter.add_member(:event_type_codes, Shapes::ShapeRef.new(shape: EventTypeCodeList, location_name: "eventTypeCodes"))
|
237
|
+
EventTypeFilter.add_member(:services, Shapes::ShapeRef.new(shape: serviceList, location_name: "services"))
|
238
|
+
EventTypeFilter.add_member(:event_type_categories, Shapes::ShapeRef.new(shape: EventTypeCategoryList, location_name: "eventTypeCategories"))
|
239
|
+
EventTypeFilter.struct_class = Types::EventTypeFilter
|
193
240
|
|
194
|
-
|
241
|
+
EventTypeList.member = Shapes::ShapeRef.new(shape: EventType)
|
195
242
|
|
196
|
-
|
243
|
+
availabilityZones.member = Shapes::ShapeRef.new(shape: availabilityZone)
|
197
244
|
|
198
|
-
|
199
|
-
EventDescription.struct_class = Types::EventDescription
|
245
|
+
dateTimeRangeList.member = Shapes::ShapeRef.new(shape: DateTimeRange)
|
200
246
|
|
201
|
-
|
202
|
-
EventDetails.add_member(:event_description, Shapes::ShapeRef.new(shape: EventDescription, location_name: "eventDescription"))
|
203
|
-
EventDetails.add_member(:event_metadata, Shapes::ShapeRef.new(shape: eventMetadata, location_name: "eventMetadata"))
|
204
|
-
EventDetails.struct_class = Types::EventDetails
|
247
|
+
entityArnList.member = Shapes::ShapeRef.new(shape: entityArn)
|
205
248
|
|
206
|
-
|
207
|
-
EventDetailsErrorItem.add_member(:error_name, Shapes::ShapeRef.new(shape: string, location_name: "errorName"))
|
208
|
-
EventDetailsErrorItem.add_member(:error_message, Shapes::ShapeRef.new(shape: string, location_name: "errorMessage"))
|
209
|
-
EventDetailsErrorItem.struct_class = Types::EventDetailsErrorItem
|
249
|
+
entityStatusCodeList.member = Shapes::ShapeRef.new(shape: entityStatusCode)
|
210
250
|
|
211
|
-
|
212
|
-
EventFilter.add_member(:event_type_codes, Shapes::ShapeRef.new(shape: eventTypeList, location_name: "eventTypeCodes"))
|
213
|
-
EventFilter.add_member(:services, Shapes::ShapeRef.new(shape: serviceList, location_name: "services"))
|
214
|
-
EventFilter.add_member(:regions, Shapes::ShapeRef.new(shape: regionList, location_name: "regions"))
|
215
|
-
EventFilter.add_member(:availability_zones, Shapes::ShapeRef.new(shape: availabilityZones, location_name: "availabilityZones"))
|
216
|
-
EventFilter.add_member(:start_times, Shapes::ShapeRef.new(shape: dateTimeRangeList, location_name: "startTimes"))
|
217
|
-
EventFilter.add_member(:end_times, Shapes::ShapeRef.new(shape: dateTimeRangeList, location_name: "endTimes"))
|
218
|
-
EventFilter.add_member(:last_updated_times, Shapes::ShapeRef.new(shape: dateTimeRangeList, location_name: "lastUpdatedTimes"))
|
219
|
-
EventFilter.add_member(:entity_arns, Shapes::ShapeRef.new(shape: entityArnList, location_name: "entityArns"))
|
220
|
-
EventFilter.add_member(:entity_values, Shapes::ShapeRef.new(shape: entityValueList, location_name: "entityValues"))
|
221
|
-
EventFilter.add_member(:event_type_categories, Shapes::ShapeRef.new(shape: eventTypeCategoryList, location_name: "eventTypeCategories"))
|
222
|
-
EventFilter.add_member(:tags, Shapes::ShapeRef.new(shape: tagFilter, location_name: "tags"))
|
223
|
-
EventFilter.add_member(:event_status_codes, Shapes::ShapeRef.new(shape: eventStatusCodeList, location_name: "eventStatusCodes"))
|
224
|
-
EventFilter.struct_class = Types::EventFilter
|
225
|
-
|
226
|
-
EventList.member = Shapes::ShapeRef.new(shape: Event)
|
227
|
-
|
228
|
-
EventType.add_member(:service, Shapes::ShapeRef.new(shape: service, location_name: "service"))
|
229
|
-
EventType.add_member(:code, Shapes::ShapeRef.new(shape: eventTypeCode, location_name: "code"))
|
230
|
-
EventType.add_member(:category, Shapes::ShapeRef.new(shape: eventTypeCategory, location_name: "category"))
|
231
|
-
EventType.struct_class = Types::EventType
|
232
|
-
|
233
|
-
EventTypeCategoryList.member = Shapes::ShapeRef.new(shape: eventTypeCategory)
|
234
|
-
|
235
|
-
EventTypeCodeList.member = Shapes::ShapeRef.new(shape: eventTypeCode)
|
236
|
-
|
237
|
-
EventTypeFilter.add_member(:event_type_codes, Shapes::ShapeRef.new(shape: EventTypeCodeList, location_name: "eventTypeCodes"))
|
238
|
-
EventTypeFilter.add_member(:services, Shapes::ShapeRef.new(shape: serviceList, location_name: "services"))
|
239
|
-
EventTypeFilter.add_member(:event_type_categories, Shapes::ShapeRef.new(shape: EventTypeCategoryList, location_name: "eventTypeCategories"))
|
240
|
-
EventTypeFilter.struct_class = Types::EventTypeFilter
|
241
|
-
|
242
|
-
EventTypeList.member = Shapes::ShapeRef.new(shape: EventType)
|
243
|
-
|
244
|
-
availabilityZones.member = Shapes::ShapeRef.new(shape: availabilityZone)
|
245
|
-
|
246
|
-
dateTimeRangeList.member = Shapes::ShapeRef.new(shape: DateTimeRange)
|
247
|
-
|
248
|
-
entityArnList.member = Shapes::ShapeRef.new(shape: entityArn)
|
249
|
-
|
250
|
-
entityStatusCodeList.member = Shapes::ShapeRef.new(shape: entityStatusCode)
|
251
|
-
|
252
|
-
entityValueList.member = Shapes::ShapeRef.new(shape: entityValue)
|
253
|
-
|
254
|
-
eventArnList.member = Shapes::ShapeRef.new(shape: eventArn)
|
255
|
-
|
256
|
-
eventMetadata.key = Shapes::ShapeRef.new(shape: metadataKey)
|
257
|
-
eventMetadata.value = Shapes::ShapeRef.new(shape: metadataValue)
|
258
|
-
|
259
|
-
eventStatusCodeList.member = Shapes::ShapeRef.new(shape: eventStatusCode)
|
260
|
-
|
261
|
-
eventTypeCategoryList.member = Shapes::ShapeRef.new(shape: eventTypeCategory)
|
262
|
-
|
263
|
-
eventTypeList.member = Shapes::ShapeRef.new(shape: eventType)
|
264
|
-
|
265
|
-
regionList.member = Shapes::ShapeRef.new(shape: region)
|
266
|
-
|
267
|
-
serviceList.member = Shapes::ShapeRef.new(shape: service)
|
268
|
-
|
269
|
-
tagFilter.member = Shapes::ShapeRef.new(shape: tagSet)
|
270
|
-
|
271
|
-
tagSet.key = Shapes::ShapeRef.new(shape: tagKey)
|
272
|
-
tagSet.value = Shapes::ShapeRef.new(shape: tagValue)
|
273
|
-
|
274
|
-
|
275
|
-
# @api private
|
276
|
-
API = Seahorse::Model::Api.new.tap do |api|
|
277
|
-
|
278
|
-
api.version = "2016-08-04"
|
279
|
-
|
280
|
-
api.metadata = {
|
281
|
-
"endpointPrefix" => "health",
|
282
|
-
"jsonVersion" => "1.1",
|
283
|
-
"protocol" => "json",
|
284
|
-
"serviceFullName" => "AWS Health APIs and Notifications",
|
285
|
-
"signatureVersion" => "v4",
|
286
|
-
"targetPrefix" => "AWSHealth_20160804",
|
287
|
-
}
|
288
|
-
|
289
|
-
api.add_operation(:describe_affected_entities, Seahorse::Model::Operation.new.tap do |o|
|
290
|
-
o.name = "DescribeAffectedEntities"
|
291
|
-
o.http_method = "POST"
|
292
|
-
o.http_request_uri = "/"
|
293
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeAffectedEntitiesRequest)
|
294
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeAffectedEntitiesResponse)
|
295
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
|
296
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
|
297
|
-
o[:pager] = Aws::Pager.new(
|
298
|
-
limit_key: "max_results",
|
299
|
-
tokens: {
|
300
|
-
"next_token" => "next_token"
|
301
|
-
}
|
302
|
-
)
|
303
|
-
end)
|
304
|
-
|
305
|
-
api.add_operation(:describe_entity_aggregates, Seahorse::Model::Operation.new.tap do |o|
|
306
|
-
o.name = "DescribeEntityAggregates"
|
307
|
-
o.http_method = "POST"
|
308
|
-
o.http_request_uri = "/"
|
309
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeEntityAggregatesRequest)
|
310
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeEntityAggregatesResponse)
|
311
|
-
end)
|
312
|
-
|
313
|
-
api.add_operation(:describe_event_aggregates, Seahorse::Model::Operation.new.tap do |o|
|
314
|
-
o.name = "DescribeEventAggregates"
|
315
|
-
o.http_method = "POST"
|
316
|
-
o.http_request_uri = "/"
|
317
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeEventAggregatesRequest)
|
318
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeEventAggregatesResponse)
|
319
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
|
320
|
-
o[:pager] = Aws::Pager.new(
|
321
|
-
limit_key: "max_results",
|
322
|
-
tokens: {
|
323
|
-
"next_token" => "next_token"
|
324
|
-
}
|
325
|
-
)
|
326
|
-
end)
|
327
|
-
|
328
|
-
api.add_operation(:describe_event_details, Seahorse::Model::Operation.new.tap do |o|
|
329
|
-
o.name = "DescribeEventDetails"
|
330
|
-
o.http_method = "POST"
|
331
|
-
o.http_request_uri = "/"
|
332
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeEventDetailsRequest)
|
333
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeEventDetailsResponse)
|
334
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
|
335
|
-
end)
|
336
|
-
|
337
|
-
api.add_operation(:describe_event_types, Seahorse::Model::Operation.new.tap do |o|
|
338
|
-
o.name = "DescribeEventTypes"
|
339
|
-
o.http_method = "POST"
|
340
|
-
o.http_request_uri = "/"
|
341
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeEventTypesRequest)
|
342
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeEventTypesResponse)
|
343
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
|
344
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
|
345
|
-
o[:pager] = Aws::Pager.new(
|
346
|
-
limit_key: "max_results",
|
347
|
-
tokens: {
|
348
|
-
"next_token" => "next_token"
|
349
|
-
}
|
350
|
-
)
|
351
|
-
end)
|
352
|
-
|
353
|
-
api.add_operation(:describe_events, Seahorse::Model::Operation.new.tap do |o|
|
354
|
-
o.name = "DescribeEvents"
|
355
|
-
o.http_method = "POST"
|
356
|
-
o.http_request_uri = "/"
|
357
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeEventsRequest)
|
358
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeEventsResponse)
|
359
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
|
360
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
|
361
|
-
o[:pager] = Aws::Pager.new(
|
362
|
-
limit_key: "max_results",
|
363
|
-
tokens: {
|
364
|
-
"next_token" => "next_token"
|
365
|
-
}
|
366
|
-
)
|
367
|
-
end)
|
368
|
-
end
|
251
|
+
entityValueList.member = Shapes::ShapeRef.new(shape: entityValue)
|
369
252
|
|
253
|
+
eventArnList.member = Shapes::ShapeRef.new(shape: eventArn)
|
254
|
+
|
255
|
+
eventMetadata.key = Shapes::ShapeRef.new(shape: metadataKey)
|
256
|
+
eventMetadata.value = Shapes::ShapeRef.new(shape: metadataValue)
|
257
|
+
|
258
|
+
eventStatusCodeList.member = Shapes::ShapeRef.new(shape: eventStatusCode)
|
259
|
+
|
260
|
+
eventTypeCategoryList.member = Shapes::ShapeRef.new(shape: eventTypeCategory)
|
261
|
+
|
262
|
+
eventTypeList.member = Shapes::ShapeRef.new(shape: eventType)
|
263
|
+
|
264
|
+
regionList.member = Shapes::ShapeRef.new(shape: region)
|
265
|
+
|
266
|
+
serviceList.member = Shapes::ShapeRef.new(shape: service)
|
267
|
+
|
268
|
+
tagFilter.member = Shapes::ShapeRef.new(shape: tagSet)
|
269
|
+
|
270
|
+
tagSet.key = Shapes::ShapeRef.new(shape: tagKey)
|
271
|
+
tagSet.value = Shapes::ShapeRef.new(shape: tagValue)
|
272
|
+
|
273
|
+
|
274
|
+
# @api private
|
275
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
276
|
+
|
277
|
+
api.version = "2016-08-04"
|
278
|
+
|
279
|
+
api.metadata = {
|
280
|
+
"endpointPrefix" => "health",
|
281
|
+
"jsonVersion" => "1.1",
|
282
|
+
"protocol" => "json",
|
283
|
+
"serviceFullName" => "AWS Health APIs and Notifications",
|
284
|
+
"signatureVersion" => "v4",
|
285
|
+
"targetPrefix" => "AWSHealth_20160804",
|
286
|
+
}
|
287
|
+
|
288
|
+
api.add_operation(:describe_affected_entities, Seahorse::Model::Operation.new.tap do |o|
|
289
|
+
o.name = "DescribeAffectedEntities"
|
290
|
+
o.http_method = "POST"
|
291
|
+
o.http_request_uri = "/"
|
292
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAffectedEntitiesRequest)
|
293
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAffectedEntitiesResponse)
|
294
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
|
295
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
|
296
|
+
o[:pager] = Aws::Pager.new(
|
297
|
+
limit_key: "max_results",
|
298
|
+
tokens: {
|
299
|
+
"next_token" => "next_token"
|
300
|
+
}
|
301
|
+
)
|
302
|
+
end)
|
303
|
+
|
304
|
+
api.add_operation(:describe_entity_aggregates, Seahorse::Model::Operation.new.tap do |o|
|
305
|
+
o.name = "DescribeEntityAggregates"
|
306
|
+
o.http_method = "POST"
|
307
|
+
o.http_request_uri = "/"
|
308
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeEntityAggregatesRequest)
|
309
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeEntityAggregatesResponse)
|
310
|
+
end)
|
311
|
+
|
312
|
+
api.add_operation(:describe_event_aggregates, Seahorse::Model::Operation.new.tap do |o|
|
313
|
+
o.name = "DescribeEventAggregates"
|
314
|
+
o.http_method = "POST"
|
315
|
+
o.http_request_uri = "/"
|
316
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeEventAggregatesRequest)
|
317
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeEventAggregatesResponse)
|
318
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
|
319
|
+
o[:pager] = Aws::Pager.new(
|
320
|
+
limit_key: "max_results",
|
321
|
+
tokens: {
|
322
|
+
"next_token" => "next_token"
|
323
|
+
}
|
324
|
+
)
|
325
|
+
end)
|
326
|
+
|
327
|
+
api.add_operation(:describe_event_details, Seahorse::Model::Operation.new.tap do |o|
|
328
|
+
o.name = "DescribeEventDetails"
|
329
|
+
o.http_method = "POST"
|
330
|
+
o.http_request_uri = "/"
|
331
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeEventDetailsRequest)
|
332
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeEventDetailsResponse)
|
333
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
|
334
|
+
end)
|
335
|
+
|
336
|
+
api.add_operation(:describe_event_types, Seahorse::Model::Operation.new.tap do |o|
|
337
|
+
o.name = "DescribeEventTypes"
|
338
|
+
o.http_method = "POST"
|
339
|
+
o.http_request_uri = "/"
|
340
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeEventTypesRequest)
|
341
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeEventTypesResponse)
|
342
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
|
343
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
|
344
|
+
o[:pager] = Aws::Pager.new(
|
345
|
+
limit_key: "max_results",
|
346
|
+
tokens: {
|
347
|
+
"next_token" => "next_token"
|
348
|
+
}
|
349
|
+
)
|
350
|
+
end)
|
351
|
+
|
352
|
+
api.add_operation(:describe_events, Seahorse::Model::Operation.new.tap do |o|
|
353
|
+
o.name = "DescribeEvents"
|
354
|
+
o.http_method = "POST"
|
355
|
+
o.http_request_uri = "/"
|
356
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeEventsRequest)
|
357
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeEventsResponse)
|
358
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
|
360
|
+
o[:pager] = Aws::Pager.new(
|
361
|
+
limit_key: "max_results",
|
362
|
+
tokens: {
|
363
|
+
"next_token" => "next_token"
|
364
|
+
}
|
365
|
+
)
|
366
|
+
end)
|
370
367
|
end
|
368
|
+
|
371
369
|
end
|
372
370
|
end
|