aws-sdk-opensearchservice 1.29.0 → 1.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cf4521f2c788a4fc85116ba82d29aede3b089da0f80bf675ab2dfe39b8a4853
4
- data.tar.gz: 767c1bf5a4e17ec34b1374a848cf5b4875de7126f95976b39951bd16b47712b9
3
+ metadata.gz: 373a2dc11173ab4444455d8ef8cbdda148cf00e2aa00a41efa1055eaaa15ca7b
4
+ data.tar.gz: e248b3d863f3c548e8f8b39522c631864db7a0a85357434600357ed225d405a8
5
5
  SHA512:
6
- metadata.gz: 4a8b246ce95e9a8e91af4d6f7ab64d6b6afdeb743e648c1601f274aeabafbdeb664545f2f76d05173bc41c6d17ff9a3b0ad9807fbb9aab3372ecc41896d00644
7
- data.tar.gz: 628b8fbdbba494e5df804bc129671421a37568b8b2c965b4c7efc011de55a260f6af74d8075e03b41e3c757fa603c131a183448454ccbf44eba91620d2567197
6
+ metadata.gz: 242d47a0a48b5b9eff7c270c6c64bd4845974efa401f04c9bd09c35f93c5568e468eb4811b5e34998ca1b6911200037a8394e8b96a6a71dd902a21a0714b70ea
7
+ data.tar.gz: 9d3a2a08a8f16a0c07f810cd934c4d408dd1cd42572a529fc5aef374f30afd0b5c313687061663120f719e97a4b8c7043adc65aefad4d5a073ae9e831aad52f4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2023-11-22)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.30.0 (2023-10-26)
10
+ ------------------
11
+
12
+ * Feature - You can specify ipv4 or dualstack IPAddressType for cluster endpoints. If you specify IPAddressType as dualstack, the new endpoint will be visible under the 'EndpointV2' parameter and will support IPv4 and IPv6 requests. Whereas, the 'Endpoint' will continue to serve IPv4 requests.
13
+
4
14
  1.29.0 (2023-10-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.31.0
@@ -630,6 +630,9 @@ module Aws::OpenSearchService
630
630
  # Identity and Access Management (IAM) policy document specifying the
631
631
  # access policies for the new domain.
632
632
  #
633
+ # @option params [String] :ip_address_type
634
+ # The type of IP addresses supported by the endpoint for the domain.
635
+ #
633
636
  # @option params [Types::SnapshotOptions] :snapshot_options
634
637
  # DEPRECATED. Container for the parameters required to configure
635
638
  # automated snapshots of domain indexes.
@@ -754,6 +757,7 @@ module Aws::OpenSearchService
754
757
  # throughput: 1,
755
758
  # },
756
759
  # access_policies: "PolicyDocument",
760
+ # ip_address_type: "ipv4", # accepts ipv4, dualstack
757
761
  # snapshot_options: {
758
762
  # automated_snapshot_start_hour: 1,
759
763
  # },
@@ -854,6 +858,7 @@ module Aws::OpenSearchService
854
858
  # resp.domain_status.created #=> Boolean
855
859
  # resp.domain_status.deleted #=> Boolean
856
860
  # resp.domain_status.endpoint #=> String
861
+ # resp.domain_status.endpoint_v2 #=> String
857
862
  # resp.domain_status.endpoints #=> Hash
858
863
  # resp.domain_status.endpoints["String"] #=> String
859
864
  # resp.domain_status.processing #=> Boolean
@@ -877,6 +882,7 @@ module Aws::OpenSearchService
877
882
  # resp.domain_status.ebs_options.iops #=> Integer
878
883
  # resp.domain_status.ebs_options.throughput #=> Integer
879
884
  # resp.domain_status.access_policies #=> String
885
+ # resp.domain_status.ip_address_type #=> String, one of "ipv4", "dualstack"
880
886
  # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
881
887
  # resp.domain_status.vpc_options.vpc_id #=> String
882
888
  # resp.domain_status.vpc_options.subnet_ids #=> Array
@@ -1165,6 +1171,7 @@ module Aws::OpenSearchService
1165
1171
  # resp.domain_status.created #=> Boolean
1166
1172
  # resp.domain_status.deleted #=> Boolean
1167
1173
  # resp.domain_status.endpoint #=> String
1174
+ # resp.domain_status.endpoint_v2 #=> String
1168
1175
  # resp.domain_status.endpoints #=> Hash
1169
1176
  # resp.domain_status.endpoints["String"] #=> String
1170
1177
  # resp.domain_status.processing #=> Boolean
@@ -1188,6 +1195,7 @@ module Aws::OpenSearchService
1188
1195
  # resp.domain_status.ebs_options.iops #=> Integer
1189
1196
  # resp.domain_status.ebs_options.throughput #=> Integer
1190
1197
  # resp.domain_status.access_policies #=> String
1198
+ # resp.domain_status.ip_address_type #=> String, one of "ipv4", "dualstack"
1191
1199
  # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
1192
1200
  # resp.domain_status.vpc_options.vpc_id #=> String
1193
1201
  # resp.domain_status.vpc_options.subnet_ids #=> Array
@@ -1446,6 +1454,7 @@ module Aws::OpenSearchService
1446
1454
  # resp.domain_status.created #=> Boolean
1447
1455
  # resp.domain_status.deleted #=> Boolean
1448
1456
  # resp.domain_status.endpoint #=> String
1457
+ # resp.domain_status.endpoint_v2 #=> String
1449
1458
  # resp.domain_status.endpoints #=> Hash
1450
1459
  # resp.domain_status.endpoints["String"] #=> String
1451
1460
  # resp.domain_status.processing #=> Boolean
@@ -1469,6 +1478,7 @@ module Aws::OpenSearchService
1469
1478
  # resp.domain_status.ebs_options.iops #=> Integer
1470
1479
  # resp.domain_status.ebs_options.throughput #=> Integer
1471
1480
  # resp.domain_status.access_policies #=> String
1481
+ # resp.domain_status.ip_address_type #=> String, one of "ipv4", "dualstack"
1472
1482
  # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
1473
1483
  # resp.domain_status.vpc_options.vpc_id #=> String
1474
1484
  # resp.domain_status.vpc_options.subnet_ids #=> Array
@@ -1695,6 +1705,12 @@ module Aws::OpenSearchService
1695
1705
  # resp.domain_config.access_policies.status.update_version #=> Integer
1696
1706
  # resp.domain_config.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
1697
1707
  # resp.domain_config.access_policies.status.pending_deletion #=> Boolean
1708
+ # resp.domain_config.ip_address_type.options #=> String, one of "ipv4", "dualstack"
1709
+ # resp.domain_config.ip_address_type.status.creation_date #=> Time
1710
+ # resp.domain_config.ip_address_type.status.update_date #=> Time
1711
+ # resp.domain_config.ip_address_type.status.update_version #=> Integer
1712
+ # resp.domain_config.ip_address_type.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
1713
+ # resp.domain_config.ip_address_type.status.pending_deletion #=> Boolean
1698
1714
  # resp.domain_config.snapshot_options.options.automated_snapshot_start_hour #=> Integer
1699
1715
  # resp.domain_config.snapshot_options.status.creation_date #=> Time
1700
1716
  # resp.domain_config.snapshot_options.status.update_date #=> Time
@@ -1940,6 +1956,7 @@ module Aws::OpenSearchService
1940
1956
  # resp.domain_status_list[0].created #=> Boolean
1941
1957
  # resp.domain_status_list[0].deleted #=> Boolean
1942
1958
  # resp.domain_status_list[0].endpoint #=> String
1959
+ # resp.domain_status_list[0].endpoint_v2 #=> String
1943
1960
  # resp.domain_status_list[0].endpoints #=> Hash
1944
1961
  # resp.domain_status_list[0].endpoints["String"] #=> String
1945
1962
  # resp.domain_status_list[0].processing #=> Boolean
@@ -1963,6 +1980,7 @@ module Aws::OpenSearchService
1963
1980
  # resp.domain_status_list[0].ebs_options.iops #=> Integer
1964
1981
  # resp.domain_status_list[0].ebs_options.throughput #=> Integer
1965
1982
  # resp.domain_status_list[0].access_policies #=> String
1983
+ # resp.domain_status_list[0].ip_address_type #=> String, one of "ipv4", "dualstack"
1966
1984
  # resp.domain_status_list[0].snapshot_options.automated_snapshot_start_hour #=> Integer
1967
1985
  # resp.domain_status_list[0].vpc_options.vpc_id #=> String
1968
1986
  # resp.domain_status_list[0].vpc_options.subnet_ids #=> Array
@@ -2073,6 +2091,7 @@ module Aws::OpenSearchService
2073
2091
  # resp.dry_run_config.created #=> Boolean
2074
2092
  # resp.dry_run_config.deleted #=> Boolean
2075
2093
  # resp.dry_run_config.endpoint #=> String
2094
+ # resp.dry_run_config.endpoint_v2 #=> String
2076
2095
  # resp.dry_run_config.endpoints #=> Hash
2077
2096
  # resp.dry_run_config.endpoints["String"] #=> String
2078
2097
  # resp.dry_run_config.processing #=> Boolean
@@ -2096,6 +2115,7 @@ module Aws::OpenSearchService
2096
2115
  # resp.dry_run_config.ebs_options.iops #=> Integer
2097
2116
  # resp.dry_run_config.ebs_options.throughput #=> Integer
2098
2117
  # resp.dry_run_config.access_policies #=> String
2118
+ # resp.dry_run_config.ip_address_type #=> String, one of "ipv4", "dualstack"
2099
2119
  # resp.dry_run_config.snapshot_options.automated_snapshot_start_hour #=> Integer
2100
2120
  # resp.dry_run_config.vpc_options.vpc_id #=> String
2101
2121
  # resp.dry_run_config.vpc_options.subnet_ids #=> Array
@@ -2678,13 +2698,13 @@ module Aws::OpenSearchService
2678
2698
  req.send_request(options)
2679
2699
  end
2680
2700
 
2681
- # Get the status of the maintenance action.
2701
+ # The status of the maintenance action.
2682
2702
  #
2683
2703
  # @option params [required, String] :domain_name
2684
2704
  # The name of the domain.
2685
2705
  #
2686
2706
  # @option params [required, String] :maintenance_id
2687
- # The request id of the maintenance action.
2707
+ # The request ID of the maintenance action.
2688
2708
  #
2689
2709
  # @return [Types::GetDomainMaintenanceStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2690
2710
  #
@@ -2868,7 +2888,7 @@ module Aws::OpenSearchService
2868
2888
  req.send_request(options)
2869
2889
  end
2870
2890
 
2871
- # Get the list of the maintenance action.
2891
+ # A list of maintenance actions for the domain.
2872
2892
  #
2873
2893
  # @option params [required, String] :domain_name
2874
2894
  # The name of the domain.
@@ -2885,7 +2905,7 @@ module Aws::OpenSearchService
2885
2905
  #
2886
2906
  # @option params [String] :next_token
2887
2907
  # If your initial `ListDomainMaintenances` operation returns a
2888
- # `nextToken`, you can include the returned `nextToken` in subsequent
2908
+ # `nextToken`, include the returned `nextToken` in subsequent
2889
2909
  # `ListDomainMaintenances` operations, which returns results in the next
2890
2910
  # page.
2891
2911
  #
@@ -3544,9 +3564,9 @@ module Aws::OpenSearchService
3544
3564
  req.send_request(options)
3545
3565
  end
3546
3566
 
3547
- # Starts the node maintenance (Node restart, Node reboot,
3548
- # Opensearch/Elasticsearch process restart, Dashboard/kibana restart) on
3549
- # the data node.
3567
+ # Starts the node maintenance process on the data node. These processes
3568
+ # can include a node reboot, an Opensearch or Elasticsearch process
3569
+ # restart, or a Dashboard or Kibana restart.
3550
3570
  #
3551
3571
  # @option params [required, String] :domain_name
3552
3572
  # The name of the domain.
@@ -3555,7 +3575,7 @@ module Aws::OpenSearchService
3555
3575
  # The name of the action.
3556
3576
  #
3557
3577
  # @option params [String] :node_id
3558
- # Id of the data node.
3578
+ # The ID of the data node.
3559
3579
  #
3560
3580
  # @return [Types::StartDomainMaintenanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3561
3581
  #
@@ -3711,6 +3731,9 @@ module Aws::OpenSearchService
3711
3731
  # Identity and Access Management (IAM) access policy as a JSON-formatted
3712
3732
  # string.
3713
3733
  #
3734
+ # @option params [String] :ip_address_type
3735
+ # The type of IP addresses supported by the endpoint for the domain.
3736
+ #
3714
3737
  # @option params [Hash<String,Types::LogPublishingOption>] :log_publishing_options
3715
3738
  # Options to publish OpenSearch logs to Amazon CloudWatch Logs.
3716
3739
  #
@@ -3807,6 +3830,7 @@ module Aws::OpenSearchService
3807
3830
  # "String" => "String",
3808
3831
  # },
3809
3832
  # access_policies: "PolicyDocument",
3833
+ # ip_address_type: "ipv4", # accepts ipv4, dualstack
3810
3834
  # log_publishing_options: {
3811
3835
  # "INDEX_SLOW_LOGS" => {
3812
3836
  # cloud_watch_logs_log_group_arn: "CloudWatchLogsLogGroupArn",
@@ -3921,6 +3945,12 @@ module Aws::OpenSearchService
3921
3945
  # resp.domain_config.access_policies.status.update_version #=> Integer
3922
3946
  # resp.domain_config.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
3923
3947
  # resp.domain_config.access_policies.status.pending_deletion #=> Boolean
3948
+ # resp.domain_config.ip_address_type.options #=> String, one of "ipv4", "dualstack"
3949
+ # resp.domain_config.ip_address_type.status.creation_date #=> Time
3950
+ # resp.domain_config.ip_address_type.status.update_date #=> Time
3951
+ # resp.domain_config.ip_address_type.status.update_version #=> Integer
3952
+ # resp.domain_config.ip_address_type.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
3953
+ # resp.domain_config.ip_address_type.status.pending_deletion #=> Boolean
3924
3954
  # resp.domain_config.snapshot_options.options.automated_snapshot_start_hour #=> Integer
3925
3955
  # resp.domain_config.snapshot_options.status.creation_date #=> Time
3926
3956
  # resp.domain_config.snapshot_options.status.update_date #=> Time
@@ -4320,7 +4350,7 @@ module Aws::OpenSearchService
4320
4350
  params: params,
4321
4351
  config: config)
