aws-sdk-elasticsearchservice 1.32.0 → 1.37.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,6 +12,8 @@ module Aws::ElasticsearchService
12
12
  include Seahorse::Model
13
13
 
14
14
  ARN = Shapes::StringShape.new(name: 'ARN')
15
+ AcceptInboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'AcceptInboundCrossClusterSearchConnectionRequest')
16
+ AcceptInboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'AcceptInboundCrossClusterSearchConnectionResponse')
15
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
18
  AccessPoliciesStatus = Shapes::StructureShape.new(name: 'AccessPoliciesStatus')
17
19
  AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
@@ -34,13 +36,22 @@ module Aws::ElasticsearchService
34
36
  CompatibleElasticsearchVersionsList = Shapes::ListShape.new(name: 'CompatibleElasticsearchVersionsList')
35
37
  CompatibleVersionsMap = Shapes::StructureShape.new(name: 'CompatibleVersionsMap')
36
38
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
39
+ ConnectionAlias = Shapes::StringShape.new(name: 'ConnectionAlias')
37
40
  CreateElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainRequest')
38
41
  CreateElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainResponse')
42
+ CreateOutboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'CreateOutboundCrossClusterSearchConnectionRequest')
43
+ CreateOutboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'CreateOutboundCrossClusterSearchConnectionResponse')
39
44
  CreatePackageRequest = Shapes::StructureShape.new(name: 'CreatePackageRequest')
40
45
  CreatePackageResponse = Shapes::StructureShape.new(name: 'CreatePackageResponse')
41
46
  CreatedAt = Shapes::TimestampShape.new(name: 'CreatedAt')
47
+ CrossClusterSearchConnectionId = Shapes::StringShape.new(name: 'CrossClusterSearchConnectionId')
48
+ CrossClusterSearchConnectionStatusMessage = Shapes::StringShape.new(name: 'CrossClusterSearchConnectionStatusMessage')
42
49
  DeleteElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainRequest')
43
50
  DeleteElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainResponse')
51
+ DeleteInboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'DeleteInboundCrossClusterSearchConnectionRequest')
52
+ DeleteInboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'DeleteInboundCrossClusterSearchConnectionResponse')
53
+ DeleteOutboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'DeleteOutboundCrossClusterSearchConnectionRequest')
54
+ DeleteOutboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'DeleteOutboundCrossClusterSearchConnectionResponse')
44
55
  DeletePackageRequest = Shapes::StructureShape.new(name: 'DeletePackageRequest')
45
56
  DeletePackageResponse = Shapes::StructureShape.new(name: 'DeletePackageResponse')
46
57
  DeploymentCloseDateTimeStamp = Shapes::TimestampShape.new(name: 'DeploymentCloseDateTimeStamp')
@@ -53,6 +64,10 @@ module Aws::ElasticsearchService
53
64
  DescribeElasticsearchDomainsResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainsResponse')
54
65
  DescribeElasticsearchInstanceTypeLimitsRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchInstanceTypeLimitsRequest')
55
66
  DescribeElasticsearchInstanceTypeLimitsResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchInstanceTypeLimitsResponse')
67
+ DescribeInboundCrossClusterSearchConnectionsRequest = Shapes::StructureShape.new(name: 'DescribeInboundCrossClusterSearchConnectionsRequest')
68
+ DescribeInboundCrossClusterSearchConnectionsResponse = Shapes::StructureShape.new(name: 'DescribeInboundCrossClusterSearchConnectionsResponse')
69
+ DescribeOutboundCrossClusterSearchConnectionsRequest = Shapes::StructureShape.new(name: 'DescribeOutboundCrossClusterSearchConnectionsRequest')
70
+ DescribeOutboundCrossClusterSearchConnectionsResponse = Shapes::StructureShape.new(name: 'DescribeOutboundCrossClusterSearchConnectionsResponse')
56
71
  DescribePackagesFilter = Shapes::StructureShape.new(name: 'DescribePackagesFilter')
57
72
  DescribePackagesFilterList = Shapes::ListShape.new(name: 'DescribePackagesFilterList')
58
73
  DescribePackagesFilterName = Shapes::StringShape.new(name: 'DescribePackagesFilterName')
@@ -72,6 +87,7 @@ module Aws::ElasticsearchService
72
87
  DomainId = Shapes::StringShape.new(name: 'DomainId')
73
88
  DomainInfo = Shapes::StructureShape.new(name: 'DomainInfo')
74
89
  DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
90
+ DomainInformation = Shapes::StructureShape.new(name: 'DomainInformation')
75
91
  DomainName = Shapes::StringShape.new(name: 'DomainName')
76
92
  DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
77
93
  DomainPackageDetails = Shapes::StructureShape.new(name: 'DomainPackageDetails')
@@ -97,6 +113,8 @@ module Aws::ElasticsearchService
97
113
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
98
114
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
99
115
  ErrorType = Shapes::StringShape.new(name: 'ErrorType')
116
+ Filter = Shapes::StructureShape.new(name: 'Filter')
117
+ FilterList = Shapes::ListShape.new(name: 'FilterList')
100
118
  GUID = Shapes::StringShape.new(name: 'GUID')
101
119
  GetCompatibleElasticsearchVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsRequest')
102
120
  GetCompatibleElasticsearchVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsResponse')
@@ -105,6 +123,10 @@ module Aws::ElasticsearchService
105
123
  GetUpgradeStatusRequest = Shapes::StructureShape.new(name: 'GetUpgradeStatusRequest')
106
124
  GetUpgradeStatusResponse = Shapes::StructureShape.new(name: 'GetUpgradeStatusResponse')
107
125
  IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
126
+ InboundCrossClusterSearchConnection = Shapes::StructureShape.new(name: 'InboundCrossClusterSearchConnection')
127
+ InboundCrossClusterSearchConnectionStatus = Shapes::StructureShape.new(name: 'InboundCrossClusterSearchConnectionStatus')
128
+ InboundCrossClusterSearchConnectionStatusCode = Shapes::StringShape.new(name: 'InboundCrossClusterSearchConnectionStatusCode')
129
+ InboundCrossClusterSearchConnections = Shapes::ListShape.new(name: 'InboundCrossClusterSearchConnections')
108
130
  InstanceCount = Shapes::IntegerShape.new(name: 'InstanceCount')
109
131
  InstanceCountLimits = Shapes::StructureShape.new(name: 'InstanceCountLimits')
110
132
  InstanceLimits = Shapes::StructureShape.new(name: 'InstanceLimits')
@@ -112,6 +134,7 @@ module Aws::ElasticsearchService
112
134
  Integer = Shapes::IntegerShape.new(name: 'Integer')
113
135
  IntegerClass = Shapes::IntegerShape.new(name: 'IntegerClass')
114
136
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
137
+ InvalidPaginationTokenException = Shapes::StructureShape.new(name: 'InvalidPaginationTokenException')
115
138
  InvalidTypeException = Shapes::StructureShape.new(name: 'InvalidTypeException')
116
139
  Issue = Shapes::StringShape.new(name: 'Issue')
117
140
  Issues = Shapes::ListShape.new(name: 'Issues')
