aws-sdk-globalaccelerator 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,508 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::GlobalAccelerator
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ Accelerator = Shapes::StructureShape.new(name: 'Accelerator')
15
+ AcceleratorAttributes = Shapes::StructureShape.new(name: 'AcceleratorAttributes')
16
+ AcceleratorNotDisabledException = Shapes::StructureShape.new(name: 'AcceleratorNotDisabledException')
17
+ AcceleratorNotFoundException = Shapes::StructureShape.new(name: 'AcceleratorNotFoundException')
18
+ AcceleratorStatus = Shapes::StringShape.new(name: 'AcceleratorStatus')
19
+ Accelerators = Shapes::ListShape.new(name: 'Accelerators')
20
+ AssociatedEndpointGroupFoundException = Shapes::StructureShape.new(name: 'AssociatedEndpointGroupFoundException')
21
+ AssociatedListenerFoundException = Shapes::StructureShape.new(name: 'AssociatedListenerFoundException')
22
+ ClientAffinity = Shapes::StringShape.new(name: 'ClientAffinity')
23
+ CreateAcceleratorRequest = Shapes::StructureShape.new(name: 'CreateAcceleratorRequest')
24
+ CreateAcceleratorResponse = Shapes::StructureShape.new(name: 'CreateAcceleratorResponse')
25
+ CreateEndpointGroupRequest = Shapes::StructureShape.new(name: 'CreateEndpointGroupRequest')
26
+ CreateEndpointGroupResponse = Shapes::StructureShape.new(name: 'CreateEndpointGroupResponse')
27
+ CreateListenerRequest = Shapes::StructureShape.new(name: 'CreateListenerRequest')
28
+ CreateListenerResponse = Shapes::StructureShape.new(name: 'CreateListenerResponse')
29
+ DeleteAcceleratorRequest = Shapes::StructureShape.new(name: 'DeleteAcceleratorRequest')
30
+ DeleteEndpointGroupRequest = Shapes::StructureShape.new(name: 'DeleteEndpointGroupRequest')
31
+ DeleteListenerRequest = Shapes::StructureShape.new(name: 'DeleteListenerRequest')
32
+ DescribeAcceleratorAttributesRequest = Shapes::StructureShape.new(name: 'DescribeAcceleratorAttributesRequest')
33
+ DescribeAcceleratorAttributesResponse = Shapes::StructureShape.new(name: 'DescribeAcceleratorAttributesResponse')
34
+ DescribeAcceleratorRequest = Shapes::StructureShape.new(name: 'DescribeAcceleratorRequest')
35
+ DescribeAcceleratorResponse = Shapes::StructureShape.new(name: 'DescribeAcceleratorResponse')
36
+ DescribeEndpointGroupRequest = Shapes::StructureShape.new(name: 'DescribeEndpointGroupRequest')
37
+ DescribeEndpointGroupResponse = Shapes::StructureShape.new(name: 'DescribeEndpointGroupResponse')
38
+ DescribeListenerRequest = Shapes::StructureShape.new(name: 'DescribeListenerRequest')
39
+ DescribeListenerResponse = Shapes::StructureShape.new(name: 'DescribeListenerResponse')
40
+ EndpointConfiguration = Shapes::StructureShape.new(name: 'EndpointConfiguration')
41
+ EndpointConfigurations = Shapes::ListShape.new(name: 'EndpointConfigurations')
42
+ EndpointDescription = Shapes::StructureShape.new(name: 'EndpointDescription')
43
+ EndpointDescriptions = Shapes::ListShape.new(name: 'EndpointDescriptions')
44
+ EndpointGroup = Shapes::StructureShape.new(name: 'EndpointGroup')
45
+ EndpointGroupAlreadyExistsException = Shapes::StructureShape.new(name: 'EndpointGroupAlreadyExistsException')
46
+ EndpointGroupNotFoundException = Shapes::StructureShape.new(name: 'EndpointGroupNotFoundException')
47
+ EndpointGroups = Shapes::ListShape.new(name: 'EndpointGroups')
48
+ EndpointWeight = Shapes::IntegerShape.new(name: 'EndpointWeight')
49
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
50
+ GenericBoolean = Shapes::BooleanShape.new(name: 'GenericBoolean')
51
+ GenericString = Shapes::StringShape.new(name: 'GenericString')
52
+ HealthCheckIntervalSeconds = Shapes::IntegerShape.new(name: 'HealthCheckIntervalSeconds')
53
+ HealthCheckPort = Shapes::IntegerShape.new(name: 'HealthCheckPort')
54
+ HealthCheckProtocol = Shapes::StringShape.new(name: 'HealthCheckProtocol')
55
+ HealthState = Shapes::StringShape.new(name: 'HealthState')
56
+ IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
57
+ InternalServiceErrorException = Shapes::StructureShape.new(name: 'InternalServiceErrorException')
58
+ InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
59
+ InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
60
+ InvalidPortRangeException = Shapes::StructureShape.new(name: 'InvalidPortRangeException')
61
+ IpAddress = Shapes::StringShape.new(name: 'IpAddress')
62
+ IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
63
+ IpAddresses = Shapes::ListShape.new(name: 'IpAddresses')
64
+ IpSet = Shapes::StructureShape.new(name: 'IpSet')
65
+ IpSets = Shapes::ListShape.new(name: 'IpSets')
66
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
67
+ ListAcceleratorsRequest = Shapes::StructureShape.new(name: 'ListAcceleratorsRequest')
68
+ ListAcceleratorsResponse = Shapes::StructureShape.new(name: 'ListAcceleratorsResponse')
69
+ ListEndpointGroupsRequest = Shapes::StructureShape.new(name: 'ListEndpointGroupsRequest')
70
+ ListEndpointGroupsResponse = Shapes::StructureShape.new(name: 'ListEndpointGroupsResponse')
71
+ ListListenersRequest = Shapes::StructureShape.new(name: 'ListListenersRequest')
72
+ ListListenersResponse = Shapes::StructureShape.new(name: 'ListListenersResponse')
73
+ Listener = Shapes::StructureShape.new(name: 'Listener')
74
+ ListenerNotFoundException = Shapes::StructureShape.new(name: 'ListenerNotFoundException')
75
+ Listeners = Shapes::ListShape.new(name: 'Listeners')
76
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
77
+ PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
78
+ PortRange = Shapes::StructureShape.new(name: 'PortRange')
79
+ PortRanges = Shapes::ListShape.new(name: 'PortRanges')
80
+ Protocol = Shapes::StringShape.new(name: 'Protocol')
81
+ ThresholdCount = Shapes::IntegerShape.new(name: 'ThresholdCount')
82
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
83
+ TrafficDialPercentage = Shapes::FloatShape.new(name: 'TrafficDialPercentage')
84
+ UpdateAcceleratorAttributesRequest = Shapes::StructureShape.new(name: 'UpdateAcceleratorAttributesRequest')
85
+ UpdateAcceleratorAttributesResponse = Shapes::StructureShape.new(name: 'UpdateAcceleratorAttributesResponse')
86
+ UpdateAcceleratorRequest = Shapes::StructureShape.new(name: 'UpdateAcceleratorRequest')
87
+ UpdateAcceleratorResponse = Shapes::StructureShape.new(name: 'UpdateAcceleratorResponse')
88
+ UpdateEndpointGroupRequest = Shapes::StructureShape.new(name: 'UpdateEndpointGroupRequest')
89
+ UpdateEndpointGroupResponse = Shapes::StructureShape.new(name: 'UpdateEndpointGroupResponse')
90
+ UpdateListenerRequest = Shapes::StructureShape.new(name: 'UpdateListenerRequest')
91
+ UpdateListenerResponse = Shapes::StructureShape.new(name: 'UpdateListenerResponse')
92
+
93
+ Accelerator.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "AcceleratorArn"))
94
+ Accelerator.add_member(:name, Shapes::ShapeRef.new(shape: GenericString, location_name: "Name"))
95
+ Accelerator.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
96
+ Accelerator.add_member(:enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "Enabled"))
97
+ Accelerator.add_member(:ip_sets, Shapes::ShapeRef.new(shape: IpSets, location_name: "IpSets"))
98
+ Accelerator.add_member(:status, Shapes::ShapeRef.new(shape: AcceleratorStatus, location_name: "Status"))
99
+ Accelerator.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
100
+ Accelerator.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
101
+ Accelerator.struct_class = Types::Accelerator
102
+
103
+ AcceleratorAttributes.add_member(:flow_logs_enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "FlowLogsEnabled"))
104
+ AcceleratorAttributes.add_member(:flow_logs_s3_bucket, Shapes::ShapeRef.new(shape: GenericString, location_name: "FlowLogsS3Bucket"))
105
+ AcceleratorAttributes.add_member(:flow_logs_s3_prefix, Shapes::ShapeRef.new(shape: GenericString, location_name: "FlowLogsS3Prefix"))
106
+ AcceleratorAttributes.struct_class = Types::AcceleratorAttributes
107
+
108
+ Accelerators.member = Shapes::ShapeRef.new(shape: Accelerator)
109
+
110
+ CreateAcceleratorRequest.add_member(:name, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Name"))
111
+ CreateAcceleratorRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
112
+ CreateAcceleratorRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "Enabled"))
113
+ CreateAcceleratorRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken"))
114
+ CreateAcceleratorRequest.struct_class = Types::CreateAcceleratorRequest
115
+
116
+ CreateAcceleratorResponse.add_member(:accelerator, Shapes::ShapeRef.new(shape: Accelerator, location_name: "Accelerator"))
117
+ CreateAcceleratorResponse.struct_class = Types::CreateAcceleratorResponse
118
+
119
+ CreateEndpointGroupRequest.add_member(:listener_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ListenerArn"))
120
+ CreateEndpointGroupRequest.add_member(:endpoint_group_region, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "EndpointGroupRegion"))
121
+ CreateEndpointGroupRequest.add_member(:endpoint_configurations, Shapes::ShapeRef.new(shape: EndpointConfigurations, location_name: "EndpointConfigurations"))
122
+ CreateEndpointGroupRequest.add_member(:traffic_dial_percentage, Shapes::ShapeRef.new(shape: TrafficDialPercentage, location_name: "TrafficDialPercentage"))
123
+ CreateEndpointGroupRequest.add_member(:health_check_port, Shapes::ShapeRef.new(shape: HealthCheckPort, location_name: "HealthCheckPort"))
124
+ CreateEndpointGroupRequest.add_member(:health_check_protocol, Shapes::ShapeRef.new(shape: HealthCheckProtocol, location_name: "HealthCheckProtocol"))
125
+ CreateEndpointGroupRequest.add_member(:health_check_path, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthCheckPath"))
126
+ CreateEndpointGroupRequest.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
127
+ CreateEndpointGroupRequest.add_member(:threshold_count, Shapes::ShapeRef.new(shape: ThresholdCount, location_name: "ThresholdCount"))
128
+ CreateEndpointGroupRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken"))
129
+ CreateEndpointGroupRequest.struct_class = Types::CreateEndpointGroupRequest
130
+
131
+ CreateEndpointGroupResponse.add_member(:endpoint_group, Shapes::ShapeRef.new(shape: EndpointGroup, location_name: "EndpointGroup"))
132
+ CreateEndpointGroupResponse.struct_class = Types::CreateEndpointGroupResponse
133
+
134
+ CreateListenerRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AcceleratorArn"))
135
+ CreateListenerRequest.add_member(:port_ranges, Shapes::ShapeRef.new(shape: PortRanges, required: true, location_name: "PortRanges"))
136
+ CreateListenerRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "Protocol"))
137
+ CreateListenerRequest.add_member(:client_affinity, Shapes::ShapeRef.new(shape: ClientAffinity, location_name: "ClientAffinity"))
138
+ CreateListenerRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken"))
139
+ CreateListenerRequest.struct_class = Types::CreateListenerRequest
140
+
141
+ CreateListenerResponse.add_member(:listener, Shapes::ShapeRef.new(shape: Listener, location_name: "Listener"))
142
+ CreateListenerResponse.struct_class = Types::CreateListenerResponse
143
+
144
+ DeleteAcceleratorRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AcceleratorArn"))
145
+ DeleteAcceleratorRequest.struct_class = Types::DeleteAcceleratorRequest
146
+
147
+ DeleteEndpointGroupRequest.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "EndpointGroupArn"))
148
+ DeleteEndpointGroupRequest.struct_class = Types::DeleteEndpointGroupRequest
149
+
150
+ DeleteListenerRequest.add_member(:listener_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ListenerArn"))
151
+ DeleteListenerRequest.struct_class = Types::DeleteListenerRequest
152
+
153
+ DescribeAcceleratorAttributesRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "AcceleratorArn"))
154
+ DescribeAcceleratorAttributesRequest.struct_class = Types::DescribeAcceleratorAttributesRequest
155
+
156
+ DescribeAcceleratorAttributesResponse.add_member(:accelerator_attributes, Shapes::ShapeRef.new(shape: AcceleratorAttributes, location_name: "AcceleratorAttributes"))
157
+ DescribeAcceleratorAttributesResponse.struct_class = Types::DescribeAcceleratorAttributesResponse
158
+
159
+ DescribeAcceleratorRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AcceleratorArn"))
160
+ DescribeAcceleratorRequest.struct_class = Types::DescribeAcceleratorRequest
161
+
162
+ DescribeAcceleratorResponse.add_member(:accelerator, Shapes::ShapeRef.new(shape: Accelerator, location_name: "Accelerator"))
163
+ DescribeAcceleratorResponse.struct_class = Types::DescribeAcceleratorResponse
164
+
165
+ DescribeEndpointGroupRequest.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "EndpointGroupArn"))
166
+ DescribeEndpointGroupRequest.struct_class = Types::DescribeEndpointGroupRequest
167
+
168
+ DescribeEndpointGroupResponse.add_member(:endpoint_group, Shapes::ShapeRef.new(shape: EndpointGroup, location_name: "EndpointGroup"))
169
+ DescribeEndpointGroupResponse.struct_class = Types::DescribeEndpointGroupResponse
170
+
171
+ DescribeListenerRequest.add_member(:listener_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ListenerArn"))
172
+ DescribeListenerRequest.struct_class = Types::DescribeListenerRequest
173
+
174
+ DescribeListenerResponse.add_member(:listener, Shapes::ShapeRef.new(shape: Listener, location_name: "Listener"))
175
+ DescribeListenerResponse.struct_class = Types::DescribeListenerResponse
176
+
177
+ EndpointConfiguration.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "EndpointId"))
178
+ EndpointConfiguration.add_member(:weight, Shapes::ShapeRef.new(shape: EndpointWeight, location_name: "Weight"))
179
+ EndpointConfiguration.struct_class = Types::EndpointConfiguration
180
+
181
+ EndpointConfigurations.member = Shapes::ShapeRef.new(shape: EndpointConfiguration)
182
+
183
+ EndpointDescription.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "EndpointId"))
184
+ EndpointDescription.add_member(:weight, Shapes::ShapeRef.new(shape: EndpointWeight, location_name: "Weight"))
185
+ EndpointDescription.add_member(:health_state, Shapes::ShapeRef.new(shape: HealthState, location_name: "HealthState"))
186
+ EndpointDescription.add_member(:health_reason, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthReason"))
187
+ EndpointDescription.struct_class = Types::EndpointDescription
188
+
189
+ EndpointDescriptions.member = Shapes::ShapeRef.new(shape: EndpointDescription)
190
+
191
+ EndpointGroup.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "EndpointGroupArn"))
192
+ EndpointGroup.add_member(:endpoint_group_region, Shapes::ShapeRef.new(shape: GenericString, location_name: "EndpointGroupRegion"))
193
+ EndpointGroup.add_member(:endpoint_descriptions, Shapes::ShapeRef.new(shape: EndpointDescriptions, location_name: "EndpointDescriptions"))
194
+ EndpointGroup.add_member(:traffic_dial_percentage, Shapes::ShapeRef.new(shape: TrafficDialPercentage, location_name: "TrafficDialPercentage"))
195
+ EndpointGroup.add_member(:health_check_port, Shapes::ShapeRef.new(shape: HealthCheckPort, location_name: "HealthCheckPort"))
196
+ EndpointGroup.add_member(:health_check_protocol, Shapes::ShapeRef.new(shape: HealthCheckProtocol, location_name: "HealthCheckProtocol"))
197
+ EndpointGroup.add_member(:health_check_path, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthCheckPath"))
198
+ EndpointGroup.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
199
+ EndpointGroup.add_member(:threshold_count, Shapes::ShapeRef.new(shape: ThresholdCount, location_name: "ThresholdCount"))
200
+ EndpointGroup.struct_class = Types::EndpointGroup
201
+
202
+ EndpointGroups.member = Shapes::ShapeRef.new(shape: EndpointGroup)
203
+
204
+ IpAddresses.member = Shapes::ShapeRef.new(shape: IpAddress)
205
+
206
+ IpSet.add_member(:ip_family, Shapes::ShapeRef.new(shape: GenericString, location_name: "IpFamily"))
207
+ IpSet.add_member(:ip_addresses, Shapes::ShapeRef.new(shape: IpAddresses, location_name: "IpAddresses"))
208
+ IpSet.struct_class = Types::IpSet
209
+
210
+ IpSets.member = Shapes::ShapeRef.new(shape: IpSet)
211
+
212
+ ListAcceleratorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
213
+ ListAcceleratorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
214
+ ListAcceleratorsRequest.struct_class = Types::ListAcceleratorsRequest
215
+
216
+ ListAcceleratorsResponse.add_member(:accelerators, Shapes::ShapeRef.new(shape: Accelerators, location_name: "Accelerators"))
217
+ ListAcceleratorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
218
+ ListAcceleratorsResponse.struct_class = Types::ListAcceleratorsResponse
219
+
220
+ ListEndpointGroupsRequest.add_member(:listener_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ListenerArn"))
221
+ ListEndpointGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
222
+ ListEndpointGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
223
+ ListEndpointGroupsRequest.struct_class = Types::ListEndpointGroupsRequest
224
+
225
+ ListEndpointGroupsResponse.add_member(:endpoint_groups, Shapes::ShapeRef.new(shape: EndpointGroups, location_name: "EndpointGroups"))
226
+ ListEndpointGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
227
+ ListEndpointGroupsResponse.struct_class = Types::ListEndpointGroupsResponse
228
+
229
+ ListListenersRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AcceleratorArn"))
230
+ ListListenersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
231
+ ListListenersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
232
+ ListListenersRequest.struct_class = Types::ListListenersRequest
233
+
234
+ ListListenersResponse.add_member(:listeners, Shapes::ShapeRef.new(shape: Listeners, location_name: "Listeners"))
235
+ ListListenersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
236
+ ListListenersResponse.struct_class = Types::ListListenersResponse
237
+
238
+ Listener.add_member(:listener_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "ListenerArn"))
239
+ Listener.add_member(:port_ranges, Shapes::ShapeRef.new(shape: PortRanges, location_name: "PortRanges"))
240
+ Listener.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "Protocol"))
241
+ Listener.add_member(:client_affinity, Shapes::ShapeRef.new(shape: ClientAffinity, location_name: "ClientAffinity"))
242
+ Listener.struct_class = Types::Listener
243
+
244
+ Listeners.member = Shapes::ShapeRef.new(shape: Listener)
245
+
246
+ PortRange.add_member(:from_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "FromPort"))
247
+ PortRange.add_member(:to_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "ToPort"))
248
+ PortRange.struct_class = Types::PortRange
249
+
250
+ PortRanges.member = Shapes::ShapeRef.new(shape: PortRange)
251
+
252
+ UpdateAcceleratorAttributesRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "AcceleratorArn"))
253
+ UpdateAcceleratorAttributesRequest.add_member(:flow_logs_enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "FlowLogsEnabled"))
254
+ UpdateAcceleratorAttributesRequest.add_member(:flow_logs_s3_bucket, Shapes::ShapeRef.new(shape: GenericString, location_name: "FlowLogsS3Bucket"))
255
+ UpdateAcceleratorAttributesRequest.add_member(:flow_logs_s3_prefix, Shapes::ShapeRef.new(shape: GenericString, location_name: "FlowLogsS3Prefix"))
256
+ UpdateAcceleratorAttributesRequest.struct_class = Types::UpdateAcceleratorAttributesRequest
257
+
258
+ UpdateAcceleratorAttributesResponse.add_member(:accelerator_attributes, Shapes::ShapeRef.new(shape: AcceleratorAttributes, location_name: "AcceleratorAttributes"))
259
+ UpdateAcceleratorAttributesResponse.struct_class = Types::UpdateAcceleratorAttributesResponse
260
+
261
+ UpdateAcceleratorRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AcceleratorArn"))
262
+ UpdateAcceleratorRequest.add_member(:name, Shapes::ShapeRef.new(shape: GenericString, location_name: "Name"))
263
+ UpdateAcceleratorRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
264
+ UpdateAcceleratorRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "Enabled"))
265
+ UpdateAcceleratorRequest.struct_class = Types::UpdateAcceleratorRequest
266
+
267
+ UpdateAcceleratorResponse.add_member(:accelerator, Shapes::ShapeRef.new(shape: Accelerator, location_name: "Accelerator"))
268
+ UpdateAcceleratorResponse.struct_class = Types::UpdateAcceleratorResponse
269
+
270
+ UpdateEndpointGroupRequest.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "EndpointGroupArn"))
271
+ UpdateEndpointGroupRequest.add_member(:endpoint_configurations, Shapes::ShapeRef.new(shape: EndpointConfigurations, location_name: "EndpointConfigurations"))
272
+ UpdateEndpointGroupRequest.add_member(:traffic_dial_percentage, Shapes::ShapeRef.new(shape: TrafficDialPercentage, location_name: "TrafficDialPercentage"))
273
+ UpdateEndpointGroupRequest.add_member(:health_check_port, Shapes::ShapeRef.new(shape: HealthCheckPort, location_name: "HealthCheckPort"))
274
+ UpdateEndpointGroupRequest.add_member(:health_check_protocol, Shapes::ShapeRef.new(shape: HealthCheckProtocol, location_name: "HealthCheckProtocol"))
275
+ UpdateEndpointGroupRequest.add_member(:health_check_path, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthCheckPath"))
276
+ UpdateEndpointGroupRequest.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
277
+ UpdateEndpointGroupRequest.add_member(:threshold_count, Shapes::ShapeRef.new(shape: ThresholdCount, location_name: "ThresholdCount"))
278
+ UpdateEndpointGroupRequest.struct_class = Types::UpdateEndpointGroupRequest
279
+
280
+ UpdateEndpointGroupResponse.add_member(:endpoint_group, Shapes::ShapeRef.new(shape: EndpointGroup, location_name: "EndpointGroup"))
281
+ UpdateEndpointGroupResponse.struct_class = Types::UpdateEndpointGroupResponse
282
+
283
+ UpdateListenerRequest.add_member(:listener_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ListenerArn"))
284
+ UpdateListenerRequest.add_member(:port_ranges, Shapes::ShapeRef.new(shape: PortRanges, location_name: "PortRanges"))
285
+ UpdateListenerRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "Protocol"))
286
+ UpdateListenerRequest.add_member(:client_affinity, Shapes::ShapeRef.new(shape: ClientAffinity, location_name: "ClientAffinity"))
287
+ UpdateListenerRequest.struct_class = Types::UpdateListenerRequest
288
+
289
+ UpdateListenerResponse.add_member(:listener, Shapes::ShapeRef.new(shape: Listener, location_name: "Listener"))
290
+ UpdateListenerResponse.struct_class = Types::UpdateListenerResponse
291
+
292
+
293
+ # @api private
294
+ API = Seahorse::Model::Api.new.tap do |api|
295
+
296
+ api.version = "2018-08-08"
297
+
298
+ api.metadata = {
299
+ "apiVersion" => "2018-08-08",
300
+ "endpointPrefix" => "globalaccelerator",
301
+ "jsonVersion" => "1.1",
302
+ "protocol" => "json",
303
+ "serviceFullName" => "AWS Global Accelerator",
304
+ "serviceId" => "Global Accelerator",
305
+ "signatureVersion" => "v4",
306
+ "signingName" => "globalaccelerator",
307
+ "targetPrefix" => "GlobalAccelerator_V20180706",
308
+ "uid" => "globalaccelerator-2018-08-08",
309
+ }
310
+
311
+ api.add_operation(:create_accelerator, Seahorse::Model::Operation.new.tap do |o|
312
+ o.name = "CreateAccelerator"
313
+ o.http_method = "POST"
314
+ o.http_request_uri = "/"
315
+ o.input = Shapes::ShapeRef.new(shape: CreateAcceleratorRequest)
316
+ o.output = Shapes::ShapeRef.new(shape: CreateAcceleratorResponse)
317
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
318
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
319
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
320
+ end)
321
+
322
+ api.add_operation(:create_endpoint_group, Seahorse::Model::Operation.new.tap do |o|
323
+ o.name = "CreateEndpointGroup"
324
+ o.http_method = "POST"
325
+ o.http_request_uri = "/"
326
+ o.input = Shapes::ShapeRef.new(shape: CreateEndpointGroupRequest)
327
+ o.output = Shapes::ShapeRef.new(shape: CreateEndpointGroupResponse)
328
+ o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
329
+ o.errors << Shapes::ShapeRef.new(shape: EndpointGroupAlreadyExistsException)
330
+ o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
331
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
332
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
333
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
334
+ end)
335
+
336
+ api.add_operation(:create_listener, Seahorse::Model::Operation.new.tap do |o|
337
+ o.name = "CreateListener"
338
+ o.http_method = "POST"
339
+ o.http_request_uri = "/"
340
+ o.input = Shapes::ShapeRef.new(shape: CreateListenerRequest)
341
+ o.output = Shapes::ShapeRef.new(shape: CreateListenerResponse)
342
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
343
+ o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
344
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPortRangeException)
345
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
346
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
347
+ end)
348
+
349
+ api.add_operation(:delete_accelerator, Seahorse::Model::Operation.new.tap do |o|
350
+ o.name = "DeleteAccelerator"
351
+ o.http_method = "POST"
352
+ o.http_request_uri = "/"
353
+ o.input = Shapes::ShapeRef.new(shape: DeleteAcceleratorRequest)
354
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
355
+ o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
356
+ o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotDisabledException)
357
+ o.errors << Shapes::ShapeRef.new(shape: AssociatedListenerFoundException)
358
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
359
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
360
+ end)
361
+
362
+ api.add_operation(:delete_endpoint_group, Seahorse::Model::Operation.new.tap do |o|
363
+ o.name = "DeleteEndpointGroup"
364
+ o.http_method = "POST"
365
+ o.http_request_uri = "/"
366
+ o.input = Shapes::ShapeRef.new(shape: DeleteEndpointGroupRequest)
367
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
368
+ o.errors << Shapes::ShapeRef.new(shape: EndpointGroupNotFoundException)
369
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
370
+ end)
371
+
372
+ api.add_operation(:delete_listener, Seahorse::Model::Operation.new.tap do |o|
373
+ o.name = "DeleteListener"
374
+ o.http_method = "POST"
375
+ o.http_request_uri = "/"
376
+ o.input = Shapes::ShapeRef.new(shape: DeleteListenerRequest)
377
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
378
+ o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
379
+ o.errors << Shapes::ShapeRef.new(shape: AssociatedEndpointGroupFoundException)
380
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
381
+ end)
382
+
383
+ api.add_operation(:describe_accelerator, Seahorse::Model::Operation.new.tap do |o|
384
+ o.name = "DescribeAccelerator"
385
+ o.http_method = "POST"
386
+ o.http_request_uri = "/"
387
+ o.input = Shapes::ShapeRef.new(shape: DescribeAcceleratorRequest)
388
+ o.output = Shapes::ShapeRef.new(shape: DescribeAcceleratorResponse)
389
+ o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
390
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
391
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
392
+ end)
393
+
394
+ api.add_operation(:describe_accelerator_attributes, Seahorse::Model::Operation.new.tap do |o|
395
+ o.name = "DescribeAcceleratorAttributes"
396
+ o.http_method = "POST"
397
+ o.http_request_uri = "/"
398
+ o.input = Shapes::ShapeRef.new(shape: DescribeAcceleratorAttributesRequest)
399
+ o.output = Shapes::ShapeRef.new(shape: DescribeAcceleratorAttributesResponse)
400
+ o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
401
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
402
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
403
+ end)
404
+
405
+ api.add_operation(:describe_endpoint_group, Seahorse::Model::Operation.new.tap do |o|
406
+ o.name = "DescribeEndpointGroup"
407
+ o.http_method = "POST"
408
+ o.http_request_uri = "/"
409
+ o.input = Shapes::ShapeRef.new(shape: DescribeEndpointGroupRequest)
410
+ o.output = Shapes::ShapeRef.new(shape: DescribeEndpointGroupResponse)
411
+ o.errors << Shapes::ShapeRef.new(shape: EndpointGroupNotFoundException)
412
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
413
+ end)
414
+
415
+ api.add_operation(:describe_listener, Seahorse::Model::Operation.new.tap do |o|
416
+ o.name = "DescribeListener"
417
+ o.http_method = "POST"
418
+ o.http_request_uri = "/"
419
+ o.input = Shapes::ShapeRef.new(shape: DescribeListenerRequest)
420
+ o.output = Shapes::ShapeRef.new(shape: DescribeListenerResponse)
421
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
422
+ o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
423
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
424
+ end)
425
+
426
+ api.add_operation(:list_accelerators, Seahorse::Model::Operation.new.tap do |o|
427
+ o.name = "ListAccelerators"
428
+ o.http_method = "POST"
429
+ o.http_request_uri = "/"
430
+ o.input = Shapes::ShapeRef.new(shape: ListAcceleratorsRequest)
431
+ o.output = Shapes::ShapeRef.new(shape: ListAcceleratorsResponse)
432
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
433
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
434
+ end)
435
+
436
+ api.add_operation(:list_endpoint_groups, Seahorse::Model::Operation.new.tap do |o|
437
+ o.name = "ListEndpointGroups"
438
+ o.http_method = "POST"
439
+ o.http_request_uri = "/"
440
+ o.input = Shapes::ShapeRef.new(shape: ListEndpointGroupsRequest)
441
+ o.output = Shapes::ShapeRef.new(shape: ListEndpointGroupsResponse)
442
+ o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
443
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
444
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
445
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
446
+ end)
447
+
448
+ api.add_operation(:list_listeners, Seahorse::Model::Operation.new.tap do |o|
449
+ o.name = "ListListeners"
450
+ o.http_method = "POST"
451
+ o.http_request_uri = "/"
452
+ o.input = Shapes::ShapeRef.new(shape: ListListenersRequest)
453
+ o.output = Shapes::ShapeRef.new(shape: ListListenersResponse)
454
+ o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
455
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
456
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
457
+ end)
458
+
459
+ api.add_operation(:update_accelerator, Seahorse::Model::Operation.new.tap do |o|
460
+ o.name = "UpdateAccelerator"
461
+ o.http_method = "POST"
462
+ o.http_request_uri = "/"
463
+ o.input = Shapes::ShapeRef.new(shape: UpdateAcceleratorRequest)
464
+ o.output = Shapes::ShapeRef.new(shape: UpdateAcceleratorResponse)
465
+ o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
466
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
467
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
468
+ end)
469
+
470
+ api.add_operation(:update_accelerator_attributes, Seahorse::Model::Operation.new.tap do |o|
471
+ o.name = "UpdateAcceleratorAttributes"
472
+ o.http_method = "POST"
473
+ o.http_request_uri = "/"
474
+ o.input = Shapes::ShapeRef.new(shape: UpdateAcceleratorAttributesRequest)
475
+ o.output = Shapes::ShapeRef.new(shape: UpdateAcceleratorAttributesResponse)
476
+ o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
477
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
478
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
479
+ end)
480
+
481
+ api.add_operation(:update_endpoint_group, Seahorse::Model::Operation.new.tap do |o|
482
+ o.name = "UpdateEndpointGroup"
483
+ o.http_method = "POST"
484
+ o.http_request_uri = "/"
485
+ o.input = Shapes::ShapeRef.new(shape: UpdateEndpointGroupRequest)
486
+ o.output = Shapes::ShapeRef.new(shape: UpdateEndpointGroupResponse)
487
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
488
+ o.errors << Shapes::ShapeRef.new(shape: EndpointGroupNotFoundException)
489
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
490
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
491
+ end)
492
+
493
+ api.add_operation(:update_listener, Seahorse::Model::Operation.new.tap do |o|
494
+ o.name = "UpdateListener"
495
+ o.http_method = "POST"
496
+ o.http_request_uri = "/"
497
+ o.input = Shapes::ShapeRef.new(shape: UpdateListenerRequest)
498
+ o.output = Shapes::ShapeRef.new(shape: UpdateListenerResponse)
499
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
500
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPortRangeException)
501
+ o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
502
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
503
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
504
+ end)
505
+ end
506
+
507
+ end
508
+ end