aws-sdk-elasticsearchservice 1.67.0 → 1.69.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: fcd046beb506b0712d6819d84d3c42336092a748cb11f7d1317eefea8d368e7a
4
- data.tar.gz: 59429f164d97de0dbf48b0d2dd7fa2392d7df56f50ce01cd1dd439328f507aa5
3
+ metadata.gz: 30077958b312345c6d4e0b9cbed8f9e36de1f6ada3134629b77a5d4cbfdc8868
4
+ data.tar.gz: fd6e76061ee55d9171e05706c5416a1e4433d670e72015710cee1c156fccfe27
5
5
  SHA512:
6
- metadata.gz: 4e2a48b5e7559ba21f5ed76ccafbf15ec240d0c3e39511c012c7d573d42dee48c19ecf415c65f010e1e6464a835920512fd9816fab5e24e47f471ed3da1ef144
7
- data.tar.gz: ed3695709540988cae10294cf17c92262f1bf34a134b314647f07f807686aebe66a0987ab25a3b6c6f9c6c9459f43fef8e447fc8532e0fa1dedbab09969598f5
6
+ metadata.gz: 70e67fd02d20e38733e806c194d6cb6e9cba8a7daadc949eb3792dec68e90c2a20dd02bf4d2c7e8803f12dbe17d692d5fd4d62a949c0e5ccad7b63deb9872494
7
+ data.tar.gz: ab6c4160f15177b796cd8162b8968ccaff88e3f69ba0889d73e739121c1627ea03cedb7a6921fe8d0adcb443c8fbc5832022a9251ba759d9f71b3eede6dfeded
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.69.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.68.0 (2022-11-10)
12
+ ------------------
13
+
14
+ * Feature - Amazon OpenSearch Service now offers managed VPC endpoints to connect to your Amazon OpenSearch Service VPC-enabled domain in a Virtual Private Cloud (VPC). This feature allows you to privately access OpenSearch Service domain without using public IPs or requiring traffic to traverse the Internet.
15
+
4
16
  1.67.0 (2022-10-25)
5
17
  ------------------
6
18
 
@@ -405,4 +417,4 @@ Unreleased Changes
405
417
  1.0.0.rc1 (2016-12-05)
406
418
  ------------------
407
419
 
408
- * Feature - Initial preview release of the `aws-sdk-elasticsearchservice` gem.
420
+ * Feature - Initial preview release of the `aws-sdk-elasticsearchservice` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.69.0
@@ -479,6 +479,38 @@ module Aws::ElasticsearchService
479
479
  req.send_request(options)
480
480
  end
481
481
 
482
+ # Provides access to an Amazon OpenSearch Service domain through the use
483
+ # of an interface VPC endpoint.
484
+ #
485
+ # @option params [required, String] :domain_name
486
+ # The name of the OpenSearch Service domain to provide access to.
487
+ #
488
+ # @option params [required, String] :account
489
+ # The account ID to grant access to.
490
+ #
491
+ # @return [Types::AuthorizeVpcEndpointAccessResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
492
+ #
493
+ # * {Types::AuthorizeVpcEndpointAccessResponse#authorized_principal #authorized_principal} => Types::AuthorizedPrincipal
494
+ #
495
+ # @example Request syntax with placeholder values
496
+ #
497
+ # resp = client.authorize_vpc_endpoint_access({
498
+ # domain_name: "DomainName", # required
499
+ # account: "AWSAccount", # required
500
+ # })
501
+ #
502
+ # @example Response structure
503
+ #
504
+ # resp.authorized_principal.principal_type #=> String, one of "AWS_ACCOUNT", "AWS_SERVICE"
505
+ # resp.authorized_principal.principal #=> String
506
+ #
507
+ # @overload authorize_vpc_endpoint_access(params = {})
508
+ # @param [Hash] params ({})
509
+ def authorize_vpc_endpoint_access(params = {}, options = {})
510
+ req = build_request(:authorize_vpc_endpoint_access, params)
511
+ req.send_request(options)
512
+ end
513
+
482
514
  # Cancels a scheduled service software update for an Amazon ES domain.
483
515
  # You can only perform this operation before the `AutomatedUpdateDate`
484
516
  # and when the `UpdateStatus` is in the `PENDING_UPDATE` state.
@@ -912,6 +944,55 @@ module Aws::ElasticsearchService
912
944
  req.send_request(options)
913
945
  end