@@ -145,8 +168,14 @@ module Aws::ElasticsearchService
145
168
  NextToken = Shapes::StringShape.new(name: 'NextToken')
146
169
  NodeToNodeEncryptionOptions = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptions')
147
170
  NodeToNodeEncryptionOptionsStatus = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptionsStatus')
171
+ NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
148
172
  OptionState = Shapes::StringShape.new(name: 'OptionState')
149
173
  OptionStatus = Shapes::StructureShape.new(name: 'OptionStatus')
174
+ OutboundCrossClusterSearchConnection = Shapes::StructureShape.new(name: 'OutboundCrossClusterSearchConnection')
175
+ OutboundCrossClusterSearchConnectionStatus = Shapes::StructureShape.new(name: 'OutboundCrossClusterSearchConnectionStatus')
176
+ OutboundCrossClusterSearchConnectionStatusCode = Shapes::StringShape.new(name: 'OutboundCrossClusterSearchConnectionStatusCode')
177
+ OutboundCrossClusterSearchConnections = Shapes::ListShape.new(name: 'OutboundCrossClusterSearchConnections')
178
+ OwnerId = Shapes::StringShape.new(name: 'OwnerId')
150
179
  PackageDescription = Shapes::StringShape.new(name: 'PackageDescription')
151
180
  PackageDetails = Shapes::StructureShape.new(name: 'PackageDetails')
152
181
  PackageDetailsList = Shapes::ListShape.new(name: 'PackageDetailsList')
@@ -162,6 +191,9 @@ module Aws::ElasticsearchService
162
191
  RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
163
192
  RecurringChargeList = Shapes::ListShape.new(name: 'RecurringChargeList')
164
193
  ReferencePath = Shapes::StringShape.new(name: 'ReferencePath')
194
+ Region = Shapes::StringShape.new(name: 'Region')
195
+ RejectInboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'RejectInboundCrossClusterSearchConnectionRequest')
196
+ RejectInboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'RejectInboundCrossClusterSearchConnectionResponse')
165
197
  RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
166
198
  ReservationToken = Shapes::StringShape.new(name: 'ReservationToken')
167
199
  ReservedElasticsearchInstance = Shapes::StructureShape.new(name: 'ReservedElasticsearchInstance')
@@ -213,9 +245,16 @@ module Aws::ElasticsearchService
213
245
  VPCDerivedInfoStatus = Shapes::StructureShape.new(name: 'VPCDerivedInfoStatus')
214
246
  VPCOptions = Shapes::StructureShape.new(name: 'VPCOptions')
215
247
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
248
+ ValueStringList = Shapes::ListShape.new(name: 'ValueStringList')
216
249
  VolumeType = Shapes::StringShape.new(name: 'VolumeType')
217
250
  ZoneAwarenessConfig = Shapes::StructureShape.new(name: 'ZoneAwarenessConfig')
218
251
 
252
+ AcceptInboundCrossClusterSearchConnectionRequest.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
253
+ AcceptInboundCrossClusterSearchConnectionRequest.struct_class = Types::AcceptInboundCrossClusterSearchConnectionRequest
254
+
255
+ AcceptInboundCrossClusterSearchConnectionResponse.add_member(:cross_cluster_search_connection, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnection, location_name: "CrossClusterSearchConnection"))
256
+ AcceptInboundCrossClusterSearchConnectionResponse.struct_class = Types::AcceptInboundCrossClusterSearchConnectionResponse
257
+
219
258
  AccessDeniedException.struct_class = Types::AccessDeniedException
220
259
 
221
260
  AccessPoliciesStatus.add_member(:options, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "Options"))
@@ -305,6 +344,18 @@ module Aws::ElasticsearchService
305
344
  CreateElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
306
345
  CreateElasticsearchDomainResponse.struct_class = Types::CreateElasticsearchDomainResponse
307
346
 
347
+ CreateOutboundCrossClusterSearchConnectionRequest.add_member(:source_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, required: true, location_name: "SourceDomainInfo"))
348
+ CreateOutboundCrossClusterSearchConnectionRequest.add_member(:destination_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, required: true, location_name: "DestinationDomainInfo"))
349
+ CreateOutboundCrossClusterSearchConnectionRequest.add_member(:connection_alias, Shapes::ShapeRef.new(shape: ConnectionAlias, required: true, location_name: "ConnectionAlias"))
350
+ CreateOutboundCrossClusterSearchConnectionRequest.struct_class = Types::CreateOutboundCrossClusterSearchConnectionRequest
351
+
352
+ CreateOutboundCrossClusterSearchConnectionResponse.add_member(:source_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "SourceDomainInfo"))
353
+ CreateOutboundCrossClusterSearchConnectionResponse.add_member(:destination_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "DestinationDomainInfo"))
354
+ CreateOutboundCrossClusterSearchConnectionResponse.add_member(:connection_alias, Shapes::ShapeRef.new(shape: ConnectionAlias, location_name: "ConnectionAlias"))
355
+ CreateOutboundCrossClusterSearchConnectionResponse.add_member(:connection_status, Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnectionStatus, location_name: "ConnectionStatus"))
356
+ CreateOutboundCrossClusterSearchConnectionResponse.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, location_name: "CrossClusterSearchConnectionId"))
357
+ CreateOutboundCrossClusterSearchConnectionResponse.struct_class = Types::CreateOutboundCrossClusterSearchConnectionResponse
358
+
308
359
  CreatePackageRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location_name: "PackageName"))
309
360
  CreatePackageRequest.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, required: true, location_name: "PackageType"))
310
361
  CreatePackageRequest.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
@@ -320,6 +371,18 @@ module Aws::ElasticsearchService
320
371
  DeleteElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
321
372
  DeleteElasticsearchDomainResponse.struct_class = Types::DeleteElasticsearchDomainResponse
322
373
 
374
+ DeleteInboundCrossClusterSearchConnectionRequest.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
375
+ DeleteInboundCrossClusterSearchConnectionRequest.struct_class = Types::DeleteInboundCrossClusterSearchConnectionRequest
376
+
377
+ DeleteInboundCrossClusterSearchConnectionResponse.add_member(:cross_cluster_search_connection, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnection, location_name: "CrossClusterSearchConnection"))
378
+ DeleteInboundCrossClusterSearchConnectionResponse.struct_class = Types::DeleteInboundCrossClusterSearchConnectionResponse
379
+
380
+ DeleteOutboundCrossClusterSearchConnectionRequest.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
381
+ DeleteOutboundCrossClusterSearchConnectionRequest.struct_class = Types::DeleteOutboundCrossClusterSearchConnectionRequest
382
+
383
+ DeleteOutboundCrossClusterSearchConnectionResponse.add_member(:cross_cluster_search_connection, Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnection, location_name: "CrossClusterSearchConnection"))
384
+ DeleteOutboundCrossClusterSearchConnectionResponse.struct_class = Types::DeleteOutboundCrossClusterSearchConnectionResponse
385
+
323
386
  DeletePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
324
387
  DeletePackageRequest.struct_class = Types::DeletePackageRequest
325
388
 