4322
4352
  context[:gem_name] = 'aws-sdk-opensearchservice'
4323
- context[:gem_version] = '1.29.0'
4353
+ context[:gem_version] = '1.31.0'
4324
4354
  Seahorse::Client::Request.new(handlers, context)
4325
4355
  end
4326
4356
 
@@ -201,6 +201,8 @@ module Aws::OpenSearchService
201
201
  GetUpgradeHistoryResponse = Shapes::StructureShape.new(name: 'GetUpgradeHistoryResponse')
202
202
  GetUpgradeStatusRequest = Shapes::StructureShape.new(name: 'GetUpgradeStatusRequest')
203
203
  GetUpgradeStatusResponse = Shapes::StructureShape.new(name: 'GetUpgradeStatusResponse')
204
+ IPAddressType = Shapes::StringShape.new(name: 'IPAddressType')
205
+ IPAddressTypeStatus = Shapes::StructureShape.new(name: 'IPAddressTypeStatus')
204
206
  IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
205
207
  InboundConnection = Shapes::StructureShape.new(name: 'InboundConnection')
206
208
  InboundConnectionStatus = Shapes::StructureShape.new(name: 'InboundConnectionStatus')
@@ -630,6 +632,7 @@ module Aws::OpenSearchService
630
632
  CreateDomainRequest.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfig, location_name: "ClusterConfig"))
