aws-sdk-servicediscovery 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/lib/aws-sdk-servicediscovery.rb +47 -0
- data/lib/aws-sdk-servicediscovery/client.rb +1076 -0
- data/lib/aws-sdk-servicediscovery/client_api.rb +611 -0
- data/lib/aws-sdk-servicediscovery/customizations.rb +0 -0
- data/lib/aws-sdk-servicediscovery/errors.rb +14 -0
- data/lib/aws-sdk-servicediscovery/resource.rb +23 -0
- data/lib/aws-sdk-servicediscovery/types.rb +1757 -0
- metadata +82 -0
@@ -0,0 +1,611 @@
|
|
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::ServiceDiscovery
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
15
|
+
AttrKey = Shapes::StringShape.new(name: 'AttrKey')
|
16
|
+
AttrValue = Shapes::StringShape.new(name: 'AttrValue')
|
17
|
+
Attributes = Shapes::MapShape.new(name: 'Attributes')
|
18
|
+
Code = Shapes::StringShape.new(name: 'Code')
|
19
|
+
CreatePrivateDnsNamespaceRequest = Shapes::StructureShape.new(name: 'CreatePrivateDnsNamespaceRequest')
|
20
|
+
CreatePrivateDnsNamespaceResponse = Shapes::StructureShape.new(name: 'CreatePrivateDnsNamespaceResponse')
|
21
|
+
CreatePublicDnsNamespaceRequest = Shapes::StructureShape.new(name: 'CreatePublicDnsNamespaceRequest')
|
22
|
+
CreatePublicDnsNamespaceResponse = Shapes::StructureShape.new(name: 'CreatePublicDnsNamespaceResponse')
|
23
|
+
CreateServiceRequest = Shapes::StructureShape.new(name: 'CreateServiceRequest')
|
24
|
+
CreateServiceResponse = Shapes::StructureShape.new(name: 'CreateServiceResponse')
|
25
|
+
DeleteNamespaceRequest = Shapes::StructureShape.new(name: 'DeleteNamespaceRequest')
|
26
|
+
DeleteNamespaceResponse = Shapes::StructureShape.new(name: 'DeleteNamespaceResponse')
|
27
|
+
DeleteServiceRequest = Shapes::StructureShape.new(name: 'DeleteServiceRequest')
|
28
|
+
DeleteServiceResponse = Shapes::StructureShape.new(name: 'DeleteServiceResponse')
|
29
|
+
DeregisterInstanceRequest = Shapes::StructureShape.new(name: 'DeregisterInstanceRequest')
|
30
|
+
DeregisterInstanceResponse = Shapes::StructureShape.new(name: 'DeregisterInstanceResponse')
|
31
|
+
DnsConfig = Shapes::StructureShape.new(name: 'DnsConfig')
|
32
|
+
DnsConfigChange = Shapes::StructureShape.new(name: 'DnsConfigChange')
|
33
|
+
DnsProperties = Shapes::StructureShape.new(name: 'DnsProperties')
|
34
|
+
DnsRecord = Shapes::StructureShape.new(name: 'DnsRecord')
|
35
|
+
DnsRecordList = Shapes::ListShape.new(name: 'DnsRecordList')
|
36
|
+
DuplicateRequest = Shapes::StructureShape.new(name: 'DuplicateRequest')
|
37
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
38
|
+
FailureThreshold = Shapes::IntegerShape.new(name: 'FailureThreshold')
|
39
|
+
FilterCondition = Shapes::StringShape.new(name: 'FilterCondition')
|
40
|
+
FilterValue = Shapes::StringShape.new(name: 'FilterValue')
|
41
|
+
FilterValues = Shapes::ListShape.new(name: 'FilterValues')
|
42
|
+
GetInstanceRequest = Shapes::StructureShape.new(name: 'GetInstanceRequest')
|
43
|
+
GetInstanceResponse = Shapes::StructureShape.new(name: 'GetInstanceResponse')
|
44
|
+
GetInstancesHealthStatusRequest = Shapes::StructureShape.new(name: 'GetInstancesHealthStatusRequest')
|
45
|
+
GetInstancesHealthStatusResponse = Shapes::StructureShape.new(name: 'GetInstancesHealthStatusResponse')
|
46
|
+
GetNamespaceRequest = Shapes::StructureShape.new(name: 'GetNamespaceRequest')
|
47
|
+
GetNamespaceResponse = Shapes::StructureShape.new(name: 'GetNamespaceResponse')
|
48
|
+
GetOperationRequest = Shapes::StructureShape.new(name: 'GetOperationRequest')
|
49
|
+
GetOperationResponse = Shapes::StructureShape.new(name: 'GetOperationResponse')
|
50
|
+
GetServiceRequest = Shapes::StructureShape.new(name: 'GetServiceRequest')
|
51
|
+
GetServiceResponse = Shapes::StructureShape.new(name: 'GetServiceResponse')
|
52
|
+
HealthCheckConfig = Shapes::StructureShape.new(name: 'HealthCheckConfig')
|
53
|
+
HealthCheckType = Shapes::StringShape.new(name: 'HealthCheckType')
|
54
|
+
HealthStatus = Shapes::StringShape.new(name: 'HealthStatus')
|
55
|
+
Instance = Shapes::StructureShape.new(name: 'Instance')
|
56
|
+
InstanceHealthStatusMap = Shapes::MapShape.new(name: 'InstanceHealthStatusMap')
|
57
|
+
InstanceIdList = Shapes::ListShape.new(name: 'InstanceIdList')
|
58
|
+
InstanceNotFound = Shapes::StructureShape.new(name: 'InstanceNotFound')
|
59
|
+
InstanceSummary = Shapes::StructureShape.new(name: 'InstanceSummary')
|
60
|
+
InstanceSummaryList = Shapes::ListShape.new(name: 'InstanceSummaryList')
|
61
|
+
InvalidInput = Shapes::StructureShape.new(name: 'InvalidInput')
|
62
|
+
ListInstancesRequest = Shapes::StructureShape.new(name: 'ListInstancesRequest')
|
63
|
+
ListInstancesResponse = Shapes::StructureShape.new(name: 'ListInstancesResponse')
|
64
|
+
ListNamespacesRequest = Shapes::StructureShape.new(name: 'ListNamespacesRequest')
|
65
|
+
ListNamespacesResponse = Shapes::StructureShape.new(name: 'ListNamespacesResponse')
|
66
|
+
ListOperationsRequest = Shapes::StructureShape.new(name: 'ListOperationsRequest')
|
67
|
+
ListOperationsResponse = Shapes::StructureShape.new(name: 'ListOperationsResponse')
|
68
|
+
ListServicesRequest = Shapes::StructureShape.new(name: 'ListServicesRequest')
|
69
|
+
ListServicesResponse = Shapes::StructureShape.new(name: 'ListServicesResponse')
|
70
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
71
|
+
Message = Shapes::StringShape.new(name: 'Message')
|
72
|
+
Namespace = Shapes::StructureShape.new(name: 'Namespace')
|
73
|
+
NamespaceAlreadyExists = Shapes::StructureShape.new(name: 'NamespaceAlreadyExists')
|
74
|
+
NamespaceFilter = Shapes::StructureShape.new(name: 'NamespaceFilter')
|
75
|
+
NamespaceFilterName = Shapes::StringShape.new(name: 'NamespaceFilterName')
|
76
|
+
NamespaceFilters = Shapes::ListShape.new(name: 'NamespaceFilters')
|
77
|
+
NamespaceName = Shapes::StringShape.new(name: 'NamespaceName')
|
78
|
+
NamespaceNotFound = Shapes::StructureShape.new(name: 'NamespaceNotFound')
|
79
|
+
NamespaceProperties = Shapes::StructureShape.new(name: 'NamespaceProperties')
|
80
|
+
NamespaceSummariesList = Shapes::ListShape.new(name: 'NamespaceSummariesList')
|
81
|
+
NamespaceSummary = Shapes::StructureShape.new(name: 'NamespaceSummary')
|
82
|
+
NamespaceType = Shapes::StringShape.new(name: 'NamespaceType')
|
83
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
84
|
+
Operation = Shapes::StructureShape.new(name: 'Operation')
|
85
|
+
OperationFilter = Shapes::StructureShape.new(name: 'OperationFilter')
|
86
|
+
OperationFilterName = Shapes::StringShape.new(name: 'OperationFilterName')
|
87
|
+
OperationFilters = Shapes::ListShape.new(name: 'OperationFilters')
|
88
|
+
OperationId = Shapes::StringShape.new(name: 'OperationId')
|
89
|
+
OperationNotFound = Shapes::StructureShape.new(name: 'OperationNotFound')
|
90
|
+
OperationStatus = Shapes::StringShape.new(name: 'OperationStatus')
|
91
|
+
OperationSummary = Shapes::StructureShape.new(name: 'OperationSummary')
|
92
|
+
OperationSummaryList = Shapes::ListShape.new(name: 'OperationSummaryList')
|
93
|
+
OperationTargetType = Shapes::StringShape.new(name: 'OperationTargetType')
|
94
|
+
OperationTargetsMap = Shapes::MapShape.new(name: 'OperationTargetsMap')
|
95
|
+
OperationType = Shapes::StringShape.new(name: 'OperationType')
|
96
|
+
RecordTTL = Shapes::IntegerShape.new(name: 'RecordTTL')
|
97
|
+
RecordType = Shapes::StringShape.new(name: 'RecordType')
|
98
|
+
RegisterInstanceRequest = Shapes::StructureShape.new(name: 'RegisterInstanceRequest')
|
99
|
+
RegisterInstanceResponse = Shapes::StructureShape.new(name: 'RegisterInstanceResponse')
|
100
|
+
ResourceCount = Shapes::IntegerShape.new(name: 'ResourceCount')
|
101
|
+
ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
|
102
|
+
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
103
|
+
ResourceInUse = Shapes::StructureShape.new(name: 'ResourceInUse')
|
104
|
+
ResourceLimitExceeded = Shapes::StructureShape.new(name: 'ResourceLimitExceeded')
|
105
|
+
ResourcePath = Shapes::StringShape.new(name: 'ResourcePath')
|
106
|
+
Service = Shapes::StructureShape.new(name: 'Service')
|
107
|
+
ServiceAlreadyExists = Shapes::StructureShape.new(name: 'ServiceAlreadyExists')
|
108
|
+
ServiceChange = Shapes::StructureShape.new(name: 'ServiceChange')
|
109
|
+
ServiceFilter = Shapes::StructureShape.new(name: 'ServiceFilter')
|
110
|
+
ServiceFilterName = Shapes::StringShape.new(name: 'ServiceFilterName')
|
111
|
+
ServiceFilters = Shapes::ListShape.new(name: 'ServiceFilters')
|
112
|
+
ServiceName = Shapes::StringShape.new(name: 'ServiceName')
|
113
|
+
ServiceNotFound = Shapes::StructureShape.new(name: 'ServiceNotFound')
|
114
|
+
ServiceSummariesList = Shapes::ListShape.new(name: 'ServiceSummariesList')
|
115
|
+
ServiceSummary = Shapes::StructureShape.new(name: 'ServiceSummary')
|
116
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
117
|
+
UpdateServiceRequest = Shapes::StructureShape.new(name: 'UpdateServiceRequest')
|
118
|
+
UpdateServiceResponse = Shapes::StructureShape.new(name: 'UpdateServiceResponse')
|
119
|
+
|
120
|
+
Attributes.key = Shapes::ShapeRef.new(shape: AttrKey)
|
121
|
+
Attributes.value = Shapes::ShapeRef.new(shape: AttrValue)
|
122
|
+
|
123
|
+
CreatePrivateDnsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "Name"))
|
124
|
+
CreatePrivateDnsNamespaceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
|
125
|
+
CreatePrivateDnsNamespaceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
126
|
+
CreatePrivateDnsNamespaceRequest.add_member(:vpc, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Vpc"))
|
127
|
+
CreatePrivateDnsNamespaceRequest.struct_class = Types::CreatePrivateDnsNamespaceRequest
|
128
|
+
|
129
|
+
CreatePrivateDnsNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
130
|
+
CreatePrivateDnsNamespaceResponse.struct_class = Types::CreatePrivateDnsNamespaceResponse
|
131
|
+
|
132
|
+
CreatePublicDnsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "Name"))
|
133
|
+
CreatePublicDnsNamespaceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
|
134
|
+
CreatePublicDnsNamespaceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
135
|
+
CreatePublicDnsNamespaceRequest.struct_class = Types::CreatePublicDnsNamespaceRequest
|
136
|
+
|
137
|
+
CreatePublicDnsNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
138
|
+
CreatePublicDnsNamespaceResponse.struct_class = Types::CreatePublicDnsNamespaceResponse
|
139
|
+
|
140
|
+
CreateServiceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "Name"))
|
141
|
+
CreateServiceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
|
142
|
+
CreateServiceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
143
|
+
CreateServiceRequest.add_member(:dns_config, Shapes::ShapeRef.new(shape: DnsConfig, required: true, location_name: "DnsConfig"))
|
144
|
+
CreateServiceRequest.add_member(:health_check_config, Shapes::ShapeRef.new(shape: HealthCheckConfig, location_name: "HealthCheckConfig"))
|
145
|
+
CreateServiceRequest.struct_class = Types::CreateServiceRequest
|
146
|
+
|
147
|
+
CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "Service"))
|
148
|
+
CreateServiceResponse.struct_class = Types::CreateServiceResponse
|
149
|
+
|
150
|
+
DeleteNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
|
151
|
+
DeleteNamespaceRequest.struct_class = Types::DeleteNamespaceRequest
|
152
|
+
|
153
|
+
DeleteNamespaceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
154
|
+
DeleteNamespaceResponse.struct_class = Types::DeleteNamespaceResponse
|
155
|
+
|
156
|
+
DeleteServiceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
|
157
|
+
DeleteServiceRequest.struct_class = Types::DeleteServiceRequest
|
158
|
+
|
159
|
+
DeleteServiceResponse.struct_class = Types::DeleteServiceResponse
|
160
|
+
|
161
|
+
DeregisterInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
|
162
|
+
DeregisterInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "InstanceId"))
|
163
|
+
DeregisterInstanceRequest.struct_class = Types::DeregisterInstanceRequest
|
164
|
+
|
165
|
+
DeregisterInstanceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
166
|
+
DeregisterInstanceResponse.struct_class = Types::DeregisterInstanceResponse
|
167
|
+
|
168
|
+
DnsConfig.add_member(:namespace_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "NamespaceId"))
|
169
|
+
DnsConfig.add_member(:dns_records, Shapes::ShapeRef.new(shape: DnsRecordList, required: true, location_name: "DnsRecords"))
|
170
|
+
DnsConfig.struct_class = Types::DnsConfig
|
171
|
+
|
172
|
+
DnsConfigChange.add_member(:dns_records, Shapes::ShapeRef.new(shape: DnsRecordList, required: true, location_name: "DnsRecords"))
|
173
|
+
DnsConfigChange.struct_class = Types::DnsConfigChange
|
174
|
+
|
175
|
+
DnsProperties.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "HostedZoneId"))
|
176
|
+
DnsProperties.struct_class = Types::DnsProperties
|
177
|
+
|
178
|
+
DnsRecord.add_member(:type, Shapes::ShapeRef.new(shape: RecordType, required: true, location_name: "Type"))
|
179
|
+
DnsRecord.add_member(:ttl, Shapes::ShapeRef.new(shape: RecordTTL, required: true, location_name: "TTL"))
|
180
|
+
DnsRecord.struct_class = Types::DnsRecord
|
181
|
+
|
182
|
+
DnsRecordList.member = Shapes::ShapeRef.new(shape: DnsRecord)
|
183
|
+
|
184
|
+
FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
|
185
|
+
|
186
|
+
GetInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
|
187
|
+
GetInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "InstanceId"))
|
188
|
+
GetInstanceRequest.struct_class = Types::GetInstanceRequest
|
189
|
+
|
190
|
+
GetInstanceResponse.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, location_name: "Instance"))
|
191
|
+
GetInstanceResponse.struct_class = Types::GetInstanceResponse
|
192
|
+
|
193
|
+
GetInstancesHealthStatusRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
|
194
|
+
GetInstancesHealthStatusRequest.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceIdList, location_name: "Instances"))
|
195
|
+
GetInstancesHealthStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
196
|
+
GetInstancesHealthStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
197
|
+
GetInstancesHealthStatusRequest.struct_class = Types::GetInstancesHealthStatusRequest
|
198
|
+
|
199
|
+
GetInstancesHealthStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: InstanceHealthStatusMap, location_name: "Status"))
|
200
|
+
GetInstancesHealthStatusResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
201
|
+
GetInstancesHealthStatusResponse.struct_class = Types::GetInstancesHealthStatusResponse
|
202
|
+
|
203
|
+
GetNamespaceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
|
204
|
+
GetNamespaceRequest.struct_class = Types::GetNamespaceRequest
|
205
|
+
|
206
|
+
GetNamespaceResponse.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location_name: "Namespace"))
|
207
|
+
GetNamespaceResponse.struct_class = Types::GetNamespaceResponse
|
208
|
+
|
209
|
+
GetOperationRequest.add_member(:operation_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "OperationId"))
|
210
|
+
GetOperationRequest.struct_class = Types::GetOperationRequest
|
211
|
+
|
212
|
+
GetOperationResponse.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "Operation"))
|
213
|
+
GetOperationResponse.struct_class = Types::GetOperationResponse
|
214
|
+
|
215
|
+
GetServiceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
|
216
|
+
GetServiceRequest.struct_class = Types::GetServiceRequest
|
217
|
+
|
218
|
+
GetServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "Service"))
|
219
|
+
GetServiceResponse.struct_class = Types::GetServiceResponse
|
220
|
+
|
221
|
+
HealthCheckConfig.add_member(:type, Shapes::ShapeRef.new(shape: HealthCheckType, location_name: "Type"))
|
222
|
+
HealthCheckConfig.add_member(:resource_path, Shapes::ShapeRef.new(shape: ResourcePath, location_name: "ResourcePath"))
|
223
|
+
HealthCheckConfig.add_member(:failure_threshold, Shapes::ShapeRef.new(shape: FailureThreshold, location_name: "FailureThreshold"))
|
224
|
+
HealthCheckConfig.struct_class = Types::HealthCheckConfig
|
225
|
+
|
226
|
+
Instance.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
|
227
|
+
Instance.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId"))
|
228
|
+
Instance.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
|
229
|
+
Instance.struct_class = Types::Instance
|
230
|
+
|
231
|
+
InstanceHealthStatusMap.key = Shapes::ShapeRef.new(shape: ResourceId)
|
232
|
+
InstanceHealthStatusMap.value = Shapes::ShapeRef.new(shape: HealthStatus)
|
233
|
+
|
234
|
+
InstanceIdList.member = Shapes::ShapeRef.new(shape: ResourceId)
|
235
|
+
|
236
|
+
InstanceSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
|
237
|
+
InstanceSummary.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
|
238
|
+
InstanceSummary.struct_class = Types::InstanceSummary
|
239
|
+
|
240
|
+
InstanceSummaryList.member = Shapes::ShapeRef.new(shape: InstanceSummary)
|
241
|
+
|
242
|
+
ListInstancesRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
|
243
|
+
ListInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
244
|
+
ListInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
245
|
+
ListInstancesRequest.struct_class = Types::ListInstancesRequest
|
246
|
+
|
247
|
+
ListInstancesResponse.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceSummaryList, location_name: "Instances"))
|
248
|
+
ListInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
249
|
+
ListInstancesResponse.struct_class = Types::ListInstancesResponse
|
250
|
+
|
251
|
+
ListNamespacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
252
|
+
ListNamespacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
253
|
+
ListNamespacesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: NamespaceFilters, location_name: "Filters"))
|
254
|
+
ListNamespacesRequest.struct_class = Types::ListNamespacesRequest
|
255
|
+
|
256
|
+
ListNamespacesResponse.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespaceSummariesList, location_name: "Namespaces"))
|
257
|
+
ListNamespacesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
258
|
+
ListNamespacesResponse.struct_class = Types::ListNamespacesResponse
|
259
|
+
|
260
|
+
ListOperationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
261
|
+
ListOperationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
262
|
+
ListOperationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: OperationFilters, location_name: "Filters"))
|
263
|
+
ListOperationsRequest.struct_class = Types::ListOperationsRequest
|
264
|
+
|
265
|
+
ListOperationsResponse.add_member(:operations, Shapes::ShapeRef.new(shape: OperationSummaryList, location_name: "Operations"))
|
266
|
+
ListOperationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
267
|
+
ListOperationsResponse.struct_class = Types::ListOperationsResponse
|
268
|
+
|
269
|
+
ListServicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
270
|
+
ListServicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
271
|
+
ListServicesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ServiceFilters, location_name: "Filters"))
|
272
|
+
ListServicesRequest.struct_class = Types::ListServicesRequest
|
273
|
+
|
274
|
+
ListServicesResponse.add_member(:services, Shapes::ShapeRef.new(shape: ServiceSummariesList, location_name: "Services"))
|
275
|
+
ListServicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
276
|
+
ListServicesResponse.struct_class = Types::ListServicesResponse
|
277
|
+
|
278
|
+
Namespace.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
|
279
|
+
Namespace.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
280
|
+
Namespace.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "Name"))
|
281
|
+
Namespace.add_member(:type, Shapes::ShapeRef.new(shape: NamespaceType, location_name: "Type"))
|
282
|
+
Namespace.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
283
|
+
Namespace.add_member(:service_count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "ServiceCount"))
|
284
|
+
Namespace.add_member(:properties, Shapes::ShapeRef.new(shape: NamespaceProperties, location_name: "Properties"))
|
285
|
+
Namespace.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateDate"))
|
286
|
+
Namespace.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId"))
|
287
|
+
Namespace.struct_class = Types::Namespace
|
288
|
+
|
289
|
+
NamespaceFilter.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceFilterName, required: true, location_name: "Name"))
|
290
|
+
NamespaceFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "Values"))
|
291
|
+
NamespaceFilter.add_member(:condition, Shapes::ShapeRef.new(shape: FilterCondition, location_name: "Condition"))
|
292
|
+
NamespaceFilter.struct_class = Types::NamespaceFilter
|
293
|
+
|
294
|
+
NamespaceFilters.member = Shapes::ShapeRef.new(shape: NamespaceFilter)
|
295
|
+
|
296
|
+
NamespaceProperties.add_member(:dns_properties, Shapes::ShapeRef.new(shape: DnsProperties, location_name: "DnsProperties"))
|
297
|
+
NamespaceProperties.struct_class = Types::NamespaceProperties
|
298
|
+
|
299
|
+
NamespaceSummariesList.member = Shapes::ShapeRef.new(shape: NamespaceSummary)
|
300
|
+
|
301
|
+
NamespaceSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
|
302
|
+
NamespaceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
303
|
+
NamespaceSummary.add_member(:name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "Name"))
|
304
|
+
NamespaceSummary.add_member(:type, Shapes::ShapeRef.new(shape: NamespaceType, location_name: "Type"))
|
305
|
+
NamespaceSummary.struct_class = Types::NamespaceSummary
|
306
|
+
|
307
|
+
Operation.add_member(:id, Shapes::ShapeRef.new(shape: OperationId, location_name: "Id"))
|
308
|
+
Operation.add_member(:type, Shapes::ShapeRef.new(shape: OperationType, location_name: "Type"))
|
309
|
+
Operation.add_member(:status, Shapes::ShapeRef.new(shape: OperationStatus, location_name: "Status"))
|
310
|
+
Operation.add_member(:error_message, Shapes::ShapeRef.new(shape: Message, location_name: "ErrorMessage"))
|
311
|
+
Operation.add_member(:error_code, Shapes::ShapeRef.new(shape: Code, location_name: "ErrorCode"))
|
312
|
+
Operation.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateDate"))
|
313
|
+
Operation.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdateDate"))
|
314
|
+
Operation.add_member(:targets, Shapes::ShapeRef.new(shape: OperationTargetsMap, location_name: "Targets"))
|
315
|
+
Operation.struct_class = Types::Operation
|
316
|
+
|
317
|
+
OperationFilter.add_member(:name, Shapes::ShapeRef.new(shape: OperationFilterName, required: true, location_name: "Name"))
|
318
|
+
OperationFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "Values"))
|
319
|
+
OperationFilter.add_member(:condition, Shapes::ShapeRef.new(shape: FilterCondition, location_name: "Condition"))
|
320
|
+
OperationFilter.struct_class = Types::OperationFilter
|
321
|
+
|
322
|
+
OperationFilters.member = Shapes::ShapeRef.new(shape: OperationFilter)
|
323
|
+
|
324
|
+
OperationSummary.add_member(:id, Shapes::ShapeRef.new(shape: OperationId, location_name: "Id"))
|
325
|
+
OperationSummary.add_member(:status, Shapes::ShapeRef.new(shape: OperationStatus, location_name: "Status"))
|
326
|
+
OperationSummary.struct_class = Types::OperationSummary
|
327
|
+
|
328
|
+
OperationSummaryList.member = Shapes::ShapeRef.new(shape: OperationSummary)
|
329
|
+
|
330
|
+
OperationTargetsMap.key = Shapes::ShapeRef.new(shape: OperationTargetType)
|
331
|
+
OperationTargetsMap.value = Shapes::ShapeRef.new(shape: ResourceId)
|
332
|
+
|
333
|
+
RegisterInstanceRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ServiceId"))
|
334
|
+
RegisterInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "InstanceId"))
|
335
|
+
RegisterInstanceRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId", metadata: {"idempotencyToken"=>true}))
|
336
|
+
RegisterInstanceRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "Attributes"))
|
337
|
+
RegisterInstanceRequest.struct_class = Types::RegisterInstanceRequest
|
338
|
+
|
339
|
+
RegisterInstanceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
340
|
+
RegisterInstanceResponse.struct_class = Types::RegisterInstanceResponse
|
341
|
+
|
342
|
+
Service.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
|
343
|
+
Service.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
344
|
+
Service.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "Name"))
|
345
|
+
Service.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
346
|
+
Service.add_member(:instance_count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "InstanceCount"))
|
347
|
+
Service.add_member(:dns_config, Shapes::ShapeRef.new(shape: DnsConfig, location_name: "DnsConfig"))
|
348
|
+
Service.add_member(:health_check_config, Shapes::ShapeRef.new(shape: HealthCheckConfig, location_name: "HealthCheckConfig"))
|
349
|
+
Service.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateDate"))
|
350
|
+
Service.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "CreatorRequestId"))
|
351
|
+
Service.struct_class = Types::Service
|
352
|
+
|
353
|
+
ServiceChange.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
354
|
+
ServiceChange.add_member(:dns_config, Shapes::ShapeRef.new(shape: DnsConfigChange, required: true, location_name: "DnsConfig"))
|
355
|
+
ServiceChange.add_member(:health_check_config, Shapes::ShapeRef.new(shape: HealthCheckConfig, location_name: "HealthCheckConfig"))
|
356
|
+
ServiceChange.struct_class = Types::ServiceChange
|
357
|
+
|
358
|
+
ServiceFilter.add_member(:name, Shapes::ShapeRef.new(shape: ServiceFilterName, required: true, location_name: "Name"))
|
359
|
+
ServiceFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "Values"))
|
360
|
+
ServiceFilter.add_member(:condition, Shapes::ShapeRef.new(shape: FilterCondition, location_name: "Condition"))
|
361
|
+
ServiceFilter.struct_class = Types::ServiceFilter
|
362
|
+
|
363
|
+
ServiceFilters.member = Shapes::ShapeRef.new(shape: ServiceFilter)
|
364
|
+
|
365
|
+
ServiceSummariesList.member = Shapes::ShapeRef.new(shape: ServiceSummary)
|
366
|
+
|
367
|
+
ServiceSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
|
368
|
+
ServiceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
369
|
+
ServiceSummary.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "Name"))
|
370
|
+
ServiceSummary.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
371
|
+
ServiceSummary.add_member(:instance_count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "InstanceCount"))
|
372
|
+
ServiceSummary.struct_class = Types::ServiceSummary
|
373
|
+
|
374
|
+
UpdateServiceRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
|
375
|
+
UpdateServiceRequest.add_member(:service, Shapes::ShapeRef.new(shape: ServiceChange, required: true, location_name: "Service"))
|
376
|
+
UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
|
377
|
+
|
378
|
+
UpdateServiceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
|
379
|
+
UpdateServiceResponse.struct_class = Types::UpdateServiceResponse
|
380
|
+
|
381
|
+
|
382
|
+
# @api private
|
383
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
384
|
+
|
385
|
+
api.version = "2017-03-14"
|
386
|
+
|
387
|
+
api.metadata = {
|
388
|
+
"endpointPrefix" => "servicediscovery",
|
389
|
+
"jsonVersion" => "1.1",
|
390
|
+
"protocol" => "json",
|
391
|
+
"serviceFullName" => "Amazon Route 53 Auto Naming",
|
392
|
+
"signatureVersion" => "v4",
|
393
|
+
"targetPrefix" => "Route53AutoNaming_v20170314",
|
394
|
+
}
|
395
|
+
|
396
|
+
api.add_operation(:create_private_dns_namespace, Seahorse::Model::Operation.new.tap do |o|
|
397
|
+
o.name = "CreatePrivateDnsNamespace"
|
398
|
+
o.http_method = "POST"
|
399
|
+
o.http_request_uri = "/"
|
400
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePrivateDnsNamespaceRequest)
|
401
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePrivateDnsNamespaceResponse)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceAlreadyExists)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceeded)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
|
406
|
+
end)
|
407
|
+
|
408
|
+
api.add_operation(:create_public_dns_namespace, Seahorse::Model::Operation.new.tap do |o|
|
409
|
+
o.name = "CreatePublicDnsNamespace"
|
410
|
+
o.http_method = "POST"
|
411
|
+
o.http_request_uri = "/"
|
412
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePublicDnsNamespaceRequest)
|
413
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePublicDnsNamespaceResponse)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceAlreadyExists)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceeded)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
|
418
|
+
end)
|
419
|
+
|
420
|
+
api.add_operation(:create_service, Seahorse::Model::Operation.new.tap do |o|
|
421
|
+
o.name = "CreateService"
|
422
|
+
o.http_method = "POST"
|
423
|
+
o.http_request_uri = "/"
|
424
|
+
o.input = Shapes::ShapeRef.new(shape: CreateServiceRequest)
|
425
|
+
o.output = Shapes::ShapeRef.new(shape: CreateServiceResponse)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceeded)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFound)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceAlreadyExists)
|
430
|
+
end)
|
431
|
+
|
432
|
+
api.add_operation(:delete_namespace, Seahorse::Model::Operation.new.tap do |o|
|
433
|
+
o.name = "DeleteNamespace"
|
434
|
+
o.http_method = "POST"
|
435
|
+
o.http_request_uri = "/"
|
436
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteNamespaceRequest)
|
437
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteNamespaceResponse)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFound)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
|
442
|
+
end)
|
443
|
+
|
444
|
+
api.add_operation(:delete_service, Seahorse::Model::Operation.new.tap do |o|
|
445
|
+
o.name = "DeleteService"
|
446
|
+
o.http_method = "POST"
|
447
|
+
o.http_request_uri = "/"
|
448
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteServiceRequest)
|
449
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteServiceResponse)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
|
453
|
+
end)
|
454
|
+
|
455
|
+
api.add_operation(:deregister_instance, Seahorse::Model::Operation.new.tap do |o|
|
456
|
+
o.name = "DeregisterInstance"
|
457
|
+
o.http_method = "POST"
|
458
|
+
o.http_request_uri = "/"
|
459
|
+
o.input = Shapes::ShapeRef.new(shape: DeregisterInstanceRequest)
|
460
|
+
o.output = Shapes::ShapeRef.new(shape: DeregisterInstanceResponse)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: InstanceNotFound)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
|
466
|
+
end)
|
467
|
+
|
468
|
+
api.add_operation(:get_instance, Seahorse::Model::Operation.new.tap do |o|
|
469
|
+
o.name = "GetInstance"
|
470
|
+
o.http_method = "POST"
|
471
|
+
o.http_request_uri = "/"
|
472
|
+
o.input = Shapes::ShapeRef.new(shape: GetInstanceRequest)
|
473
|
+
o.output = Shapes::ShapeRef.new(shape: GetInstanceResponse)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: InstanceNotFound)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
476
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
|
477
|
+
end)
|
478
|
+
|
479
|
+
api.add_operation(:get_instances_health_status, Seahorse::Model::Operation.new.tap do |o|
|
480
|
+
o.name = "GetInstancesHealthStatus"
|
481
|
+
o.http_method = "POST"
|
482
|
+
o.http_request_uri = "/"
|
483
|
+
o.input = Shapes::ShapeRef.new(shape: GetInstancesHealthStatusRequest)
|
484
|
+
o.output = Shapes::ShapeRef.new(shape: GetInstancesHealthStatusResponse)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: InstanceNotFound)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
|
488
|
+
o[:pager] = Aws::Pager.new(
|
489
|
+
limit_key: "max_results",
|
490
|
+
tokens: {
|
491
|
+
"next_token" => "next_token"
|
492
|
+
}
|
493
|
+
)
|
494
|
+
end)
|
495
|
+
|
496
|
+
api.add_operation(:get_namespace, Seahorse::Model::Operation.new.tap do |o|
|
497
|
+
o.name = "GetNamespace"
|
498
|
+
o.http_method = "POST"
|
499
|
+
o.http_request_uri = "/"
|
500
|
+
o.input = Shapes::ShapeRef.new(shape: GetNamespaceRequest)
|
501
|
+
o.output = Shapes::ShapeRef.new(shape: GetNamespaceResponse)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFound)
|
504
|
+
end)
|
505
|
+
|
506
|
+
api.add_operation(:get_operation, Seahorse::Model::Operation.new.tap do |o|
|
507
|
+
o.name = "GetOperation"
|
508
|
+
o.http_method = "POST"
|
509
|
+
o.http_request_uri = "/"
|
510
|
+
o.input = Shapes::ShapeRef.new(shape: GetOperationRequest)
|
511
|
+
o.output = Shapes::ShapeRef.new(shape: GetOperationResponse)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotFound)
|
513
|
+
end)
|
514
|
+
|
515
|
+
api.add_operation(:get_service, Seahorse::Model::Operation.new.tap do |o|
|
516
|
+
o.name = "GetService"
|
517
|
+
o.http_method = "POST"
|
518
|
+
o.http_request_uri = "/"
|
519
|
+
o.input = Shapes::ShapeRef.new(shape: GetServiceRequest)
|
520
|
+
o.output = Shapes::ShapeRef.new(shape: GetServiceResponse)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
|
523
|
+
end)
|
524
|
+
|
525
|
+
api.add_operation(:list_instances, Seahorse::Model::Operation.new.tap do |o|
|
526
|
+
o.name = "ListInstances"
|
527
|
+
o.http_method = "POST"
|
528
|
+
o.http_request_uri = "/"
|
529
|
+
o.input = Shapes::ShapeRef.new(shape: ListInstancesRequest)
|
530
|
+
o.output = Shapes::ShapeRef.new(shape: ListInstancesResponse)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
533
|
+
o[:pager] = Aws::Pager.new(
|
534
|
+
limit_key: "max_results",
|
535
|
+
tokens: {
|
536
|
+
"next_token" => "next_token"
|
537
|
+
}
|
538
|
+
)
|
539
|
+
end)
|
540
|
+
|
541
|
+
api.add_operation(:list_namespaces, Seahorse::Model::Operation.new.tap do |o|
|
542
|
+
o.name = "ListNamespaces"
|
543
|
+
o.http_method = "POST"
|
544
|
+
o.http_request_uri = "/"
|
545
|
+
o.input = Shapes::ShapeRef.new(shape: ListNamespacesRequest)
|
546
|
+
o.output = Shapes::ShapeRef.new(shape: ListNamespacesResponse)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
548
|
+
o[:pager] = Aws::Pager.new(
|
549
|
+
limit_key: "max_results",
|
550
|
+
tokens: {
|
551
|
+
"next_token" => "next_token"
|
552
|
+
}
|
553
|
+
)
|
554
|
+
end)
|
555
|
+
|
556
|
+
api.add_operation(:list_operations, Seahorse::Model::Operation.new.tap do |o|
|
557
|
+
o.name = "ListOperations"
|
558
|
+
o.http_method = "POST"
|
559
|
+
o.http_request_uri = "/"
|
560
|
+
o.input = Shapes::ShapeRef.new(shape: ListOperationsRequest)
|
561
|
+
o.output = Shapes::ShapeRef.new(shape: ListOperationsResponse)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
563
|
+
o[:pager] = Aws::Pager.new(
|
564
|
+
limit_key: "max_results",
|
565
|
+
tokens: {
|
566
|
+
"next_token" => "next_token"
|
567
|
+
}
|
568
|
+
)
|
569
|
+
end)
|
570
|
+
|
571
|
+
api.add_operation(:list_services, Seahorse::Model::Operation.new.tap do |o|
|
572
|
+
o.name = "ListServices"
|
573
|
+
o.http_method = "POST"
|
574
|
+
o.http_request_uri = "/"
|
575
|
+
o.input = Shapes::ShapeRef.new(shape: ListServicesRequest)
|
576
|
+
o.output = Shapes::ShapeRef.new(shape: ListServicesResponse)
|
577
|
+
o[:pager] = Aws::Pager.new(
|
578
|
+
limit_key: "max_results",
|
579
|
+
tokens: {
|
580
|
+
"next_token" => "next_token"
|
581
|
+
}
|
582
|
+
)
|
583
|
+
end)
|
584
|
+
|
585
|
+
api.add_operation(:register_instance, Seahorse::Model::Operation.new.tap do |o|
|
586
|
+
o.name = "RegisterInstance"
|
587
|
+
o.http_method = "POST"
|
588
|
+
o.http_request_uri = "/"
|
589
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterInstanceRequest)
|
590
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterInstanceResponse)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
|
594
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceeded)
|
595
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
|
596
|
+
end)
|
597
|
+
|
598
|
+
api.add_operation(:update_service, Seahorse::Model::Operation.new.tap do |o|
|
599
|
+
o.name = "UpdateService"
|
600
|
+
o.http_method = "POST"
|
601
|
+
o.http_request_uri = "/"
|
602
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateServiceRequest)
|
603
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateServiceResponse)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
606
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
|
607
|
+
end)
|
608
|
+
end
|
609
|
+
|
610
|
+
end
|
611
|
+
end
|