914
946
 
947
+ # Creates an Amazon OpenSearch Service-managed VPC endpoint.
948
+ #
949
+ # @option params [required, String] :domain_arn
950
+ # The Amazon Resource Name (ARN) of the domain to grant access to.
951
+ #
952
+ # @option params [required, Types::VPCOptions] :vpc_options
953
+ # Options to specify the subnets and security groups for the endpoint.
954
+ #
955
+ # @option params [String] :client_token
956
+ # Unique, case-sensitive identifier to ensure idempotency of the
957
+ # request.
958
+ #
959
+ # @return [Types::CreateVpcEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
960
+ #
961
+ # * {Types::CreateVpcEndpointResponse#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
962
+ #
963
+ # @example Request syntax with placeholder values
964
+ #
965
+ # resp = client.create_vpc_endpoint({
966
+ # domain_arn: "DomainArn", # required
967
+ # vpc_options: { # required
968
+ # subnet_ids: ["String"],
969
+ # security_group_ids: ["String"],
970
+ # },
971
+ # client_token: "ClientToken",
972
+ # })
973
+ #
974
+ # @example Response structure
975
+ #
976
+ # resp.vpc_endpoint.vpc_endpoint_id #=> String
977
+ # resp.vpc_endpoint.vpc_endpoint_owner #=> String
978
+ # resp.vpc_endpoint.domain_arn #=> String
979
+ # resp.vpc_endpoint.vpc_options.vpc_id #=> String
980
+ # resp.vpc_endpoint.vpc_options.subnet_ids #=> Array
981
+ # resp.vpc_endpoint.vpc_options.subnet_ids[0] #=> String
982
+ # resp.vpc_endpoint.vpc_options.availability_zones #=> Array
983
+ # resp.vpc_endpoint.vpc_options.availability_zones[0] #=> String
984
+ # resp.vpc_endpoint.vpc_options.security_group_ids #=> Array
985
+ # resp.vpc_endpoint.vpc_options.security_group_ids[0] #=> String
986
+ # resp.vpc_endpoint.status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
987
+ # resp.vpc_endpoint.endpoint #=> String
988
+ #
989
+ # @overload create_vpc_endpoint(params = {})
990
+ # @param [Hash] params ({})
991
+ def create_vpc_endpoint(params = {}, options = {})
992
+ req = build_request(:create_vpc_endpoint, params)
993
+ req.send_request(options)
994
+ end
995
+
915
996
  # Permanently deletes the specified Elasticsearch domain and all of its
916
997
  # data. Once a domain is deleted, it cannot be recovered.
917
998
  #
@@ -1141,6 +1222,35 @@ module Aws::ElasticsearchService
1141
1222
  req.send_request(options)
1142
1223
  end
1143
1224
 
1225
+ # Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
1226
+ #
1227
+ # @option params [required, String] :vpc_endpoint_id
1228
+ # The unique identifier of the endpoint to be deleted.
1229
+ #
1230
+ # @return [Types::DeleteVpcEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1231
+ #
1232
+ # * {Types::DeleteVpcEndpointResponse#vpc_endpoint_summary #vpc_endpoint_summary} => Types::VpcEndpointSummary
1233
+ #
1234
+ # @example Request syntax with placeholder values
1235
+ #
1236
+ # resp = client.delete_vpc_endpoint({
1237
+ # vpc_endpoint_id: "VpcEndpointId", # required
1238
+ # })
1239
+ #
1240
+ # @example Response structure
1241
+ #
1242
+ # resp.vpc_endpoint_summary.vpc_endpoint_id #=> String
1243
+ # resp.vpc_endpoint_summary.vpc_endpoint_owner #=> String
1244
+ # resp.vpc_endpoint_summary.domain_arn #=> String
1245
+ # resp.vpc_endpoint_summary.status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
1246
+ #
1247
+ # @overload delete_vpc_endpoint(params = {})
1248
+ # @param [Hash] params ({})
1249
+ def delete_vpc_endpoint(params = {}, options = {})
1250
+ req = build_request(:delete_vpc_endpoint, params)
1251
+ req.send_request(options)
1252
+ end
1253
+
1144
1254
  # Provides scheduled Auto-Tune action details for the Elasticsearch
1145
1255
  # domain, such as Auto-Tune action type, description, severity, and
1146
1256
  # scheduled date.
@@ -1940,6 +2050,49 @@ module Aws::ElasticsearchService
1940
2050
  req.send_request(options)