631
633
  CreateDomainRequest.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
632
634
  CreateDomainRequest.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
635
+ CreateDomainRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressType, location_name: "IPAddressType"))
633
636
  CreateDomainRequest.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
634
637
  CreateDomainRequest.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCOptions, location_name: "VPCOptions"))
635
638
  CreateDomainRequest.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptions, location_name: "CognitoOptions"))
@@ -865,6 +868,7 @@ module Aws::OpenSearchService
865
868
  DomainConfig.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfigStatus, location_name: "ClusterConfig"))
866
869
  DomainConfig.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptionsStatus, location_name: "EBSOptions"))
867
870
  DomainConfig.add_member(:access_policies, Shapes::ShapeRef.new(shape: AccessPoliciesStatus, location_name: "AccessPolicies"))
871
+ DomainConfig.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressTypeStatus, location_name: "IPAddressType"))
868
872
  DomainConfig.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptionsStatus, location_name: "SnapshotOptions"))
869
873
  DomainConfig.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCDerivedInfoStatus, location_name: "VPCOptions"))
870
874
  DomainConfig.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptionsStatus, location_name: "CognitoOptions"))
@@ -945,6 +949,7 @@ module Aws::OpenSearchService
945
949
  DomainStatus.add_member(:created, Shapes::ShapeRef.new(shape: Boolean, location_name: "Created"))