@@ -352,6 +415,24 @@ module Aws::ElasticsearchService
352
415
  DescribeElasticsearchInstanceTypeLimitsResponse.add_member(:limits_by_role, Shapes::ShapeRef.new(shape: LimitsByRole, location_name: "LimitsByRole"))
353
416
  DescribeElasticsearchInstanceTypeLimitsResponse.struct_class = Types::DescribeElasticsearchInstanceTypeLimitsResponse
354
417
 
418
+ DescribeInboundCrossClusterSearchConnectionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
419
+ DescribeInboundCrossClusterSearchConnectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
420
+ DescribeInboundCrossClusterSearchConnectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
421
+ DescribeInboundCrossClusterSearchConnectionsRequest.struct_class = Types::DescribeInboundCrossClusterSearchConnectionsRequest
422
+
423
+ DescribeInboundCrossClusterSearchConnectionsResponse.add_member(:cross_cluster_search_connections, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnections, location_name: "CrossClusterSearchConnections"))
424
+ DescribeInboundCrossClusterSearchConnectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
425
+ DescribeInboundCrossClusterSearchConnectionsResponse.struct_class = Types::DescribeInboundCrossClusterSearchConnectionsResponse
426
+
427
+ DescribeOutboundCrossClusterSearchConnectionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
428
+ DescribeOutboundCrossClusterSearchConnectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
429
+ DescribeOutboundCrossClusterSearchConnectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
430
+ DescribeOutboundCrossClusterSearchConnectionsRequest.struct_class = Types::DescribeOutboundCrossClusterSearchConnectionsRequest
431
+
432
+ DescribeOutboundCrossClusterSearchConnectionsResponse.add_member(:cross_cluster_search_connections, Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnections, location_name: "CrossClusterSearchConnections"))
433
+ DescribeOutboundCrossClusterSearchConnectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
434
+ DescribeOutboundCrossClusterSearchConnectionsResponse.struct_class = Types::DescribeOutboundCrossClusterSearchConnectionsResponse
435
+
355
436
  DescribePackagesFilter.add_member(:name, Shapes::ShapeRef.new(shape: DescribePackagesFilterName, location_name: "Name"))
356
437
  DescribePackagesFilter.add_member(:value, Shapes::ShapeRef.new(shape: DescribePackagesFilterValues, location_name: "Value"))
357
438
  DescribePackagesFilter.struct_class = Types::DescribePackagesFilter
@@ -409,6 +490,11 @@ module Aws::ElasticsearchService
409
490
 
410
491
  DomainInfoList.member = Shapes::ShapeRef.new(shape: DomainInfo)
411
492
 
493
+ DomainInformation.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId"))
494
+ DomainInformation.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
495
+ DomainInformation.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
496
+ DomainInformation.struct_class = Types::DomainInformation
497
+
412
498
  DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
413
499
 
414
500
  DomainPackageDetails.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, location_name: "PackageID"))
@@ -514,6 +600,12 @@ module Aws::ElasticsearchService
514
600
  ErrorDetails.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
515
601
  ErrorDetails.struct_class = Types::ErrorDetails
516
602
 
603
+ Filter.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
604
+ Filter.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Values"))
605
+ Filter.struct_class = Types::Filter
606
+
607
+ FilterList.member = Shapes::ShapeRef.new(shape: Filter)
608
+
517
609
  GetCompatibleElasticsearchVersionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location: "querystring", location_name: "domainName"))
518
610
  GetCompatibleElasticsearchVersionsRequest.struct_class = Types::GetCompatibleElasticsearchVersionsRequest
519
611
 
@@ -537,6 +629,18 @@ module Aws::ElasticsearchService
537
629
  GetUpgradeStatusResponse.add_member(:upgrade_name, Shapes::ShapeRef.new(shape: UpgradeName, location_name: "UpgradeName"))
538
630
  GetUpgradeStatusResponse.struct_class = Types::GetUpgradeStatusResponse
539
631
 
632
+ InboundCrossClusterSearchConnection.add_member(:source_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "SourceDomainInfo"))
633
+ InboundCrossClusterSearchConnection.add_member(:destination_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "DestinationDomainInfo"))
634
+ InboundCrossClusterSearchConnection.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, location_name: "CrossClusterSearchConnectionId"))
635
+ InboundCrossClusterSearchConnection.add_member(:connection_status, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnectionStatus, location_name: "ConnectionStatus"))
636
+ InboundCrossClusterSearchConnection.struct_class = Types::InboundCrossClusterSearchConnection
637
+
638
+ InboundCrossClusterSearchConnectionStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnectionStatusCode, location_name: "StatusCode"))
639
+ InboundCrossClusterSearchConnectionStatus.add_member(:message, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionStatusMessage, location_name: "Message"))
640
+ InboundCrossClusterSearchConnectionStatus.struct_class = Types::InboundCrossClusterSearchConnectionStatus
641
+
642
+ InboundCrossClusterSearchConnections.member = Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnection)
643
+
540
644
  InstanceCountLimits.add_member(:minimum_instance_count, Shapes::ShapeRef.new(shape: MinimumInstanceCount, location_name: "MinimumInstanceCount"))
541
645
  InstanceCountLimits.add_member(:maximum_instance_count, Shapes::ShapeRef.new(shape: MaximumInstanceCount, location_name: "MaximumInstanceCount"))
542
646
  InstanceCountLimits.struct_class = Types::InstanceCountLimits
@@ -546,6 +650,8 @@ module Aws::ElasticsearchService
546
650
 
547
651
  InternalException.struct_class = Types::InternalException
548
652
 
653
+ InvalidPaginationTokenException.struct_class = Types::InvalidPaginationTokenException
654
+
549
655
  InvalidTypeException.struct_class = Types::InvalidTypeException
550
656
 
551
657
  Issues.member = Shapes::ShapeRef.new(shape: Issue)
@@ -637,6 +743,19 @@ module Aws::ElasticsearchService
637
743
  OptionStatus.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: Boolean, location_name: "PendingDeletion"))
638
744
  OptionStatus.struct_class = Types::OptionStatus
639
745
 
746
+ OutboundCrossClusterSearchConnection.add_member(:source_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "SourceDomainInfo"))
747
+ OutboundCrossClusterSearchConnection.add_member(:destination_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "DestinationDomainInfo"))
748
+ OutboundCrossClusterSearchConnection.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, location_name: "CrossClusterSearchConnectionId"))
749
+ OutboundCrossClusterSearchConnection.add_member(:connection_alias, Shapes::ShapeRef.new(shape: ConnectionAlias, location_name: "ConnectionAlias"))
750
+ OutboundCrossClusterSearchConnection.add_member(:connection_status, Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnectionStatus, location_name: "ConnectionStatus"))
751
+ OutboundCrossClusterSearchConnection.struct_class = Types::OutboundCrossClusterSearchConnection
752
+
753
+ OutboundCrossClusterSearchConnectionStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnectionStatusCode, location_name: "StatusCode"))
754
+ OutboundCrossClusterSearchConnectionStatus.add_member(:message, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionStatusMessage, location_name: "Message"))
755
+ OutboundCrossClusterSearchConnectionStatus.struct_class = Types::OutboundCrossClusterSearchConnectionStatus
756
+
757
+ OutboundCrossClusterSearchConnections.member = Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnection)
758
+
640
759
  PackageDetails.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, location_name: "PackageID"))