1941
2051
  end
1942
2052
 
2053
+ # Describes one or more Amazon OpenSearch Service-managed VPC endpoints.
2054
+ #
2055
+ # @option params [required, Array<String>] :vpc_endpoint_ids
2056
+ # The unique identifiers of the endpoints to get information about.
2057
+ #
2058
+ # @return [Types::DescribeVpcEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2059
+ #
2060
+ # * {Types::DescribeVpcEndpointsResponse#vpc_endpoints #vpc_endpoints} => Array&lt;Types::VpcEndpoint&gt;
2061
+ # * {Types::DescribeVpcEndpointsResponse#vpc_endpoint_errors #vpc_endpoint_errors} => Array&lt;Types::VpcEndpointError&gt;
2062
+ #
2063
+ # @example Request syntax with placeholder values
2064
+ #
2065
+ # resp = client.describe_vpc_endpoints({
2066
+ # vpc_endpoint_ids: ["VpcEndpointId"], # required
2067
+ # })
2068
+ #
2069
+ # @example Response structure
2070
+ #
2071
+ # resp.vpc_endpoints #=> Array
2072
+ # resp.vpc_endpoints[0].vpc_endpoint_id #=> String
2073
+ # resp.vpc_endpoints[0].vpc_endpoint_owner #=> String
2074
+ # resp.vpc_endpoints[0].domain_arn #=> String
2075
+ # resp.vpc_endpoints[0].vpc_options.vpc_id #=> String
2076
+ # resp.vpc_endpoints[0].vpc_options.subnet_ids #=> Array
2077
+ # resp.vpc_endpoints[0].vpc_options.subnet_ids[0] #=> String
2078
+ # resp.vpc_endpoints[0].vpc_options.availability_zones #=> Array
2079
+ # resp.vpc_endpoints[0].vpc_options.availability_zones[0] #=> String
2080
+ # resp.vpc_endpoints[0].vpc_options.security_group_ids #=> Array
2081
+ # resp.vpc_endpoints[0].vpc_options.security_group_ids[0] #=> String
2082
+ # resp.vpc_endpoints[0].status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
2083
+ # resp.vpc_endpoints[0].endpoint #=> String
2084
+ # resp.vpc_endpoint_errors #=> Array
2085
+ # resp.vpc_endpoint_errors[0].vpc_endpoint_id #=> String
2086
+ # resp.vpc_endpoint_errors[0].error_code #=> String, one of "ENDPOINT_NOT_FOUND", "SERVER_ERROR"
2087
+ # resp.vpc_endpoint_errors[0].error_message #=> String
2088
+ #
2089
+ # @overload describe_vpc_endpoints(params = {})
2090
+ # @param [Hash] params ({})
2091
+ def describe_vpc_endpoints(params = {}, options = {})
2092
+ req = build_request(:describe_vpc_endpoints, params)
2093
+ req.send_request(options)
2094
+ end
2095
+
1943
2096
  # Dissociates a package from the Amazon ES domain.
1944
2097
  #
1945
2098
  # @option params [required, String] :package_id
@@ -2393,6 +2546,113 @@ module Aws::ElasticsearchService
2393
2546
  req.send_request(options)
2394
2547
  end
2395
2548
 