946
950
  DomainStatus.add_member(:deleted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Deleted"))
947
951
  DomainStatus.add_member(:endpoint, Shapes::ShapeRef.new(shape: ServiceUrl, location_name: "Endpoint"))
952
+ DomainStatus.add_member(:endpoint_v2, Shapes::ShapeRef.new(shape: ServiceUrl, location_name: "EndpointV2"))
948
953
  DomainStatus.add_member(:endpoints, Shapes::ShapeRef.new(shape: EndpointsMap, location_name: "Endpoints"))
949
954
  DomainStatus.add_member(:processing, Shapes::ShapeRef.new(shape: Boolean, location_name: "Processing"))
950
955
  DomainStatus.add_member(:upgrade_processing, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpgradeProcessing"))
@@ -952,6 +957,7 @@ module Aws::OpenSearchService
952
957
  DomainStatus.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfig, required: true, location_name: "ClusterConfig"))
953
958
  DomainStatus.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
954
959
  DomainStatus.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
960
+ DomainStatus.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressType, location_name: "IPAddressType"))
955
961
  DomainStatus.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
956
962
  DomainStatus.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCDerivedInfo, location_name: "VPCOptions"))
957
963
  DomainStatus.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptions, location_name: "CognitoOptions"))
@@ -1067,6 +1073,10 @@ module Aws::OpenSearchService
1067
1073
  GetUpgradeStatusResponse.add_member(:upgrade_name, Shapes::ShapeRef.new(shape: UpgradeName, location_name: "UpgradeName"))