641
760
  PackageDetails.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "PackageName"))
642
761
  PackageDetails.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, location_name: "PackageType"))
@@ -667,6 +786,12 @@ module Aws::ElasticsearchService
667
786
 
668
787
  RecurringChargeList.member = Shapes::ShapeRef.new(shape: RecurringCharge)
669
788
 
789
+ RejectInboundCrossClusterSearchConnectionRequest.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
790
+ RejectInboundCrossClusterSearchConnectionRequest.struct_class = Types::RejectInboundCrossClusterSearchConnectionRequest
791
+
792
+ RejectInboundCrossClusterSearchConnectionResponse.add_member(:cross_cluster_search_connection, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnection, location_name: "CrossClusterSearchConnection"))
793
+ RejectInboundCrossClusterSearchConnectionResponse.struct_class = Types::RejectInboundCrossClusterSearchConnectionResponse
794
+
670
795
  RemoveTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
671
796
  RemoveTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "TagKeys"))
672
797
  RemoveTagsRequest.struct_class = Types::RemoveTagsRequest
@@ -711,6 +836,7 @@ module Aws::ElasticsearchService
711
836
  ServiceSoftwareOptions.add_member(:update_status, Shapes::ShapeRef.new(shape: DeploymentStatus, location_name: "UpdateStatus"))
712
837
  ServiceSoftwareOptions.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
713
838
  ServiceSoftwareOptions.add_member(:automated_update_date, Shapes::ShapeRef.new(shape: DeploymentCloseDateTimeStamp, location_name: "AutomatedUpdateDate"))