2549
+ # Retrieves information about each principal that is allowed to access a
2550
+ # given Amazon OpenSearch Service domain through the use of an interface
2551
+ # VPC endpoint.
2552
+ #
2553
+ # @option params [required, String] :domain_name
2554
+ # The name of the OpenSearch Service domain to retrieve access
2555
+ # information for.
2556
+ #
2557
+ # @option params [String] :next_token
2558
+ # Provides an identifier to allow retrieval of paginated results.
2559
+ #
2560
+ # @return [Types::ListVpcEndpointAccessResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2561
+ #
2562
+ # * {Types::ListVpcEndpointAccessResponse#authorized_principal_list #authorized_principal_list} => Array&lt;Types::AuthorizedPrincipal&gt;
2563
+ # * {Types::ListVpcEndpointAccessResponse#next_token #next_token} => String
2564
+ #
2565
+ # @example Request syntax with placeholder values
2566
+ #
2567
+ # resp = client.list_vpc_endpoint_access({
2568
+ # domain_name: "DomainName", # required
2569
+ # next_token: "NextToken",
2570
+ # })
2571
+ #
2572
+ # @example Response structure
2573
+ #
2574
+ # resp.authorized_principal_list #=> Array
2575
+ # resp.authorized_principal_list[0].principal_type #=> String, one of "AWS_ACCOUNT", "AWS_SERVICE"
2576
+ # resp.authorized_principal_list[0].principal #=> String
2577
+ # resp.next_token #=> String
2578
+ #
2579
+ # @overload list_vpc_endpoint_access(params = {})
2580
+ # @param [Hash] params ({})
2581
+ def list_vpc_endpoint_access(params = {}, options = {})
2582
+ req = build_request(:list_vpc_endpoint_access, params)
2583
+ req.send_request(options)
2584
+ end
2585
+
2586
+ # Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the
2587
+ # current account and Region.
2588
+ #
2589
+ # @option params [String] :next_token
2590
+ # Identifier to allow retrieval of paginated results.
2591
+ #
2592
+ # @return [Types::ListVpcEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2593
+ #
2594
+ # * {Types::ListVpcEndpointsResponse#vpc_endpoint_summary_list #vpc_endpoint_summary_list} => Array&lt;Types::VpcEndpointSummary&gt;
2595
+ # * {Types::ListVpcEndpointsResponse#next_token #next_token} => String
2596
+ #
2597
+ # @example Request syntax with placeholder values
2598
+ #
2599
+ # resp = client.list_vpc_endpoints({
2600
+ # next_token: "NextToken",
2601
+ # })
2602
+ #
2603
+ # @example Response structure
2604
+ #
2605
+ # resp.vpc_endpoint_summary_list #=> Array
2606
+ # resp.vpc_endpoint_summary_list[0].vpc_endpoint_id #=> String
2607
+ # resp.vpc_endpoint_summary_list[0].vpc_endpoint_owner #=> String
2608
+ # resp.vpc_endpoint_summary_list[0].domain_arn #=> String
2609
+ # resp.vpc_endpoint_summary_list[0].status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
2610
+ # resp.next_token #=> String
2611
+ #
2612
+ # @overload list_vpc_endpoints(params = {})
2613
+ # @param [Hash] params ({})
2614
+ def list_vpc_endpoints(params = {}, options = {})
2615
+ req = build_request(:list_vpc_endpoints, params)
2616
+ req.send_request(options)
2617
+ end
2618
+
2619
+ # Retrieves all Amazon OpenSearch Service-managed VPC endpoints
2620
+ # associated with a particular domain.
2621
+ #
2622
+ # @option params [required, String] :domain_name
2623
+ # Name of the ElasticSearch domain whose VPC endpoints are to be listed.
2624
+ #
2625
+ # @option params [String] :next_token
2626
+ # Provides an identifier to allow retrieval of paginated results.
2627
+ #
2628
+ # @return [Types::ListVpcEndpointsForDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2629
+ #
2630
+ # * {Types::ListVpcEndpointsForDomainResponse#vpc_endpoint_summary_list #vpc_endpoint_summary_list} => Array&lt;Types::VpcEndpointSummary&gt;
2631
+ # * {Types::ListVpcEndpointsForDomainResponse#next_token #next_token} => String
2632
+ #
2633
+ # @example Request syntax with placeholder values
2634
+ #
2635
+ # resp = client.list_vpc_endpoints_for_domain({
2636
+ # domain_name: "DomainName", # required
2637
+ # next_token: "NextToken",
2638
+ # })
2639
+ #
2640
+ # @example Response structure
2641
+ #
2642
+ # resp.vpc_endpoint_summary_list #=> Array
2643
+ # resp.vpc_endpoint_summary_list[0].vpc_endpoint_id #=> String
2644
+ # resp.vpc_endpoint_summary_list[0].vpc_endpoint_owner #=> String
2645
+ # resp.vpc_endpoint_summary_list[0].domain_arn #=> String
2646
+ # resp.vpc_endpoint_summary_list[0].status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
2647
+ # resp.next_token #=> String
2648
+ #
2649
+ # @overload list_vpc_endpoints_for_domain(params = {})
2650
+ # @param [Hash] params ({})
2651
+ def list_vpc_endpoints_for_domain(params = {}, options = {})
2652
+ req = build_request(:list_vpc_endpoints_for_domain, params)
2653
+ req.send_request(options)
2654
+ end
2655
+
2396
2656
  # Allows you to purchase reserved Elasticsearch instances.
2397
2657
  #