1068
1074
  GetUpgradeStatusResponse.struct_class = Types::GetUpgradeStatusResponse
1069
1075
 
1076
+ IPAddressTypeStatus.add_member(:options, Shapes::ShapeRef.new(shape: IPAddressType, required: true, location_name: "Options"))
1077
+ IPAddressTypeStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
1078
+ IPAddressTypeStatus.struct_class = Types::IPAddressTypeStatus
1079
+
1070
1080
  InboundConnection.add_member(:local_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, location_name: "LocalDomainInfo"))
1071
1081
  InboundConnection.add_member(:remote_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, location_name: "RemoteDomainInfo"))
1072
1082
  InboundConnection.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, location_name: "ConnectionId"))
@@ -1482,6 +1492,7 @@ module Aws::OpenSearchService
1482
1492
  UpdateDomainConfigRequest.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptions, location_name: "CognitoOptions"))
1483
1493
  UpdateDomainConfigRequest.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
1484
1494
  UpdateDomainConfigRequest.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
1495
+ UpdateDomainConfigRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressType, location_name: "IPAddressType"))
1485
1496
  UpdateDomainConfigRequest.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
1486
1497
  UpdateDomainConfigRequest.add_member(:encryption_at_rest_options, Shapes::ShapeRef.new(shape: EncryptionAtRestOptions, location_name: "EncryptionAtRestOptions"))
1487
1498
  UpdateDomainConfigRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