839
+ ServiceSoftwareOptions.add_member(:optional_deployment, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptionalDeployment"))
714
840
  ServiceSoftwareOptions.struct_class = Types::ServiceSoftwareOptions
715
841
 
716
842
  SnapshotOptions.add_member(:automated_snapshot_start_hour, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AutomatedSnapshotStartHour"))
@@ -805,6 +931,8 @@ module Aws::ElasticsearchService
805
931
 
806
932
  ValidationException.struct_class = Types::ValidationException
807
933
 
934
+ ValueStringList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
935
+
808
936
  ZoneAwarenessConfig.add_member(:availability_zone_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AvailabilityZoneCount"))
809
937
  ZoneAwarenessConfig.struct_class = Types::ZoneAwarenessConfig
810
938
 
@@ -824,6 +952,17 @@ module Aws::ElasticsearchService
824
952
  "uid" => "es-2015-01-01",
825
953
  }
826
954
 
955
+ api.add_operation(:accept_inbound_cross_cluster_search_connection, Seahorse::Model::Operation.new.tap do |o|
956
+ o.name = "AcceptInboundCrossClusterSearchConnection"
957
+ o.http_method = "PUT"
958
+ o.http_request_uri = "/2015-01-01/es/ccs/inboundConnection/{ConnectionId}/accept"
959
+ o.input = Shapes::ShapeRef.new(shape: AcceptInboundCrossClusterSearchConnectionRequest)
960
+ o.output = Shapes::ShapeRef.new(shape: AcceptInboundCrossClusterSearchConnectionResponse)
961
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
962
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
963
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
964
+ end)
965
+
827
966
  api.add_operation(:add_tags, Seahorse::Model::Operation.new.tap do |o|
828
967
  o.name = "AddTags"
829
968
  o.http_method = "POST"
@@ -877,6 +1016,18 @@ module Aws::ElasticsearchService
877
1016
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
878
1017
  end)
879
1018
 
1019
+ api.add_operation(:create_outbound_cross_cluster_search_connection, Seahorse::Model::Operation.new.tap do |o|
1020
+ o.name = "CreateOutboundCrossClusterSearchConnection"
1021
+ o.http_method = "POST"
1022
+ o.http_request_uri = "/2015-01-01/es/ccs/outboundConnection"
1023
+ o.input = Shapes::ShapeRef.new(shape: CreateOutboundCrossClusterSearchConnectionRequest)
1024
+ o.output = Shapes::ShapeRef.new(shape: CreateOutboundCrossClusterSearchConnectionResponse)
1025
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1026
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1027
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1028
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1029
+ end)
1030
+
880
1031
  api.add_operation(:create_package, Seahorse::Model::Operation.new.tap do |o|
881
1032
  o.name = "CreatePackage"
882
1033
  o.http_method = "POST"
@@ -915,6 +1066,26 @@ module Aws::ElasticsearchService
915
1066
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
916
1067
  end)
917
1068
 
1069
+ api.add_operation(:delete_inbound_cross_cluster_search_connection, Seahorse::Model::Operation.new.tap do |o|
1070
+ o.name = "DeleteInboundCrossClusterSearchConnection"
1071
+ o.http_method = "DELETE"
1072
+ o.http_request_uri = "/2015-01-01/es/ccs/inboundConnection/{ConnectionId}"
1073
+ o.input = Shapes::ShapeRef.new(shape: DeleteInboundCrossClusterSearchConnectionRequest)
1074
+ o.output = Shapes::ShapeRef.new(shape: DeleteInboundCrossClusterSearchConnectionResponse)
1075
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1076
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1077
+ end)
1078
+
1079
+ api.add_operation(:delete_outbound_cross_cluster_search_connection, Seahorse::Model::Operation.new.tap do |o|
1080
+ o.name = "DeleteOutboundCrossClusterSearchConnection"
1081
+ o.http_method = "DELETE"
1082
+ o.http_request_uri = "/2015-01-01/es/ccs/outboundConnection/{ConnectionId}"
1083
+ o.input = Shapes::ShapeRef.new(shape: DeleteOutboundCrossClusterSearchConnectionRequest)
1084
+ o.output = Shapes::ShapeRef.new(shape: DeleteOutboundCrossClusterSearchConnectionResponse)
1085
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1086
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1087
+ end)
1088
+
918
1089
  api.add_operation(:delete_package, Seahorse::Model::Operation.new.tap do |o|
919
1090
  o.name = "DeletePackage"
920
1091
  o.http_method = "DELETE"
@@ -978,6 +1149,38 @@ module Aws::ElasticsearchService
978
1149
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
979
1150
  end)
980
1151
 
1152
+ api.add_operation(:describe_inbound_cross_cluster_search_connections, Seahorse::Model::Operation.new.tap do |o|
1153
+ o.name = "DescribeInboundCrossClusterSearchConnections"
1154
+ o.http_method = "POST"
1155
+ o.http_request_uri = "/2015-01-01/es/ccs/inboundConnection/search"
1156
+ o.input = Shapes::ShapeRef.new(shape: DescribeInboundCrossClusterSearchConnectionsRequest)
1157
+ o.output = Shapes::ShapeRef.new(shape: DescribeInboundCrossClusterSearchConnectionsResponse)
1158
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
1159
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1160
+ o[:pager] = Aws::Pager.new(
1161
+ limit_key: "max_results",
1162
+ tokens: {
1163
+ "next_token" => "next_token"
1164
+ }
1165
+ )
1166
+ end)
1167
+
1168
+ api.add_operation(:describe_outbound_cross_cluster_search_connections, Seahorse::Model::Operation.new.tap do |o|
1169
+ o.name = "DescribeOutboundCrossClusterSearchConnections"
1170
+ o.http_method = "POST"
1171
+ o.http_request_uri = "/2015-01-01/es/ccs/outboundConnection/search"
1172
+ o.input = Shapes::ShapeRef.new(shape: DescribeOutboundCrossClusterSearchConnectionsRequest)
1173
+ o.output = Shapes::ShapeRef.new(shape: DescribeOutboundCrossClusterSearchConnectionsResponse)
1174
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
1175
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1176
+ o[:pager] = Aws::Pager.new(
1177
+ limit_key: "max_results",
1178
+ tokens: {
1179
+ "next_token" => "next_token"
1180
+ }
1181
+ )
1182
+ end)
1183
+
981
1184
  api.add_operation(:describe_packages, Seahorse::Model::Operation.new.tap do |o|
982
1185
  o.name = "DescribePackages"
983
1186
  o.http_method = "POST"
@@ -1202,6 +1405,16 @@ module Aws::ElasticsearchService
1202
1405
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1203
1406
  end)
1204
1407
 
1408
+ api.add_operation(:reject_inbound_cross_cluster_search_connection, Seahorse::Model::Operation.new.tap do |o|
1409
+ o.name = "RejectInboundCrossClusterSearchConnection"
1410
+ o.http_method = "PUT"
1411
+ o.http_request_uri = "/2015-01-01/es/ccs/inboundConnection/{ConnectionId}/reject"
1412
+ o.input = Shapes::ShapeRef.new(shape: RejectInboundCrossClusterSearchConnectionRequest)
1413
+ o.output = Shapes::ShapeRef.new(shape: RejectInboundCrossClusterSearchConnectionResponse)
1414
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1415
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1416
+ end)
1417
+
1205
1418
  api.add_operation(:remove_tags, Seahorse::Model::Operation.new.tap do |o|
1206
1419
  o.name = "RemoveTags"
1207
1420
  o.http_method = "POST"
@@ -30,6 +30,7 @@ module Aws::ElasticsearchService
30
30
  # * {ConflictException}
31
31
  # * {DisabledOperationException}
32
32
  # * {InternalException}
33
+ # * {InvalidPaginationTokenException}
33
34
  # * {InvalidTypeException}
34
35
  # * {LimitExceededException}
35
36
  # * {ResourceAlreadyExistsException}
@@ -97,6 +98,16 @@ module Aws::ElasticsearchService
97
98
  end
98
99
  end
99
100
 
101
+ class InvalidPaginationTokenException < ServiceError
102
+
103
+ # @param [Seahorse::Client::RequestContext] context
104
+ # @param [String] message
105
+ # @param [Aws::ElasticsearchService::Types::InvalidPaginationTokenException] data
106
+ def initialize(context, message, data = Aws::EmptyStructure.new)
107
+ super(context, message, data)
108
+ end
109
+ end
110
+
100
111
  class InvalidTypeException < ServiceError
101
112
 
102
113
  # @param [Seahorse::Client::RequestContext] context
@@ -8,6 +8,38 @@
8
8
  module Aws::ElasticsearchService
9
9
  module Types
10
10
 
11
+ # Container for the parameters to the
12
+ # `AcceptInboundCrossClusterSearchConnection` operation.
13
+ #
14
+ # @note When making an API call, you may pass AcceptInboundCrossClusterSearchConnectionRequest
15
+ # data as a hash:
16
+ #
17
+ # {
18
+ # cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
19
+ # }
20
+ #
21
+ # @!attribute [rw] cross_cluster_search_connection_id
22
+ # The id of the inbound connection that you want to accept.
23
+ # @return [String]
24
+ #
25
+ class AcceptInboundCrossClusterSearchConnectionRequest < Struct.new(
26
+ :cross_cluster_search_connection_id)
27
+ include Aws::Structure
28
+ end
29
+
30
+ # The result of a `AcceptInboundCrossClusterSearchConnection` operation.
31
+ # Contains details of accepted inbound connection.
32
+ #
33
+ # @!attribute [rw] cross_cluster_search_connection
34
+ # Specifies the `InboundCrossClusterSearchConnection` of accepted
35
+ # inbound connection.
36
+ # @return [Types::InboundCrossClusterSearchConnection]
37
+ #
38
+ class AcceptInboundCrossClusterSearchConnectionResponse < Struct.new(
39
+ :cross_cluster_search_connection)
40
+ include Aws::Structure
41
+ end
42
+
11
43
  # An error occurred because user does not have permissions to access the
12
44
  # resource. Returns HTTP status code 403.
13
45
  #
@@ -552,6 +584,86 @@ module Aws::ElasticsearchService
552
584
  include Aws::Structure
553
585
  end
554
586
 
587
+ # Container for the parameters to the
588
+ # `CreateOutboundCrossClusterSearchConnection` operation.
589
+ #
590
+ # @note When making an API call, you may pass CreateOutboundCrossClusterSearchConnectionRequest
591
+ # data as a hash:
592
+ #
593
+ # {
594
+ # source_domain_info: { # required
595
+ # owner_id: "OwnerId",
596
+ # domain_name: "DomainName", # required
597
+ # region: "Region",
598
+ # },
599
+ # destination_domain_info: { # required
600
+ # owner_id: "OwnerId",
601
+ # domain_name: "DomainName", # required
602
+ # region: "Region",
603
+ # },
604
+ # connection_alias: "ConnectionAlias", # required
605
+ # }
606
+ #
607
+ # @!attribute [rw] source_domain_info
608
+ # Specifies the `DomainInformation` for the source Elasticsearch
609
+ # domain.
610
+ # @return [Types::DomainInformation]
611
+ #
612
+ # @!attribute [rw] destination_domain_info
613
+ # Specifies the `DomainInformation` for the destination Elasticsearch
614
+ # domain.
615
+ # @return [Types::DomainInformation]
616
+ #
617
+ # @!attribute [rw] connection_alias
618
+ # Specifies the connection alias that will be used by the customer for
619
+ # this connection.
620
+ # @return [String]
621
+ #
622
+ class CreateOutboundCrossClusterSearchConnectionRequest < Struct.new(
623
+ :source_domain_info,
624
+ :destination_domain_info,
625
+ :connection_alias)
626
+ include Aws::Structure
627
+ end
628
+
629
+ # The result of a `CreateOutboundCrossClusterSearchConnection` request.
630
+ # Contains the details of the newly created cross-cluster search
631
+ # connection.
632
+ #
633
+ # @!attribute [rw] source_domain_info
634
+ # Specifies the `DomainInformation` for the source Elasticsearch
635
+ # domain.
636
+ # @return [Types::DomainInformation]
637
+ #
638
+ # @!attribute [rw] destination_domain_info
639
+ # Specifies the `DomainInformation` for the destination Elasticsearch
640
+ # domain.
641
+ # @return [Types::DomainInformation]
642
+ #
643
+ # @!attribute [rw] connection_alias
644
+ # Specifies the connection alias provided during the create connection
645
+ # request.
646
+ # @return [String]
647
+ #
648
+ # @!attribute [rw] connection_status
649
+ # Specifies the `OutboundCrossClusterSearchConnectionStatus` for the
650
+ # newly created connection.
651
+ # @return [Types::OutboundCrossClusterSearchConnectionStatus]
652
+ #
653
+ # @!attribute [rw] cross_cluster_search_connection_id
654
+ # Unique id for the created outbound connection, which is used for
655
+ # subsequent operations on connection.
656
+ # @return [String]
657
+ #
658
+ class CreateOutboundCrossClusterSearchConnectionResponse < Struct.new(
659
+ :source_domain_info,
660
+ :destination_domain_info,
661
+ :connection_alias,
662
+ :connection_status,
663
+ :cross_cluster_search_connection_id)
664
+ include Aws::Structure
665
+ end
666
+
555
667
  # Container for request parameters to ` CreatePackage ` operation.
556
668
  #
557
669
  # @note When making an API call, you may pass CreatePackageRequest
@@ -636,6 +748,72 @@ module Aws::ElasticsearchService
636
748
  include Aws::Structure
637
749
  end
638
750
 
751
+ # Container for the parameters to the
752
+ # `DeleteInboundCrossClusterSearchConnection` operation.
753
+ #
754
+ # @note When making an API call, you may pass DeleteInboundCrossClusterSearchConnectionRequest
755
+ # data as a hash:
756
+ #
757
+ # {
758
+ # cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
759
+ # }
760
+ #
761
+ # @!attribute [rw] cross_cluster_search_connection_id
762
+ # The id of the inbound connection that you want to permanently
763
+ # delete.
764
+ # @return [String]
765
+ #
766
+ class DeleteInboundCrossClusterSearchConnectionRequest < Struct.new(
767
+ :cross_cluster_search_connection_id)
768
+ include Aws::Structure
769
+ end
770
+
771
+ # The result of a `DeleteInboundCrossClusterSearchConnection` operation.
772
+ # Contains details of deleted inbound connection.
773
+ #
774
+ # @!attribute [rw] cross_cluster_search_connection
775
+ # Specifies the `InboundCrossClusterSearchConnection` of deleted
776
+ # inbound connection.
777
+ # @return [Types::InboundCrossClusterSearchConnection]
778
+ #
779
+ class DeleteInboundCrossClusterSearchConnectionResponse < Struct.new(
780
+ :cross_cluster_search_connection)
781
+ include Aws::Structure
782
+ end
783
+
784
+ # Container for the parameters to the
785
+ # `DeleteOutboundCrossClusterSearchConnection` operation.
786
+ #
787
+ # @note When making an API call, you may pass DeleteOutboundCrossClusterSearchConnectionRequest
788
+ # data as a hash:
789
+ #
790
+ # {
791
+ # cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
792
+ # }
793
+ #
794
+ # @!attribute [rw] cross_cluster_search_connection_id
795
+ # The id of the outbound connection that you want to permanently
796
+ # delete.
797
+ # @return [String]
798
+ #
799
+ class DeleteOutboundCrossClusterSearchConnectionRequest < Struct.new(
800
+ :cross_cluster_search_connection_id)
801
+ include Aws::Structure
802
+ end
803
+
804
+ # The result of a `DeleteOutboundCrossClusterSearchConnection`
805
+ # operation. Contains details of deleted outbound connection.
806
+ #
807
+ # @!attribute [rw] cross_cluster_search_connection
808
+ # Specifies the `OutboundCrossClusterSearchConnection` of deleted
809
+ # outbound connection.
810
+ # @return [Types::OutboundCrossClusterSearchConnection]
811
+ #
812
+ class DeleteOutboundCrossClusterSearchConnectionResponse < Struct.new(
813
+ :cross_cluster_search_connection)
814
+ include Aws::Structure
815
+ end
816
+
639
817
  # Container for request parameters to ` DeletePackage ` operation.
640
818
  #
641
819
  # @note When making an API call, you may pass DeletePackageRequest
@@ -813,6 +991,136 @@ module Aws::ElasticsearchService
813
991
  include Aws::Structure
814
992
  end
815
993
 
994
+ # Container for the parameters to the
995
+ # `DescribeInboundCrossClusterSearchConnections` operation.
996
+ #
997
+ # @note When making an API call, you may pass DescribeInboundCrossClusterSearchConnectionsRequest
998
+ # data as a hash:
999
+ #
1000
+ # {
1001
+ # filters: [
1002
+ # {
1003
+ # name: "NonEmptyString",
1004
+ # values: ["NonEmptyString"],
1005
+ # },
1006
+ # ],
1007
+ # max_results: 1,
1008
+ # next_token: "NextToken",
1009
+ # }
1010
+ #
1011
+ # @!attribute [rw] filters
1012
+ # A list of filters used to match properties for inbound cross-cluster
1013
+ # search connection. Available `Filter` names for this operation are:
1014
+ # * cross-cluster-search-connection-id
1015
+ # * source-domain-info.domain-name
1016
+ # * source-domain-info.owner-id
1017
+ # * source-domain-info.region
1018
+ # * destination-domain-info.domain-name
1019
+ # @return [Array<Types::Filter>]
1020
+ #
1021
+ # @!attribute [rw] max_results
1022
+ # Set this value to limit the number of results returned. If not
1023
+ # specified, defaults to 100.
1024
+ # @return [Integer]
1025
+ #
1026
+ # @!attribute [rw] next_token
1027
+ # NextToken is sent in case the earlier API call results contain the
1028
+ # NextToken. It is used for pagination.
1029
+ # @return [String]
1030
+ #
1031
+ class DescribeInboundCrossClusterSearchConnectionsRequest < Struct.new(
1032
+ :filters,
1033
+ :max_results,
1034
+ :next_token)
1035
+ include Aws::Structure
1036
+ end
1037
+
1038
+ # The result of a `DescribeInboundCrossClusterSearchConnections`
1039
+ # request. Contains the list of connections matching the filter
1040
+ # criteria.
1041
+ #
1042
+ # @!attribute [rw] cross_cluster_search_connections
1043
+ # Consists of list of `InboundCrossClusterSearchConnection` matching
1044
+ # the specified filter criteria.
1045
+ # @return [Array<Types::InboundCrossClusterSearchConnection>]
1046
+ #
1047
+ # @!attribute [rw] next_token
1048
+ # If more results are available and NextToken is present, make the
1049
+ # next request to the same API with the received NextToken to paginate
1050
+ # the remaining results.
1051
+ # @return [String]
1052
+ #
1053
+ class DescribeInboundCrossClusterSearchConnectionsResponse < Struct.new(
1054
+ :cross_cluster_search_connections,
1055
+ :next_token)
1056
+ include Aws::Structure
1057
+ end
1058
+
1059
+ # Container for the parameters to the
1060
+ # `DescribeOutboundCrossClusterSearchConnections` operation.
1061
+ #
1062
+ # @note When making an API call, you may pass DescribeOutboundCrossClusterSearchConnectionsRequest
1063
+ # data as a hash:
1064
+ #
1065
+ # {
1066
+ # filters: [
1067
+ # {
1068
+ # name: "NonEmptyString",
1069
+ # values: ["NonEmptyString"],
1070
+ # },
1071
+ # ],
1072
+ # max_results: 1,
1073
+ # next_token: "NextToken",
1074
+ # }
1075
+ #
1076
+ # @!attribute [rw] filters
1077
+ # A list of filters used to match properties for outbound
1078
+ # cross-cluster search connection. Available `Filter` names for this
1079
+ # operation are: * cross-cluster-search-connection-id
1080
+ # * destination-domain-info.domain-name
1081
+ # * destination-domain-info.owner-id
1082
+ # * destination-domain-info.region
1083
+ # * source-domain-info.domain-name
1084
+ # @return [Array<Types::Filter>]
1085
+ #
1086
+ # @!attribute [rw] max_results
1087
+ # Set this value to limit the number of results returned. If not
1088
+ # specified, defaults to 100.
1089
+ # @return [Integer]
1090
+ #
1091
+ # @!attribute [rw] next_token
1092
+ # NextToken is sent in case the earlier API call results contain the
1093
+ # NextToken. It is used for pagination.
1094
+ # @return [String]
1095
+ #
1096
+ class DescribeOutboundCrossClusterSearchConnectionsRequest < Struct.new(
1097
+ :filters,
1098
+ :max_results,
1099
+ :next_token)
1100
+ include Aws::Structure
1101
+ end
1102
+
1103
+ # The result of a `DescribeOutboundCrossClusterSearchConnections`
1104
+ # request. Contains the list of connections matching the filter
1105
+ # criteria.
1106
+ #
1107
+ # @!attribute [rw] cross_cluster_search_connections
1108
+ # Consists of list of `OutboundCrossClusterSearchConnection` matching
1109
+ # the specified filter criteria.
1110
+ # @return [Array<Types::OutboundCrossClusterSearchConnection>]
1111
+ #
1112
+ # @!attribute [rw] next_token
1113
+ # If more results are available and NextToken is present, make the
1114
+ # next request to the same API with the received NextToken to paginate
1115
+ # the remaining results.
1116
+ # @return [String]
1117
+ #
1118
+ class DescribeOutboundCrossClusterSearchConnectionsResponse < Struct.new(
1119
+ :cross_cluster_search_connections,
1120
+ :next_token)
1121
+ include Aws::Structure
1122
+ end
1123
+
816
1124
  # Filter to apply in `DescribePackage` response.
817
1125
  #
818
1126
  # @note When making an API call, you may pass DescribePackagesFilter
@@ -1091,6 +1399,35 @@ module Aws::ElasticsearchService
1091
1399
  include Aws::Structure
1092
1400
  end
1093
1401
 
1402
+ # @note When making an API call, you may pass DomainInformation
1403
+ # data as a hash:
1404
+ #
1405
+ # {
1406
+ # owner_id: "OwnerId",
1407
+ # domain_name: "DomainName", # required
1408
+ # region: "Region",
1409
+ # }
1410
+ #
1411
+ # @!attribute [rw] owner_id
1412
+ # @return [String]
1413
+ #
1414
+ # @!attribute [rw] domain_name
1415
+ # The name of an Elasticsearch domain. Domain names are unique across
1416
+ # the domains owned by an account within an AWS region. Domain names
1417
+ # start with a letter or number and can contain the following
1418
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
1419
+ # @return [String]
1420
+ #
1421
+ # @!attribute [rw] region
1422
+ # @return [String]
1423
+ #
1424
+ class DomainInformation < Struct.new(
1425
+ :owner_id,
1426
+ :domain_name,
1427
+ :region)
1428
+ include Aws::Structure
1429
+ end
1430
+
1094
1431
  # Information on a package that is associated with a domain.
1095
1432
  #
1096
1433
  # @!attribute [rw] package_id
@@ -1627,6 +1964,33 @@ module Aws::ElasticsearchService
1627
1964
  include Aws::Structure
1628
1965
  end
1629
1966
 
1967
+ # A filter used to limit results when describing inbound or outbound
1968
+ # cross-cluster search connections. Multiple values can be specified per
1969
+ # filter. A cross-cluster search connection must match at least one of
1970
+ # the specified values for it to be returned from an operation.
1971
+ #
1972
+ # @note When making an API call, you may pass Filter
1973
+ # data as a hash:
1974
+ #
1975
+ # {
1976
+ # name: "NonEmptyString",
1977
+ # values: ["NonEmptyString"],
1978
+ # }
1979
+ #
1980
+ # @!attribute [rw] name
1981
+ # Specifies the name of the filter.
1982
+ # @return [String]
1983
+ #
1984
+ # @!attribute [rw] values
1985
+ # Contains one or more values for the filter.
1986
+ # @return [Array<String>]
1987
+ #
1988
+ class Filter < Struct.new(
1989
+ :name,
1990
+ :values)
1991
+ include Aws::Structure
1992
+ end
1993
+
1630
1994
  # Container for request parameters to `
1631
1995
  # GetCompatibleElasticsearchVersions ` operation.
1632
1996
  #
@@ -1766,6 +2130,63 @@ module Aws::ElasticsearchService
1766
2130
  include Aws::Structure
1767
2131
  end
1768
2132
 
2133
+ # Specifies details of an inbound connection.
2134
+ #
2135
+ # @!attribute [rw] source_domain_info
2136
+ # Specifies the `DomainInformation` for the source Elasticsearch
2137
+ # domain.
2138
+ # @return [Types::DomainInformation]
2139
+ #
2140
+ # @!attribute [rw] destination_domain_info
2141
+ # Specifies the `DomainInformation` for the destination Elasticsearch
2142
+ # domain.
2143
+ # @return [Types::DomainInformation]
2144
+ #
2145
+ # @!attribute [rw] cross_cluster_search_connection_id
2146
+ # Specifies the connection id for the inbound cross-cluster search
2147
+ # connection.
2148
+ # @return [String]
2149
+ #
2150
+ # @!attribute [rw] connection_status
2151
+ # Specifies the `InboundCrossClusterSearchConnectionStatus` for the
2152
+ # outbound connection.
2153
+ # @return [Types::InboundCrossClusterSearchConnectionStatus]
2154
+ #
2155
+ class InboundCrossClusterSearchConnection < Struct.new(
2156
+ :source_domain_info,
2157
+ :destination_domain_info,
2158
+ :cross_cluster_search_connection_id,
2159
+ :connection_status)
2160
+ include Aws::Structure
2161
+ end
2162
+
2163
+ # Specifies the coonection status of an inbound cross-cluster search
2164
+ # connection.
2165
+ #
2166
+ # @!attribute [rw] status_code
2167
+ # The state code for inbound connection. This can be one of the
2168
+ # following:
2169
+ #
2170
+ # * PENDING\_ACCEPTANCE: Inbound connection is not yet accepted by
2171
+ # destination domain owner.
2172
+ # * APPROVED: Inbound connection is pending acceptance by destination
2173
+ # domain owner.
2174
+ # * REJECTING: Inbound connection rejection is in process.
2175
+ # * REJECTED: Inbound connection is rejected.
2176
+ # * DELETING: Inbound connection deletion is in progress.
2177
+ # * DELETED: Inbound connection is deleted and cannot be used further.
2178
+ # @return [String]
2179
+ #
2180
+ # @!attribute [rw] message
2181
+ # Specifies verbose information for the inbound connection status.
2182
+ # @return [String]
2183
+ #
2184
+ class InboundCrossClusterSearchConnectionStatus < Struct.new(
2185
+ :status_code,
2186
+ :message)
2187
+ include Aws::Structure
2188
+ end
2189
+
1769
2190
  # InstanceCountLimits represents the limits on number of instances that
1770
2191
  # be created in Amazon Elasticsearch for given InstanceType.
1771
2192
  #
@@ -1804,6 +2225,11 @@ module Aws::ElasticsearchService
1804
2225
  #
1805
2226
  class InternalException < Aws::EmptyStructure; end
1806
2227
 
2228
+ # The request processing has failed because of invalid pagination token
2229
+ # provided by customer. Returns an HTTP status code of 400.
2230
+ #
2231
+ class InvalidPaginationTokenException < Aws::EmptyStructure; end
2232
+
1807
2233
  # An exception for trying to create or access sub-resource that is
1808
2234
  # either invalid or not supported. Gives http status code of 409.
1809
2235
  #
@@ -2250,6 +2676,72 @@ module Aws::ElasticsearchService
2250
2676
  include Aws::Structure
2251
2677
  end
2252
2678
 
2679
+ # Specifies details of an outbound connection.
2680
+ #
2681
+ # @!attribute [rw] source_domain_info
2682
+ # Specifies the `DomainInformation` for the source Elasticsearch
2683
+ # domain.
2684
+ # @return [Types::DomainInformation]
2685
+ #
2686
+ # @!attribute [rw] destination_domain_info
2687
+ # Specifies the `DomainInformation` for the destination Elasticsearch
2688
+ # domain.
2689
+ # @return [Types::DomainInformation]
2690
+ #
2691
+ # @!attribute [rw] cross_cluster_search_connection_id
2692
+ # Specifies the connection id for the outbound cross-cluster search
2693
+ # connection.
2694
+ # @return [String]
2695
+ #
2696
+ # @!attribute [rw] connection_alias
2697
+ # Specifies the connection alias for the outbound cross-cluster search
2698
+ # connection.
2699
+ # @return [String]
2700
+ #
2701
+ # @!attribute [rw] connection_status
2702
+ # Specifies the `OutboundCrossClusterSearchConnectionStatus` for the
2703
+ # outbound connection.
2704
+ # @return [Types::OutboundCrossClusterSearchConnectionStatus]
2705
+ #
2706
+ class OutboundCrossClusterSearchConnection < Struct.new(
2707
+ :source_domain_info,
2708
+ :destination_domain_info,
2709
+ :cross_cluster_search_connection_id,
2710
+ :connection_alias,
2711
+ :connection_status)
2712
+ include Aws::Structure
2713
+ end
2714
+
2715
+ # Specifies the connection status of an outbound cross-cluster search
2716
+ # connection.
2717
+ #
2718
+ # @!attribute [rw] status_code
2719
+ # The state code for outbound connection. This can be one of the
2720
+ # following:
2721
+ #
2722
+ # * VALIDATING: The outbound connection request is being validated.
2723
+ # * VALIDATION\_FAILED: Validation failed for the connection request.
2724
+ # * PENDING\_ACCEPTANCE: Outbound connection request is validated and
2725
+ # is not yet accepted by destination domain owner.
2726
+ # * PROVISIONING: Outbound connection request is in process.
2727
+ # * ACTIVE: Outbound connection is active and ready to use.
2728
+ # * REJECTED: Outbound connection request is rejected by destination
2729
+ # domain owner.
2730
+ # * DELETING: Outbound connection deletion is in progress.
2731
+ # * DELETED: Outbound connection is deleted and cannot be used
2732
+ # further.
2733
+ # @return [String]
2734
+ #
2735
+ # @!attribute [rw] message
2736
+ # Specifies verbose information for the outbound connection status.
2737
+ # @return [String]
2738
+ #
2739
+ class OutboundCrossClusterSearchConnectionStatus < Struct.new(
2740
+ :status_code,
2741
+ :message)
2742
+ include Aws::Structure
2743
+ end
2744
+
2253
2745
  # Basic information about a package.
2254
2746
  #
2255
2747
  # @!attribute [rw] package_id
@@ -2384,6 +2876,38 @@ module Aws::ElasticsearchService
2384
2876
  include Aws::Structure
2385
2877
  end
2386
2878
 
2879
+ # Container for the parameters to the
2880
+ # `RejectInboundCrossClusterSearchConnection` operation.
2881
+ #
2882
+ # @note When making an API call, you may pass RejectInboundCrossClusterSearchConnectionRequest
2883
+ # data as a hash:
2884
+ #
2885
+ # {
2886
+ # cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
2887
+ # }
2888
+ #
2889
+ # @!attribute [rw] cross_cluster_search_connection_id
2890
+ # The id of the inbound connection that you want to reject.
2891
+ # @return [String]
2892
+ #
2893
+ class RejectInboundCrossClusterSearchConnectionRequest < Struct.new(
2894
+ :cross_cluster_search_connection_id)
2895
+ include Aws::Structure
2896
+ end
2897
+
2898
+ # The result of a `RejectInboundCrossClusterSearchConnection` operation.
2899
+ # Contains details of rejected inbound connection.
2900
+ #
2901
+ # @!attribute [rw] cross_cluster_search_connection
2902
+ # Specifies the `InboundCrossClusterSearchConnection` of rejected
2903
+ # inbound connection.
2904
+ # @return [Types::InboundCrossClusterSearchConnection]
2905
+ #
2906
+ class RejectInboundCrossClusterSearchConnectionResponse < Struct.new(
2907
+ :cross_cluster_search_connection)
2908
+ include Aws::Structure
2909
+ end
2910
+
2387
2911
  # Container for the parameters to the `RemoveTags` operation. Specify
2388
2912
  # the `ARN` for the Elasticsearch domain from which you want to remove
2389
2913
  # the specified `TagKey`.
@@ -2588,6 +3112,12 @@ module Aws::ElasticsearchService
2588
3112
  # your service software.
2589
3113
  # @return [Time]
2590
3114
  #
3115
+ # @!attribute [rw] optional_deployment
3116
+ # `True` if a service software is never automatically updated. `False`
3117
+ # if a service software is automatically updated after
3118
+ # `AutomatedUpdateDate`.
3119
+ # @return [Boolean]
3120
+ #
2591
3121
  class ServiceSoftwareOptions < Struct.new(
2592
3122
  :current_version,
2593
3123
  :new_version,
@@ -2595,7 +3125,8 @@ module Aws::ElasticsearchService
2595
3125
  :cancellable,
2596
3126
  :update_status,
2597
3127
  :description,
2598
- :automated_update_date)
3128
+ :automated_update_date,
3129
+ :optional_deployment)
2599
3130
  include Aws::Structure
2600
3131
  end
2601
3132