2398
2658
  # @option params [required, String] :reserved_elasticsearch_instance_offering_id
@@ -2491,6 +2751,31 @@ module Aws::ElasticsearchService
2491
2751
  req.send_request(options)
2492
2752
  end
2493
2753
 
2754
+ # Revokes access to an Amazon OpenSearch Service domain that was
2755
+ # provided through an interface VPC endpoint.
2756
+ #
2757
+ # @option params [required, String] :domain_name
2758
+ # The name of the OpenSearch Service domain.
2759
+ #
2760
+ # @option params [required, String] :account
2761
+ # The account ID to revoke access from.
2762
+ #
2763
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2764
+ #
2765
+ # @example Request syntax with placeholder values
2766
+ #
2767
+ # resp = client.revoke_vpc_endpoint_access({
2768
+ # domain_name: "DomainName", # required
2769
+ # account: "AWSAccount", # required
2770
+ # })
2771
+ #
2772
+ # @overload revoke_vpc_endpoint_access(params = {})
2773
+ # @param [Hash] params ({})
2774
+ def revoke_vpc_endpoint_access(params = {}, options = {})
2775
+ req = build_request(:revoke_vpc_endpoint_access, params)
2776
+ req.send_request(options)
2777
+ end
2778
+
2494
2779
  # Schedules a service software update for an Amazon ES domain.
2495
2780
  #
2496
2781
  # @option params [required, String] :domain_name
@@ -2908,6 +3193,50 @@ module Aws::ElasticsearchService
2908
3193
  req.send_request(options)
2909
3194
  end
2910
3195
 
3196
+ # Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
3197
+ #
3198
+ # @option params [required, String] :vpc_endpoint_id
3199
+ # Unique identifier of the VPC endpoint to be updated.
3200
+ #
3201
+ # @option params [required, Types::VPCOptions] :vpc_options
3202
+ # The security groups and/or subnets to add, remove, or modify.
3203
+ #
3204
+ # @return [Types::UpdateVpcEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3205
+ #
3206
+ # * {Types::UpdateVpcEndpointResponse#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
3207
+ #
3208
+ # @example Request syntax with placeholder values
3209
+ #
3210
+ # resp = client.update_vpc_endpoint({
3211
+ # vpc_endpoint_id: "VpcEndpointId", # required
3212
+ # vpc_options: { # required
3213
+ # subnet_ids: ["String"],
3214
+ # security_group_ids: ["String"],
3215
+ # },
3216
+ # })
3217
+ #
3218
+ # @example Response structure
3219
+ #
3220
+ # resp.vpc_endpoint.vpc_endpoint_id #=> String
3221
+ # resp.vpc_endpoint.vpc_endpoint_owner #=> String
3222
+ # resp.vpc_endpoint.domain_arn #=> String
3223
+ # resp.vpc_endpoint.vpc_options.vpc_id #=> String
3224
+ # resp.vpc_endpoint.vpc_options.subnet_ids #=> Array
3225
+ # resp.vpc_endpoint.vpc_options.subnet_ids[0] #=> String
3226
+ # resp.vpc_endpoint.vpc_options.availability_zones #=> Array
3227
+ # resp.vpc_endpoint.vpc_options.availability_zones[0] #=> String
3228
+ # resp.vpc_endpoint.vpc_options.security_group_ids #=> Array
3229
+ # resp.vpc_endpoint.vpc_options.security_group_ids[0] #=> String
3230
+ # resp.vpc_endpoint.status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
3231
+ # resp.vpc_endpoint.endpoint #=> String
3232
+ #
3233
+ # @overload update_vpc_endpoint(params = {})
3234
+ # @param [Hash] params ({})
3235
+ def update_vpc_endpoint(params = {}, options = {})
3236
+ req = build_request(:update_vpc_endpoint, params)
3237
+ req.send_request(options)
3238
+ end
3239
+
2911
3240
  # Allows you to either upgrade your domain or perform an Upgrade
2912
3241
  # eligibility check to a compatible Elasticsearch version.
2913
3242
  #
@@ -2968,7 +3297,7 @@ module Aws::ElasticsearchService
2968
3297
  params: params,
2969
3298
  config: config)
2970
3299
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
2971
- context[:gem_version] = '1.67.0'
3300
+ context[:gem_version] = '1.69.0'
2972
3301
  Seahorse::Client::Request.new(handlers, context)
2973
3302
  end
2974
3303