@@ -39,6 +39,15 @@ module Aws::OpenSearchService
39
39
  end
40
40
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
41
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
43
+ return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.aws", headers: {}, properties: {})
44
+ end
45
+ if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
46
+ return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
47
+ end
48
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
49
+ return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.aws", headers: {}, properties: {})
50
+ end
42
51
  return Aws::Endpoints::Endpoint.new(url: "https://es.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
52
  end
44
53
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
@@ -1121,6 +1121,10 @@ module Aws::OpenSearchService
1121
1121
  # access policies for the new domain.
1122
1122
  # @return [String]
1123
1123
  #
1124
+ # @!attribute [rw] ip_address_type
1125
+ # The type of IP addresses supported by the endpoint for the domain.
1126
+ # @return [String]
1127
+ #
1124
1128
  # @!attribute [rw] snapshot_options
1125
1129
  # DEPRECATED. Container for the parameters required to configure
1126
1130
  # automated snapshots of domain indexes.
@@ -1231,6 +1235,7 @@ module Aws::OpenSearchService
1231
1235
  :cluster_config,
1232
1236
  :ebs_options,
1233
1237
  :access_policies,
1238
+ :ip_address_type,
1234
1239
  :snapshot_options,
1235
1240
  :vpc_options,
1236
1241
  :cognito_options,
@@ -2385,6 +2390,10 @@ module Aws::OpenSearchService
2385
2390
  # Specifies the access policies for the domain.
2386
2391
  # @return [Types::AccessPoliciesStatus]
2387
2392
  #
2393
+ # @!attribute [rw] ip_address_type
2394
+ # The type of IP addresses supported by the endpoint for the domain.
2395
+ # @return [Types::IPAddressTypeStatus]
2396
+ #
2388
2397
  # @!attribute [rw] snapshot_options
2389
2398
  # DEPRECATED. Container for parameters required to configure automated
2390
2399
  # snapshots of domain indexes.
@@ -2453,6 +2462,7 @@ module Aws::OpenSearchService
2453
2462
  :cluster_config,
2454
2463
  :ebs_options,
2455
2464
  :access_policies,
2465
+ :ip_address_type,
2456
2466
  :snapshot_options,
2457
2467
  :vpc_options,
2458
2468
  :cognito_options,
@@ -2572,7 +2582,7 @@ module Aws::OpenSearchService
2572
2582
  # Container for the domain maintenance details.
2573
2583
  #
2574
2584
  # @!attribute [rw] maintenance_id
2575
- # Id of the requested action.
2585
+ # The ID of the requested action.
2576
2586
  # @return [String]
2577
2587
  #
2578
2588
  # @!attribute [rw] domain_name
@@ -2584,7 +2594,7 @@ module Aws::OpenSearchService
2584
2594
  # @return [String]
2585
2595
  #
2586
2596
  # @!attribute [rw] node_id
2587
- # Id of the data node.
2597
+ # The ID of the data node.
2588
2598
  # @return [String]
2589
2599
  #
2590
2600
  # @!attribute [rw] status
@@ -2592,15 +2602,15 @@ module Aws::OpenSearchService
2592
2602
  # @return [String]
2593
2603
  #
2594
2604
  # @!attribute [rw] status_message
2595
- # The status message of the action.
2605
+ # The status message for the action.
2596
2606
  # @return [String]
2597
2607
  #
2598
2608
  # @!attribute [rw] created_at
2599
- # Contains time at which action created.
2609
+ # The time at which the action was created.
2600
2610
  # @return [Time]
2601
2611
  #
2602
2612
  # @!attribute [rw] updated_at
2603
- # Contains time at which action updated.
2613
+ # The time at which the action was updated.
2604
2614
  # @return [Time]
2605
2615
  #
2606
2616
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DomainMaintenanceDetails AWS API Documentation
@@ -2768,6 +2778,13 @@ module Aws::OpenSearchService
2768
2778
  # upload requests to the domain.
2769
2779
  # @return [String]
2770
2780
  #
2781
+ # @!attribute [rw] endpoint_v2
2782
+ # The domain endpoint to which index and search requests are
2783
+ # submitted. For example,
2784
+ # `search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com` or
2785
+ # `doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com`.
2786
+ # @return [String]
2787
+ #
2771
2788
  # @!attribute [rw] endpoints
2772
2789
  # The key-value pair that exists if the OpenSearch Service domain uses
2773
2790
  # VPC endpoints.. Example `key, value`:
@@ -2804,6 +2821,10 @@ module Aws::OpenSearchService
2804
2821
  # access policies for the domain.
2805
2822
  # @return [String]
2806
2823
  #
2824
+ # @!attribute [rw] ip_address_type
2825
+ # The type of IP addresses supported by the endpoint for the domain.
2826
+ # @return [String]
2827
+ #
2807
2828
  # @!attribute [rw] snapshot_options
2808
2829
  # DEPRECATED. Container for parameters required to configure automated
2809
2830
  # snapshots of domain indexes.
@@ -2873,6 +2894,7 @@ module Aws::OpenSearchService
2873
2894
  :created,
2874
2895
  :deleted,
2875
2896
  :endpoint,
2897
+ :endpoint_v2,
2876
2898
  :endpoints,
2877
2899
  :processing,
2878
2900
  :upgrade_processing,
@@ -2880,6 +2902,7 @@ module Aws::OpenSearchService
2880
2902
  :cluster_config,
2881
2903
  :ebs_options,
2882
2904
  :access_policies,
2905
+ :ip_address_type,
2883
2906
  :snapshot_options,
2884
2907
  :vpc_options,
2885
2908
  :cognito_options,
@@ -3184,7 +3207,7 @@ module Aws::OpenSearchService
3184
3207
  # @return [String]
3185
3208
  #
3186
3209
  # @!attribute [rw] maintenance_id
3187
- # The request id of the maintenance action.
3210
+ # The request ID of the maintenance action.
3188
3211
  # @return [String]
3189
3212
  #
3190
3213
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDomainMaintenanceStatusRequest AWS API Documentation
@@ -3196,31 +3219,31 @@ module Aws::OpenSearchService
3196
3219
  include Aws::Structure
3197
3220
  end
3198
3221
 
3199
- # The result of a `GetDomainMaintenanceStatus` request. Contains
3200
- # information about the requested action.
3222
+ # The result of a `GetDomainMaintenanceStatus` request that information
3223
+ # about the requested action.
3201
3224
  #
3202
3225
  # @!attribute [rw] status
3203
- # Contains status of the maintenance action.
3226
+ # The status of the maintenance action.
3204
3227
  # @return [String]
3205
3228
  #
3206
3229
  # @!attribute [rw] status_message
3207
- # Contains status message of the maintenance action.
3230
+ # The status message of the maintenance action.
3208
3231
  # @return [String]
3209
3232
  #
3210
3233
  # @!attribute [rw] node_id
3211
- # Contains node id of maintenance action.
3234
+ # The node ID of the maintenance action.
3212
3235
  # @return [String]
3213
3236
  #
3214
3237
  # @!attribute [rw] action
3215
- # Contains action name.
3238
+ # The action name.
3216
3239
  # @return [String]
3217
3240
  #
3218
3241
  # @!attribute [rw] created_at
3219
- # Contains time at which action created.
3242
+ # The time at which the action was created.
3220
3243
  # @return [Time]
3221
3244
  #
3222
3245
  # @!attribute [rw] updated_at
3223
- # Contains time at which action updated.
3246
+ # The time at which the action was updated.
3224
3247
  # @return [Time]
3225
3248
  #
3226
3249
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDomainMaintenanceStatusResponse AWS API Documentation
@@ -3388,6 +3411,25 @@ module Aws::OpenSearchService
3388
3411
  include Aws::Structure
3389
3412
  end
3390
3413
 
3414
+ # The IP address type status for the domain.
3415
+ #
3416
+ # @!attribute [rw] options
3417
+ # The IP address options for the domain.
3418
+ # @return [String]
3419
+ #
3420
+ # @!attribute [rw] status
3421
+ # Provides the current status of an entity.
3422
+ # @return [Types::OptionStatus]
3423
+ #
3424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/IPAddressTypeStatus AWS API Documentation
3425
+ #
3426
+ class IPAddressTypeStatus < Struct.new(
3427
+ :options,
3428
+ :status)
3429
+ SENSITIVE = []
3430
+ include Aws::Structure
3431
+ end
3432
+
3391
3433
  # Describes an inbound cross-cluster connection for Amazon OpenSearch
3392
3434
  # Service. For more information, see [Cross-cluster search for Amazon
3393
3435
  # OpenSearch Service][1].
@@ -3632,7 +3674,7 @@ module Aws::OpenSearchService
3632
3674
  #
3633
3675
  # @!attribute [rw] next_token
3634
3676
  # If your initial `ListDomainMaintenances` operation returns a
3635
- # `nextToken`, you can include the returned `nextToken` in subsequent
3677
+ # `nextToken`, include the returned `nextToken` in subsequent
3636
3678
  # `ListDomainMaintenances` operations, which returns results in the
3637
3679
  # next page.
3638
3680
  # @return [String]
@@ -3649,11 +3691,11 @@ module Aws::OpenSearchService
3649
3691
  include Aws::Structure
3650
3692
  end
3651
3693
 
3652
- # The result of a `ListDomainMaintenances` request. Contains information
3653
- # about the requested actions.
3694
+ # The result of a `ListDomainMaintenances` request that contains
3695
+ # information about the requested actions.
3654
3696
  #
3655
3697
  # @!attribute [rw] domain_maintenances
3656
- # List of the submitted maintenance actions.
3698
+ # A list of the submitted maintenance actions.
3657
3699
  # @return [Array<Types::DomainMaintenanceDetails>]
3658
3700
  #
3659
3701
  # @!attribute [rw] next_token
@@ -5244,7 +5286,7 @@ module Aws::OpenSearchService
5244
5286
  # @return [String]
5245
5287
  #
5246
5288
  # @!attribute [rw] node_id
5247
- # Id of the data node.
5289
+ # The ID of the data node.
5248
5290
  # @return [String]
5249
5291
  #
5250
5292
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenanceRequest AWS API Documentation
@@ -5257,11 +5299,11 @@ module Aws::OpenSearchService
5257
5299
  include Aws::Structure
5258
5300
  end
5259
5301
 
5260
- # The result of a `StartDomainMaintenance` request. Contains information
5302
+ # The result of a `StartDomainMaintenance` request that information
5261
5303
  # about the requested action.
5262
5304
  #
5263
5305
  # @!attribute [rw] maintenance_id
5264
- # Contains request id of requested action.
5306
+ # The request ID of requested action.
5265
5307
  # @return [String]
5266
5308
  #
5267
5309
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenanceResponse AWS API Documentation
@@ -5489,6 +5531,10 @@ module Aws::OpenSearchService
5489
5531
  # JSON-formatted string.
5490
5532
  # @return [String]
5491
5533
  #
5534
+ # @!attribute [rw] ip_address_type
5535
+ # The type of IP addresses supported by the endpoint for the domain.
5536
+ # @return [String]
5537
+ #
5492
5538
  # @!attribute [rw] log_publishing_options
5493
5539
  # Options to publish OpenSearch logs to Amazon CloudWatch Logs.
5494
5540
  # @return [Hash<String,Types::LogPublishingOption>]
@@ -5554,6 +5600,7 @@ module Aws::OpenSearchService
5554
5600
  :cognito_options,
5555
5601
  :advanced_options,
5556
5602
  :access_policies,
5603
+ :ip_address_type,
5557
5604
  :log_publishing_options,
5558
5605
  :encryption_at_rest_options,
5559
5606
  :domain_endpoint_options,
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-opensearchservice/customizations'
52
52
  # @!group service
53
53
  module Aws::OpenSearchService
54
54
 
55
- GEM_VERSION = '1.29.0'
55
+ GEM_VERSION = '1.31.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opensearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-19 00:00:00.000000000 Z
11
+ date: 2023-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.184.0
22
+ version: 3.188.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.184.0
32
+ version: 3.188.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: '2.3'
83
+ version: '2.5'
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="