aws-sdk-elasticsearchservice 1.42.0 → 1.47.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: ad364284d9c0afc2201b4ac4f6f8a4c2a10ce1a6784b0a05b981543deacde150
4
- data.tar.gz: fb1418332a462a930a7cc6a92e65064d2c308283c8f41e10a767df9a8512b68e
3
+ metadata.gz: d28a244b7cb0d0a55048400f5cd9706f03b73e090a40fc9221ee5ec815ceba6a
4
+ data.tar.gz: 32e97eb2c9d9c19260283288317b6ca3c3c51f91895da5e40c6694e4cd48e231
5
5
  SHA512:
6
- metadata.gz: dedbb5611bafcef5fba8aef17716dd88c0fff7106c243e07e6486870e3b6f5b0623799e9c2c6b9e2aeae9f70adc7d67f512be66e221cba8e727ff6c1ef8b2d16
7
- data.tar.gz: b8644cde39d7891e5c5944662134530246f383a9e0265c996731e7cef2725d3537ec7ee3dfb2c0029a0f5b4b539903addde0c62793c6722141ffd2a71725285b
6
+ metadata.gz: f40137a5636bba1c04d1df0a376b39897d445e9b920c178f88086c4a3bea8b50cbd1a4a240e8e193484822ba6f01538c4d8dc5a9132d2fcf4c58347914dbbd15
7
+ data.tar.gz: 20f3d9366f614ddce25e0e0a51b978f763617eecd65f14156a775f74d69b45bb6bcd0f2da005ad3150713d1fd16e4739e38e15b29cf937667498afd2d8eb6e5e
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
48
48
  # @!group service
49
49
  module Aws::ElasticsearchService
50
50
 
51
- GEM_VERSION = '1.42.0'
51
+ GEM_VERSION = '1.47.0'
52
52
 
53
53
  end
@@ -426,6 +426,7 @@ module Aws::ElasticsearchService
426
426
  # resp.domain_package_details.last_updated #=> Time
427
427
  # resp.domain_package_details.domain_name #=> String
428
428
  # resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
429
+ # resp.domain_package_details.package_version #=> String
429
430
  # resp.domain_package_details.reference_path #=> String
430
431
  # resp.domain_package_details.error_details.error_type #=> String
431
432
  # resp.domain_package_details.error_details.error_message #=> String
@@ -620,6 +621,9 @@ module Aws::ElasticsearchService
620
621
  # domain_endpoint_options: {
621
622
  # enforce_https: false,
622
623
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
624
+ # custom_endpoint_enabled: false,
625
+ # custom_endpoint: "DomainNameFqdn",
626
+ # custom_endpoint_certificate_arn: "ARN",
623
627
  # },
624
628
  # advanced_security_options: {
625
629
  # enabled: false,
@@ -629,6 +633,18 @@ module Aws::ElasticsearchService
629
633
  # master_user_name: "Username",
630
634
  # master_user_password: "Password",
631
635
  # },
636
+ # saml_options: {
637
+ # enabled: false,
638
+ # idp: {
639
+ # metadata_content: "SAMLMetadata", # required
640
+ # entity_id: "SAMLEntityId", # required
641
+ # },
642
+ # master_user_name: "Username",
643
+ # master_backend_role: "BackendRole",
644
+ # subject_key: "String",
645
+ # roles_key: "String",
646
+ # session_timeout_minutes: 1,
647
+ # },
632
648
  # },
633
649
  # })
634
650
  #
@@ -690,8 +706,17 @@ module Aws::ElasticsearchService
690
706
  # resp.domain_status.service_software_options.optional_deployment #=> Boolean
691
707
  # resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
692
708
  # resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
709
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
710
+ # resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
711
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
693
712
  # resp.domain_status.advanced_security_options.enabled #=> Boolean
694
713
  # resp.domain_status.advanced_security_options.internal_user_database_enabled #=> Boolean
714
+ # resp.domain_status.advanced_security_options.saml_options.enabled #=> Boolean
715
+ # resp.domain_status.advanced_security_options.saml_options.idp.metadata_content #=> String
716
+ # resp.domain_status.advanced_security_options.saml_options.idp.entity_id #=> String
717
+ # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
718
+ # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
719
+ # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
695
720
  #
696
721
  # @overload create_elasticsearch_domain(params = {})
697
722
  # @param [Hash] params ({})
@@ -796,6 +821,8 @@ module Aws::ElasticsearchService
796
821
  # resp.package_details.package_description #=> String
797
822
  # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
798
823
  # resp.package_details.created_at #=> Time
824
+ # resp.package_details.last_updated_at #=> Time
825
+ # resp.package_details.available_package_version #=> String
799
826
  # resp.package_details.error_details.error_type #=> String
800
827
  # resp.package_details.error_details.error_message #=> String
801
828
  #
@@ -881,8 +908,17 @@ module Aws::ElasticsearchService
881
908
  # resp.domain_status.service_software_options.optional_deployment #=> Boolean
882
909
  # resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
883
910
  # resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
911
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
912
+ # resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
913
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
884
914
  # resp.domain_status.advanced_security_options.enabled #=> Boolean
885
915
  # resp.domain_status.advanced_security_options.internal_user_database_enabled #=> Boolean
916
+ # resp.domain_status.advanced_security_options.saml_options.enabled #=> Boolean
917
+ # resp.domain_status.advanced_security_options.saml_options.idp.metadata_content #=> String
918
+ # resp.domain_status.advanced_security_options.saml_options.idp.entity_id #=> String
919
+ # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
920
+ # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
921
+ # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
886
922
  #
887
923
  # @overload delete_elasticsearch_domain(params = {})
888
924
  # @param [Hash] params ({})
@@ -1006,6 +1042,8 @@ module Aws::ElasticsearchService
1006
1042
  # resp.package_details.package_description #=> String
1007
1043
  # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
1008
1044
  # resp.package_details.created_at #=> Time
1045
+ # resp.package_details.last_updated_at #=> Time
1046
+ # resp.package_details.available_package_version #=> String
1009
1047
  # resp.package_details.error_details.error_type #=> String
1010
1048
  # resp.package_details.error_details.error_message #=> String
1011
1049
  #
@@ -1091,8 +1129,17 @@ module Aws::ElasticsearchService
1091
1129
  # resp.domain_status.service_software_options.optional_deployment #=> Boolean
1092
1130
  # resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
1093
1131
  # resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
1132
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
1133
+ # resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
1134
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
1094
1135
  # resp.domain_status.advanced_security_options.enabled #=> Boolean
1095
1136
  # resp.domain_status.advanced_security_options.internal_user_database_enabled #=> Boolean
1137
+ # resp.domain_status.advanced_security_options.saml_options.enabled #=> Boolean
1138
+ # resp.domain_status.advanced_security_options.saml_options.idp.metadata_content #=> String
1139
+ # resp.domain_status.advanced_security_options.saml_options.idp.entity_id #=> String
1140
+ # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
1141
+ # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
1142
+ # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1096
1143
  #
1097
1144
  # @overload describe_elasticsearch_domain(params = {})
1098
1145
  # @param [Hash] params ({})
@@ -1213,6 +1260,9 @@ module Aws::ElasticsearchService
1213
1260
  # resp.domain_config.log_publishing_options.status.pending_deletion #=> Boolean
1214
1261
  # resp.domain_config.domain_endpoint_options.options.enforce_https #=> Boolean
1215
1262
  # resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
1263
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint_enabled #=> Boolean
1264
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint #=> String
1265
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint_certificate_arn #=> String
1216
1266
  # resp.domain_config.domain_endpoint_options.status.creation_date #=> Time
1217
1267
  # resp.domain_config.domain_endpoint_options.status.update_date #=> Time
1218
1268
  # resp.domain_config.domain_endpoint_options.status.update_version #=> Integer
@@ -1220,6 +1270,12 @@ module Aws::ElasticsearchService
1220
1270
  # resp.domain_config.domain_endpoint_options.status.pending_deletion #=> Boolean
1221
1271
  # resp.domain_config.advanced_security_options.options.enabled #=> Boolean
1222
1272
  # resp.domain_config.advanced_security_options.options.internal_user_database_enabled #=> Boolean
1273
+ # resp.domain_config.advanced_security_options.options.saml_options.enabled #=> Boolean
1274
+ # resp.domain_config.advanced_security_options.options.saml_options.idp.metadata_content #=> String
1275
+ # resp.domain_config.advanced_security_options.options.saml_options.idp.entity_id #=> String
1276
+ # resp.domain_config.advanced_security_options.options.saml_options.subject_key #=> String
1277
+ # resp.domain_config.advanced_security_options.options.saml_options.roles_key #=> String
1278
+ # resp.domain_config.advanced_security_options.options.saml_options.session_timeout_minutes #=> Integer
1223
1279
  # resp.domain_config.advanced_security_options.status.creation_date #=> Time
1224
1280
  # resp.domain_config.advanced_security_options.status.update_date #=> Time
1225
1281
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
@@ -1309,8 +1365,17 @@ module Aws::ElasticsearchService
1309
1365
  # resp.domain_status_list[0].service_software_options.optional_deployment #=> Boolean
1310
1366
  # resp.domain_status_list[0].domain_endpoint_options.enforce_https #=> Boolean
1311
1367
  # resp.domain_status_list[0].domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
1368
+ # resp.domain_status_list[0].domain_endpoint_options.custom_endpoint_enabled #=> Boolean
1369
+ # resp.domain_status_list[0].domain_endpoint_options.custom_endpoint #=> String
1370
+ # resp.domain_status_list[0].domain_endpoint_options.custom_endpoint_certificate_arn #=> String
1312
1371
  # resp.domain_status_list[0].advanced_security_options.enabled #=> Boolean
1313
1372
  # resp.domain_status_list[0].advanced_security_options.internal_user_database_enabled #=> Boolean
1373
+ # resp.domain_status_list[0].advanced_security_options.saml_options.enabled #=> Boolean
1374
+ # resp.domain_status_list[0].advanced_security_options.saml_options.idp.metadata_content #=> String
1375
+ # resp.domain_status_list[0].advanced_security_options.saml_options.idp.entity_id #=> String
1376
+ # resp.domain_status_list[0].advanced_security_options.saml_options.subject_key #=> String
1377
+ # resp.domain_status_list[0].advanced_security_options.saml_options.roles_key #=> String
1378
+ # resp.domain_status_list[0].advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1314
1379
  #
1315
1380
  # @overload describe_elasticsearch_domains(params = {})
1316
1381
  # @param [Hash] params ({})
@@ -1538,6 +1603,8 @@ module Aws::ElasticsearchService
1538
1603
  # resp.package_details_list[0].package_description #=> String
1539
1604
  # resp.package_details_list[0].package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
1540
1605
  # resp.package_details_list[0].created_at #=> Time
1606
+ # resp.package_details_list[0].last_updated_at #=> Time
1607
+ # resp.package_details_list[0].available_package_version #=> String
1541
1608
  # resp.package_details_list[0].error_details.error_type #=> String
1542
1609
  # resp.package_details_list[0].error_details.error_message #=> String
1543
1610
  # resp.next_token #=> String
@@ -1687,6 +1754,7 @@ module Aws::ElasticsearchService
1687
1754
  # resp.domain_package_details.last_updated #=> Time
1688
1755
  # resp.domain_package_details.domain_name #=> String
1689
1756
  # resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
1757
+ # resp.domain_package_details.package_version #=> String
1690
1758
  # resp.domain_package_details.reference_path #=> String
1691
1759
  # resp.domain_package_details.error_details.error_type #=> String
1692
1760
  # resp.domain_package_details.error_details.error_message #=> String
@@ -1732,6 +1800,52 @@ module Aws::ElasticsearchService
1732
1800
  req.send_request(options)
1733
1801
  end
1734
1802
 
1803
+ # Returns a list of versions of the package, along with their creation
1804
+ # time and commit message.
1805
+ #
1806
+ # @option params [required, String] :package_id
1807
+ # Returns an audit history of versions of the package.
1808
+ #
1809
+ # @option params [Integer] :max_results
1810
+ # Limits results to a maximum number of versions.
1811
+ #
1812
+ # @option params [String] :next_token
1813
+ # Used for pagination. Only necessary if a previous API call includes a
1814
+ # non-null NextToken value. If provided, returns results for the next
1815
+ # page.
1816
+ #
1817
+ # @return [Types::GetPackageVersionHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1818
+ #
1819
+ # * {Types::GetPackageVersionHistoryResponse#package_id #package_id} => String
1820
+ # * {Types::GetPackageVersionHistoryResponse#package_version_history_list #package_version_history_list} => Array<Types::PackageVersionHistory>
1821
+ # * {Types::GetPackageVersionHistoryResponse#next_token #next_token} => String
1822
+ #
1823
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1824
+ #
1825
+ # @example Request syntax with placeholder values
1826
+ #
1827
+ # resp = client.get_package_version_history({
1828
+ # package_id: "PackageID", # required
1829
+ # max_results: 1,
1830
+ # next_token: "NextToken",
1831
+ # })
1832
+ #
1833
+ # @example Response structure
1834
+ #
1835
+ # resp.package_id #=> String
1836
+ # resp.package_version_history_list #=> Array
1837
+ # resp.package_version_history_list[0].package_version #=> String
1838
+ # resp.package_version_history_list[0].commit_message #=> String
1839
+ # resp.package_version_history_list[0].created_at #=> Time
1840
+ # resp.next_token #=> String
1841
+ #
1842
+ # @overload get_package_version_history(params = {})
1843
+ # @param [Hash] params ({})
1844
+ def get_package_version_history(params = {}, options = {})
1845
+ req = build_request(:get_package_version_history, params)
1846
+ req.send_request(options)
1847
+ end
1848
+
1735
1849
  # Retrieves the complete history of the last 10 upgrades that were
1736
1850
  # performed on the domain.
1737
1851
  #
@@ -1875,6 +1989,7 @@ module Aws::ElasticsearchService
1875
1989
  # resp.domain_package_details_list[0].last_updated #=> Time
1876
1990
  # resp.domain_package_details_list[0].domain_name #=> String
1877
1991
  # resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
1992
+ # resp.domain_package_details_list[0].package_version #=> String
1878
1993
  # resp.domain_package_details_list[0].reference_path #=> String
1879
1994
  # resp.domain_package_details_list[0].error_details.error_type #=> String
1880
1995
  # resp.domain_package_details_list[0].error_details.error_message #=> String
@@ -2011,6 +2126,7 @@ module Aws::ElasticsearchService
2011
2126
  # resp.domain_package_details_list[0].last_updated #=> Time
2012
2127
  # resp.domain_package_details_list[0].domain_name #=> String
2013
2128
  # resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
2129
+ # resp.domain_package_details_list[0].package_version #=> String
2014
2130
  # resp.domain_package_details_list[0].reference_path #=> String
2015
2131
  # resp.domain_package_details_list[0].error_details.error_type #=> String
2016
2132
  # resp.domain_package_details_list[0].error_details.error_message #=> String
@@ -2244,6 +2360,12 @@ module Aws::ElasticsearchService
2244
2360
  # @option params [Types::AdvancedSecurityOptionsInput] :advanced_security_options
2245
2361
  # Specifies advanced security options.
2246
2362
  #
2363
+ # @option params [Types::NodeToNodeEncryptionOptions] :node_to_node_encryption_options
2364
+ # Specifies the NodeToNodeEncryptionOptions.
2365
+ #
2366
+ # @option params [Types::EncryptionAtRestOptions] :encryption_at_rest_options
2367
+ # Specifies the Encryption At Rest Options.
2368
+ #
2247
2369
  # @return [Types::UpdateElasticsearchDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2248
2370
  #
2249
2371
  # * {Types::UpdateElasticsearchDomainConfigResponse#domain_config #domain_config} => Types::ElasticsearchDomainConfig
@@ -2298,6 +2420,9 @@ module Aws::ElasticsearchService
2298
2420
  # domain_endpoint_options: {
2299
2421
  # enforce_https: false,
2300
2422
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
2423
+ # custom_endpoint_enabled: false,
2424
+ # custom_endpoint: "DomainNameFqdn",
2425
+ # custom_endpoint_certificate_arn: "ARN",
2301
2426
  # },
2302
2427
  # advanced_security_options: {
2303
2428
  # enabled: false,
@@ -2307,6 +2432,25 @@ module Aws::ElasticsearchService
2307
2432
  # master_user_name: "Username",
2308
2433
  # master_user_password: "Password",
2309
2434
  # },
2435
+ # saml_options: {
2436
+ # enabled: false,
2437
+ # idp: {
2438
+ # metadata_content: "SAMLMetadata", # required
2439
+ # entity_id: "SAMLEntityId", # required
2440
+ # },
2441
+ # master_user_name: "Username",
2442
+ # master_backend_role: "BackendRole",
2443
+ # subject_key: "String",
2444
+ # roles_key: "String",
2445
+ # session_timeout_minutes: 1,
2446
+ # },
2447
+ # },
2448
+ # node_to_node_encryption_options: {
2449
+ # enabled: false,
2450
+ # },
2451
+ # encryption_at_rest_options: {
2452
+ # enabled: false,
2453
+ # kms_key_id: "KmsKeyId",
2310
2454
  # },
2311
2455
  # })
2312
2456
  #
@@ -2405,6 +2549,9 @@ module Aws::ElasticsearchService
2405
2549
  # resp.domain_config.log_publishing_options.status.pending_deletion #=> Boolean
2406
2550
  # resp.domain_config.domain_endpoint_options.options.enforce_https #=> Boolean
2407
2551
  # resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
2552
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint_enabled #=> Boolean
2553
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint #=> String
2554
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint_certificate_arn #=> String
2408
2555
  # resp.domain_config.domain_endpoint_options.status.creation_date #=> Time
2409
2556
  # resp.domain_config.domain_endpoint_options.status.update_date #=> Time
2410
2557
  # resp.domain_config.domain_endpoint_options.status.update_version #=> Integer
@@ -2412,6 +2559,12 @@ module Aws::ElasticsearchService
2412
2559
  # resp.domain_config.domain_endpoint_options.status.pending_deletion #=> Boolean
2413
2560
  # resp.domain_config.advanced_security_options.options.enabled #=> Boolean
2414
2561
  # resp.domain_config.advanced_security_options.options.internal_user_database_enabled #=> Boolean
2562
+ # resp.domain_config.advanced_security_options.options.saml_options.enabled #=> Boolean
2563
+ # resp.domain_config.advanced_security_options.options.saml_options.idp.metadata_content #=> String
2564
+ # resp.domain_config.advanced_security_options.options.saml_options.idp.entity_id #=> String
2565
+ # resp.domain_config.advanced_security_options.options.saml_options.subject_key #=> String
2566
+ # resp.domain_config.advanced_security_options.options.saml_options.roles_key #=> String
2567
+ # resp.domain_config.advanced_security_options.options.saml_options.session_timeout_minutes #=> Integer
2415
2568
  # resp.domain_config.advanced_security_options.status.creation_date #=> Time
2416
2569
  # resp.domain_config.advanced_security_options.status.update_date #=> Time
2417
2570
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
@@ -2425,6 +2578,58 @@ module Aws::ElasticsearchService
2425
2578
  req.send_request(options)
2426
2579
  end
2427
2580
 
2581
+ # Updates a package for use with Amazon ES domains.
2582
+ #
2583
+ # @option params [required, String] :package_id
2584
+ # Unique identifier for the package.
2585
+ #
2586
+ # @option params [required, Types::PackageSource] :package_source
2587
+ # The S3 location for importing the package specified as `S3BucketName`
2588
+ # and `S3Key`
2589
+ #
2590
+ # @option params [String] :package_description
2591
+ # New description of the package.
2592
+ #
2593
+ # @option params [String] :commit_message
2594
+ # An info message for the new version which will be shown as part of
2595
+ # `GetPackageVersionHistoryResponse`.
2596
+ #
2597
+ # @return [Types::UpdatePackageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2598
+ #
2599
+ # * {Types::UpdatePackageResponse#package_details #package_details} => Types::PackageDetails
2600
+ #
2601
+ # @example Request syntax with placeholder values
2602
+ #
2603
+ # resp = client.update_package({
2604
+ # package_id: "PackageID", # required
2605
+ # package_source: { # required
2606
+ # s3_bucket_name: "S3BucketName",
2607
+ # s3_key: "S3Key",
2608
+ # },
2609
+ # package_description: "PackageDescription",
2610
+ # commit_message: "CommitMessage",
2611
+ # })
2612
+ #
2613
+ # @example Response structure
2614
+ #
2615
+ # resp.package_details.package_id #=> String
2616
+ # resp.package_details.package_name #=> String
2617
+ # resp.package_details.package_type #=> String, one of "TXT-DICTIONARY"
2618
+ # resp.package_details.package_description #=> String
2619
+ # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
2620
+ # resp.package_details.created_at #=> Time
2621
+ # resp.package_details.last_updated_at #=> Time
2622
+ # resp.package_details.available_package_version #=> String
2623
+ # resp.package_details.error_details.error_type #=> String
2624
+ # resp.package_details.error_details.error_message #=> String
2625
+ #
2626
+ # @overload update_package(params = {})
2627
+ # @param [Hash] params ({})
2628
+ def update_package(params = {}, options = {})
2629
+ req = build_request(:update_package, params)
2630
+ req.send_request(options)
2631
+ end
2632
+
2428
2633
  # Allows you to either upgrade your domain or perform an Upgrade
2429
2634
  # eligibility check to a compatible Elasticsearch version.
2430
2635
  #
@@ -2482,7 +2687,7 @@ module Aws::ElasticsearchService
2482
2687
  params: params,
2483
2688
  config: config)
2484
2689
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
2485
- context[:gem_version] = '1.42.0'
2690
+ context[:gem_version] = '1.47.0'
2486
2691
  Seahorse::Client::Request.new(handlers, context)
2487
2692
  end
2488
2693
 
@@ -28,6 +28,7 @@ module Aws::ElasticsearchService
28
28
  AdvancedSecurityOptionsStatus = Shapes::StructureShape.new(name: 'AdvancedSecurityOptionsStatus')
29
29
  AssociatePackageRequest = Shapes::StructureShape.new(name: 'AssociatePackageRequest')
30
30
  AssociatePackageResponse = Shapes::StructureShape.new(name: 'AssociatePackageResponse')
31
+ BackendRole = Shapes::StringShape.new(name: 'BackendRole')
31
32
  BaseException = Shapes::StructureShape.new(name: 'BaseException')
32
33
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
33
34
  CancelElasticsearchServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'CancelElasticsearchServiceSoftwareUpdateRequest')
@@ -35,6 +36,7 @@ module Aws::ElasticsearchService
35
36
  CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn')
36
37
  CognitoOptions = Shapes::StructureShape.new(name: 'CognitoOptions')
37
38
  CognitoOptionsStatus = Shapes::StructureShape.new(name: 'CognitoOptionsStatus')
39
+ CommitMessage = Shapes::StringShape.new(name: 'CommitMessage')
38
40
  CompatibleElasticsearchVersionsList = Shapes::ListShape.new(name: 'CompatibleElasticsearchVersionsList')
39
41
  CompatibleVersionsMap = Shapes::StructureShape.new(name: 'CompatibleVersionsMap')
40
42
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -91,6 +93,7 @@ module Aws::ElasticsearchService
91
93
  DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
92
94
  DomainInformation = Shapes::StructureShape.new(name: 'DomainInformation')
93
95
  DomainName = Shapes::StringShape.new(name: 'DomainName')
96
+ DomainNameFqdn = Shapes::StringShape.new(name: 'DomainNameFqdn')
94
97
  DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
95
98
  DomainPackageDetails = Shapes::StructureShape.new(name: 'DomainPackageDetails')
96
99
  DomainPackageDetailsList = Shapes::ListShape.new(name: 'DomainPackageDetailsList')
@@ -120,6 +123,8 @@ module Aws::ElasticsearchService
120
123
  GUID = Shapes::StringShape.new(name: 'GUID')
121
124
  GetCompatibleElasticsearchVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsRequest')
122
125
  GetCompatibleElasticsearchVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsResponse')
126
+ GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
127
+ GetPackageVersionHistoryResponse = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryResponse')
123
128
  GetUpgradeHistoryRequest = Shapes::StructureShape.new(name: 'GetUpgradeHistoryRequest')
124
129
  GetUpgradeHistoryResponse = Shapes::StructureShape.new(name: 'GetUpgradeHistoryResponse')
125
130
  GetUpgradeStatusRequest = Shapes::StructureShape.new(name: 'GetUpgradeStatusRequest')
@@ -186,6 +191,9 @@ module Aws::ElasticsearchService
186
191
  PackageSource = Shapes::StructureShape.new(name: 'PackageSource')
187
192
  PackageStatus = Shapes::StringShape.new(name: 'PackageStatus')
188
193
  PackageType = Shapes::StringShape.new(name: 'PackageType')
194
+ PackageVersion = Shapes::StringShape.new(name: 'PackageVersion')
195
+ PackageVersionHistory = Shapes::StructureShape.new(name: 'PackageVersionHistory')
196
+ PackageVersionHistoryList = Shapes::ListShape.new(name: 'PackageVersionHistoryList')
189
197
  Password = Shapes::StringShape.new(name: 'Password')
190
198
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
191
199
  PurchaseReservedElasticsearchInstanceOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseReservedElasticsearchInstanceOfferingRequest')
@@ -208,6 +216,11 @@ module Aws::ElasticsearchService
208
216
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
209
217
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
210
218
  S3Key = Shapes::StringShape.new(name: 'S3Key')
219
+ SAMLEntityId = Shapes::StringShape.new(name: 'SAMLEntityId')
220
+ SAMLIdp = Shapes::StructureShape.new(name: 'SAMLIdp')
221
+ SAMLMetadata = Shapes::StringShape.new(name: 'SAMLMetadata')
222
+ SAMLOptionsInput = Shapes::StructureShape.new(name: 'SAMLOptionsInput')
223
+ SAMLOptionsOutput = Shapes::StructureShape.new(name: 'SAMLOptionsOutput')
211
224
  ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
212
225
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
213
226
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
@@ -231,6 +244,8 @@ module Aws::ElasticsearchService
231
244
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
232
245
  UpdateElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigRequest')
233
246
  UpdateElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigResponse')
247
+ UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
248
+ UpdatePackageResponse = Shapes::StructureShape.new(name: 'UpdatePackageResponse')
234
249
  UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
235
250
  UpgradeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainRequest')
236
251
  UpgradeElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainResponse')
@@ -282,11 +297,13 @@ module Aws::ElasticsearchService
282
297
 
283
298
  AdvancedSecurityOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
284
299
  AdvancedSecurityOptions.add_member(:internal_user_database_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InternalUserDatabaseEnabled"))
300
+ AdvancedSecurityOptions.add_member(:saml_options, Shapes::ShapeRef.new(shape: SAMLOptionsOutput, location_name: "SAMLOptions"))
285
301
  AdvancedSecurityOptions.struct_class = Types::AdvancedSecurityOptions
286
302
 
287
303
  AdvancedSecurityOptionsInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
288
304
  AdvancedSecurityOptionsInput.add_member(:internal_user_database_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InternalUserDatabaseEnabled"))
289
305
  AdvancedSecurityOptionsInput.add_member(:master_user_options, Shapes::ShapeRef.new(shape: MasterUserOptions, location_name: "MasterUserOptions"))
306
+ AdvancedSecurityOptionsInput.add_member(:saml_options, Shapes::ShapeRef.new(shape: SAMLOptionsInput, location_name: "SAMLOptions"))
290
307
  AdvancedSecurityOptionsInput.struct_class = Types::AdvancedSecurityOptionsInput
291
308
 
292
309
  AdvancedSecurityOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptions, required: true, location_name: "Options"))
@@ -481,6 +498,9 @@ module Aws::ElasticsearchService
481
498
 
482
499
  DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
483
500
  DomainEndpointOptions.add_member(:tls_security_policy, Shapes::ShapeRef.new(shape: TLSSecurityPolicy, location_name: "TLSSecurityPolicy"))
501
+ DomainEndpointOptions.add_member(:custom_endpoint_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CustomEndpointEnabled"))
502
+ DomainEndpointOptions.add_member(:custom_endpoint, Shapes::ShapeRef.new(shape: DomainNameFqdn, location_name: "CustomEndpoint"))
503
+ DomainEndpointOptions.add_member(:custom_endpoint_certificate_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "CustomEndpointCertificateArn"))
484
504
  DomainEndpointOptions.struct_class = Types::DomainEndpointOptions
485
505
 
486
506
  DomainEndpointOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, required: true, location_name: "Options"))
@@ -505,6 +525,7 @@ module Aws::ElasticsearchService
505
525
  DomainPackageDetails.add_member(:last_updated, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdated"))
506
526
  DomainPackageDetails.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
507
527
  DomainPackageDetails.add_member(:domain_package_status, Shapes::ShapeRef.new(shape: DomainPackageStatus, location_name: "DomainPackageStatus"))
528
+ DomainPackageDetails.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "PackageVersion"))
508
529
  DomainPackageDetails.add_member(:reference_path, Shapes::ShapeRef.new(shape: ReferencePath, location_name: "ReferencePath"))
509
530
  DomainPackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
510
531
  DomainPackageDetails.struct_class = Types::DomainPackageDetails
@@ -614,6 +635,16 @@ module Aws::ElasticsearchService
614
635
  GetCompatibleElasticsearchVersionsResponse.add_member(:compatible_elasticsearch_versions, Shapes::ShapeRef.new(shape: CompatibleElasticsearchVersionsList, location_name: "CompatibleElasticsearchVersions"))
615
636
  GetCompatibleElasticsearchVersionsResponse.struct_class = Types::GetCompatibleElasticsearchVersionsResponse
616
637
 
638
+ GetPackageVersionHistoryRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
639
+ GetPackageVersionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
640
+ GetPackageVersionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
641
+ GetPackageVersionHistoryRequest.struct_class = Types::GetPackageVersionHistoryRequest
642
+
643
+ GetPackageVersionHistoryResponse.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, location_name: "PackageID"))
644
+ GetPackageVersionHistoryResponse.add_member(:package_version_history_list, Shapes::ShapeRef.new(shape: PackageVersionHistoryList, location_name: "PackageVersionHistoryList"))
645
+ GetPackageVersionHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
646
+ GetPackageVersionHistoryResponse.struct_class = Types::GetPackageVersionHistoryResponse
647
+
617
648
  GetUpgradeHistoryRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
618
649
  GetUpgradeHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
619
650
  GetUpgradeHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -764,6 +795,8 @@ module Aws::ElasticsearchService
764
795
  PackageDetails.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
765
796
  PackageDetails.add_member(:package_status, Shapes::ShapeRef.new(shape: PackageStatus, location_name: "PackageStatus"))
766
797
  PackageDetails.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
798
+ PackageDetails.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdatedAt"))
799
+ PackageDetails.add_member(:available_package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "AvailablePackageVersion"))
767
800
  PackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
768
801
  PackageDetails.struct_class = Types::PackageDetails
769
802
 
@@ -773,6 +806,13 @@ module Aws::ElasticsearchService
773
806
  PackageSource.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
774
807
  PackageSource.struct_class = Types::PackageSource
775
808
 
809
+ PackageVersionHistory.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "PackageVersion"))
810
+ PackageVersionHistory.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, location_name: "CommitMessage"))
811
+ PackageVersionHistory.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
812
+ PackageVersionHistory.struct_class = Types::PackageVersionHistory
813
+
814
+ PackageVersionHistoryList.member = Shapes::ShapeRef.new(shape: PackageVersionHistory)
815
+
776
816
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reserved_elasticsearch_instance_offering_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "ReservedElasticsearchInstanceOfferingId"))
777
817
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: ReservationToken, required: true, location_name: "ReservationName"))
778
818
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "InstanceCount"))
@@ -831,6 +871,26 @@ module Aws::ElasticsearchService
831
871
 
832
872
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
833
873
 
874
+ SAMLIdp.add_member(:metadata_content, Shapes::ShapeRef.new(shape: SAMLMetadata, required: true, location_name: "MetadataContent"))
875
+ SAMLIdp.add_member(:entity_id, Shapes::ShapeRef.new(shape: SAMLEntityId, required: true, location_name: "EntityId"))
876
+ SAMLIdp.struct_class = Types::SAMLIdp
877
+
878
+ SAMLOptionsInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
879
+ SAMLOptionsInput.add_member(:idp, Shapes::ShapeRef.new(shape: SAMLIdp, location_name: "Idp"))
880
+ SAMLOptionsInput.add_member(:master_user_name, Shapes::ShapeRef.new(shape: Username, location_name: "MasterUserName"))
881
+ SAMLOptionsInput.add_member(:master_backend_role, Shapes::ShapeRef.new(shape: BackendRole, location_name: "MasterBackendRole"))
882
+ SAMLOptionsInput.add_member(:subject_key, Shapes::ShapeRef.new(shape: String, location_name: "SubjectKey"))
883
+ SAMLOptionsInput.add_member(:roles_key, Shapes::ShapeRef.new(shape: String, location_name: "RolesKey"))
884
+ SAMLOptionsInput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
885
+ SAMLOptionsInput.struct_class = Types::SAMLOptionsInput
886
+
887
+ SAMLOptionsOutput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
888
+ SAMLOptionsOutput.add_member(:idp, Shapes::ShapeRef.new(shape: SAMLIdp, location_name: "Idp"))
889
+ SAMLOptionsOutput.add_member(:subject_key, Shapes::ShapeRef.new(shape: String, location_name: "SubjectKey"))
890
+ SAMLOptionsOutput.add_member(:roles_key, Shapes::ShapeRef.new(shape: String, location_name: "RolesKey"))
891
+ SAMLOptionsOutput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
892
+ SAMLOptionsOutput.struct_class = Types::SAMLOptionsOutput
893
+
834
894
  ServiceSoftwareOptions.add_member(:current_version, Shapes::ShapeRef.new(shape: String, location_name: "CurrentVersion"))
835
895
  ServiceSoftwareOptions.add_member(:new_version, Shapes::ShapeRef.new(shape: String, location_name: "NewVersion"))
836
896
  ServiceSoftwareOptions.add_member(:update_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpdateAvailable"))
@@ -886,11 +946,22 @@ module Aws::ElasticsearchService
886
946
  UpdateElasticsearchDomainConfigRequest.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
887
947
  UpdateElasticsearchDomainConfigRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
888
948
  UpdateElasticsearchDomainConfigRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
949
+ UpdateElasticsearchDomainConfigRequest.add_member(:node_to_node_encryption_options, Shapes::ShapeRef.new(shape: NodeToNodeEncryptionOptions, location_name: "NodeToNodeEncryptionOptions"))
950
+ UpdateElasticsearchDomainConfigRequest.add_member(:encryption_at_rest_options, Shapes::ShapeRef.new(shape: EncryptionAtRestOptions, location_name: "EncryptionAtRestOptions"))
889
951
  UpdateElasticsearchDomainConfigRequest.struct_class = Types::UpdateElasticsearchDomainConfigRequest
890
952
 
891
953
  UpdateElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
892
954
  UpdateElasticsearchDomainConfigResponse.struct_class = Types::UpdateElasticsearchDomainConfigResponse
893
955
 
956
+ UpdatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location_name: "PackageID"))
957
+ UpdatePackageRequest.add_member(:package_source, Shapes::ShapeRef.new(shape: PackageSource, required: true, location_name: "PackageSource"))
958
+ UpdatePackageRequest.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
959
+ UpdatePackageRequest.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, location_name: "CommitMessage"))
960
+ UpdatePackageRequest.struct_class = Types::UpdatePackageRequest
961
+
962
+ UpdatePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
963
+ UpdatePackageResponse.struct_class = Types::UpdatePackageResponse
964
+
894
965
  UpgradeElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
895
966
  UpgradeElasticsearchDomainRequest.add_member(:target_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location_name: "TargetVersion"))
896
967
  UpgradeElasticsearchDomainRequest.add_member(:perform_check_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformCheckOnly"))
@@ -1265,6 +1336,25 @@ module Aws::ElasticsearchService
1265
1336
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1266
1337
  end)
1267
1338
 
1339
+ api.add_operation(:get_package_version_history, Seahorse::Model::Operation.new.tap do |o|
1340
+ o.name = "GetPackageVersionHistory"
1341
+ o.http_method = "GET"
1342
+ o.http_request_uri = "/2015-01-01/packages/{PackageID}/history"
1343
+ o.input = Shapes::ShapeRef.new(shape: GetPackageVersionHistoryRequest)
1344
+ o.output = Shapes::ShapeRef.new(shape: GetPackageVersionHistoryResponse)
1345
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1346
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1347
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1348
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1350
+ o[:pager] = Aws::Pager.new(
1351
+ limit_key: "max_results",
1352
+ tokens: {
1353
+ "next_token" => "next_token"
1354
+ }
1355
+ )
1356
+ end)
1357
+
1268
1358
  api.add_operation(:get_upgrade_history, Seahorse::Model::Operation.new.tap do |o|
1269
1359
  o.name = "GetUpgradeHistory"
1270
1360
  o.http_method = "GET"
@@ -1454,6 +1544,20 @@ module Aws::ElasticsearchService
1454
1544
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1455
1545
  end)
1456
1546
 
1547
+ api.add_operation(:update_package, Seahorse::Model::Operation.new.tap do |o|
1548
+ o.name = "UpdatePackage"
1549
+ o.http_method = "POST"
1550
+ o.http_request_uri = "/2015-01-01/packages/update"
1551
+ o.input = Shapes::ShapeRef.new(shape: UpdatePackageRequest)
1552
+ o.output = Shapes::ShapeRef.new(shape: UpdatePackageResponse)
1553
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1554
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1555
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1556
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1557
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1558
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1559
+ end)
1560
+
1457
1561
  api.add_operation(:upgrade_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
1458
1562
  o.name = "UpgradeElasticsearchDomain"
1459
1563
  o.http_method = "POST"
@@ -173,9 +173,14 @@ module Aws::ElasticsearchService
173
173
  # True if the internal user database is enabled.
174
174
  # @return [Boolean]
175
175
  #
176
+ # @!attribute [rw] saml_options
177
+ # Describes the SAML application configured for a domain.
178
+ # @return [Types::SAMLOptionsOutput]
179
+ #
176
180
  class AdvancedSecurityOptions < Struct.new(
177
181
  :enabled,
178
- :internal_user_database_enabled)
182
+ :internal_user_database_enabled,
183
+ :saml_options)
179
184
  SENSITIVE = []
180
185
  include Aws::Structure
181
186
  end
@@ -196,6 +201,18 @@ module Aws::ElasticsearchService
196
201
  # master_user_name: "Username",
197
202
  # master_user_password: "Password",
198
203
  # },
204
+ # saml_options: {
205
+ # enabled: false,
206
+ # idp: {
207
+ # metadata_content: "SAMLMetadata", # required
208
+ # entity_id: "SAMLEntityId", # required
209
+ # },
210
+ # master_user_name: "Username",
211
+ # master_backend_role: "BackendRole",
212
+ # subject_key: "String",
213
+ # roles_key: "String",
214
+ # session_timeout_minutes: 1,
215
+ # },
199
216
  # }
200
217
  #
201
218
  # @!attribute [rw] enabled
@@ -211,10 +228,15 @@ module Aws::ElasticsearchService
211
228
  # both.
212
229
  # @return [Types::MasterUserOptions]
213
230
  #
231
+ # @!attribute [rw] saml_options
232
+ # Specifies the SAML application configuration for the domain.
233
+ # @return [Types::SAMLOptionsInput]
234
+ #
214
235
  class AdvancedSecurityOptionsInput < Struct.new(
215
236
  :enabled,
216
237
  :internal_user_database_enabled,
217
- :master_user_options)
238
+ :master_user_options,
239
+ :saml_options)
218
240
  SENSITIVE = []
219
241
  include Aws::Structure
220
242
  end
@@ -470,6 +492,9 @@ module Aws::ElasticsearchService
470
492
  # domain_endpoint_options: {
471
493
  # enforce_https: false,
472
494
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
495
+ # custom_endpoint_enabled: false,
496
+ # custom_endpoint: "DomainNameFqdn",
497
+ # custom_endpoint_certificate_arn: "ARN",
473
498
  # },
474
499
  # advanced_security_options: {
475
500
  # enabled: false,
@@ -479,6 +504,18 @@ module Aws::ElasticsearchService
479
504
  # master_user_name: "Username",
480
505
  # master_user_password: "Password",
481
506
  # },
507
+ # saml_options: {
508
+ # enabled: false,
509
+ # idp: {
510
+ # metadata_content: "SAMLMetadata", # required
511
+ # entity_id: "SAMLEntityId", # required
512
+ # },
513
+ # master_user_name: "Username",
514
+ # master_backend_role: "BackendRole",
515
+ # subject_key: "String",
516
+ # roles_key: "String",
517
+ # session_timeout_minutes: 1,
518
+ # },
482
519
  # },
483
520
  # }
484
521
  #
@@ -1403,6 +1440,9 @@ module Aws::ElasticsearchService
1403
1440
  # {
1404
1441
  # enforce_https: false,
1405
1442
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
1443
+ # custom_endpoint_enabled: false,
1444
+ # custom_endpoint: "DomainNameFqdn",
1445
+ # custom_endpoint_certificate_arn: "ARN",
1406
1446
  # }
1407
1447
  #
1408
1448
  # @!attribute [rw] enforce_https
@@ -1420,9 +1460,25 @@ module Aws::ElasticsearchService
1420
1460
  # supports only TLSv1.2
1421
1461
  # @return [String]
1422
1462
  #
1463
+ # @!attribute [rw] custom_endpoint_enabled
1464
+ # Specify if custom endpoint should be enabled for the Elasticsearch
1465
+ # domain.
1466
+ # @return [Boolean]
1467
+ #
1468
+ # @!attribute [rw] custom_endpoint
1469
+ # Specify the fully qualified domain for your custom endpoint.
1470
+ # @return [String]
1471
+ #
1472
+ # @!attribute [rw] custom_endpoint_certificate_arn
1473
+ # Specify ACM certificate ARN for your custom endpoint.
1474
+ # @return [String]
1475
+ #
1423
1476
  class DomainEndpointOptions < Struct.new(
1424
1477
  :enforce_https,
1425
- :tls_security_policy)
1478
+ :tls_security_policy,
1479
+ :custom_endpoint_enabled,
1480
+ :custom_endpoint,
1481
+ :custom_endpoint_certificate_arn)
1426
1482
  SENSITIVE = []
1427
1483
  include Aws::Structure
1428
1484
  end
@@ -1513,6 +1569,9 @@ module Aws::ElasticsearchService
1513
1569
  # ASSOCIATING/ASSOCIATION\_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION\_FAILED.
1514
1570
  # @return [String]
1515
1571
  #
1572
+ # @!attribute [rw] package_version
1573
+ # @return [String]
1574
+ #
1516
1575
  # @!attribute [rw] reference_path
1517
1576
  # The relative path on Amazon ES nodes, which can be used as
1518
1577
  # synonym\_path when the package is synonym file.
@@ -1530,6 +1589,7 @@ module Aws::ElasticsearchService
1530
1589
  :last_updated,
1531
1590
  :domain_name,
1532
1591
  :domain_package_status,
1592
+ :package_version,
1533
1593
  :reference_path,
1534
1594
  :error_details)
1535
1595
  SENSITIVE = []
@@ -2098,6 +2158,61 @@ module Aws::ElasticsearchService
2098
2158
  include Aws::Structure
2099
2159
  end
2100
2160
 
2161
+ # Container for request parameters to ` GetPackageVersionHistory `
2162
+ # operation.
2163
+ #
2164
+ # @note When making an API call, you may pass GetPackageVersionHistoryRequest
2165
+ # data as a hash:
2166
+ #
2167
+ # {
2168
+ # package_id: "PackageID", # required
2169
+ # max_results: 1,
2170
+ # next_token: "NextToken",
2171
+ # }
2172
+ #
2173
+ # @!attribute [rw] package_id
2174
+ # Returns an audit history of versions of the package.
2175
+ # @return [String]
2176
+ #
2177
+ # @!attribute [rw] max_results
2178
+ # Limits results to a maximum number of versions.
2179
+ # @return [Integer]
2180
+ #
2181
+ # @!attribute [rw] next_token
2182
+ # Used for pagination. Only necessary if a previous API call includes
2183
+ # a non-null NextToken value. If provided, returns results for the
2184
+ # next page.
2185
+ # @return [String]
2186
+ #
2187
+ class GetPackageVersionHistoryRequest < Struct.new(
2188
+ :package_id,
2189
+ :max_results,
2190
+ :next_token)
2191
+ SENSITIVE = []
2192
+ include Aws::Structure
2193
+ end
2194
+
2195
+ # Container for response returned by ` GetPackageVersionHistory `
2196
+ # operation.
2197
+ #
2198
+ # @!attribute [rw] package_id
2199
+ # @return [String]
2200
+ #
2201
+ # @!attribute [rw] package_version_history_list
2202
+ # List of `PackageVersionHistory` objects.
2203
+ # @return [Array<Types::PackageVersionHistory>]
2204
+ #
2205
+ # @!attribute [rw] next_token
2206
+ # @return [String]
2207
+ #
2208
+ class GetPackageVersionHistoryResponse < Struct.new(
2209
+ :package_id,
2210
+ :package_version_history_list,
2211
+ :next_token)
2212
+ SENSITIVE = []
2213
+ include Aws::Structure
2214
+ end
2215
+
2101
2216
  # Container for request parameters to ` GetUpgradeHistory ` operation.
2102
2217
  #
2103
2218
  # @note When making an API call, you may pass GetUpgradeHistoryRequest
@@ -2869,6 +2984,12 @@ module Aws::ElasticsearchService
2869
2984
  # Timestamp which tells creation date of the package.
2870
2985
  # @return [Time]
2871
2986
  #
2987
+ # @!attribute [rw] last_updated_at
2988
+ # @return [Time]
2989
+ #
2990
+ # @!attribute [rw] available_package_version
2991
+ # @return [String]
2992
+ #
2872
2993
  # @!attribute [rw] error_details
2873
2994
  # Additional information if the package is in an error state. Null
2874
2995
  # otherwise.
@@ -2881,6 +3002,8 @@ module Aws::ElasticsearchService
2881
3002
  :package_description,
2882
3003
  :package_status,
2883
3004
  :created_at,
3005
+ :last_updated_at,
3006
+ :available_package_version,
2884
3007
  :error_details)
2885
3008
  SENSITIVE = []
2886
3009
  include Aws::Structure
@@ -2912,6 +3035,28 @@ module Aws::ElasticsearchService
2912
3035
  include Aws::Structure
2913
3036
  end
2914
3037
 
3038
+ # Details of a package version.
3039
+ #
3040
+ # @!attribute [rw] package_version
3041
+ # Version of the package.
3042
+ # @return [String]
3043
+ #
3044
+ # @!attribute [rw] commit_message
3045
+ # A message associated with the version.
3046
+ # @return [String]
3047
+ #
3048
+ # @!attribute [rw] created_at
3049
+ # Timestamp which tells creation time of the package version.
3050
+ # @return [Time]
3051
+ #
3052
+ class PackageVersionHistory < Struct.new(
3053
+ :package_version,
3054
+ :commit_message,
3055
+ :created_at)
3056
+ SENSITIVE = []
3057
+ include Aws::Structure
3058
+ end
3059
+
2915
3060
  # Container for parameters to
2916
3061
  # `PurchaseReservedElasticsearchInstanceOffering`
2917
3062
  #
@@ -3184,6 +3329,125 @@ module Aws::ElasticsearchService
3184
3329
  #
3185
3330
  class ResourceNotFoundException < Aws::EmptyStructure; end
3186
3331
 
3332
+ # Specifies the SAML Identity Provider's information.
3333
+ #
3334
+ # @note When making an API call, you may pass SAMLIdp
3335
+ # data as a hash:
3336
+ #
3337
+ # {
3338
+ # metadata_content: "SAMLMetadata", # required
3339
+ # entity_id: "SAMLEntityId", # required
3340
+ # }
3341
+ #
3342
+ # @!attribute [rw] metadata_content
3343
+ # The Metadata of the SAML application in xml format.
3344
+ # @return [String]
3345
+ #
3346
+ # @!attribute [rw] entity_id
3347
+ # The unique Entity ID of the application in SAML Identity Provider.
3348
+ # @return [String]
3349
+ #
3350
+ class SAMLIdp < Struct.new(
3351
+ :metadata_content,
3352
+ :entity_id)
3353
+ SENSITIVE = []
3354
+ include Aws::Structure
3355
+ end
3356
+
3357
+ # Specifies the SAML application configuration for the domain.
3358
+ #
3359
+ # @note When making an API call, you may pass SAMLOptionsInput
3360
+ # data as a hash:
3361
+ #
3362
+ # {
3363
+ # enabled: false,
3364
+ # idp: {
3365
+ # metadata_content: "SAMLMetadata", # required
3366
+ # entity_id: "SAMLEntityId", # required
3367
+ # },
3368
+ # master_user_name: "Username",
3369
+ # master_backend_role: "BackendRole",
3370
+ # subject_key: "String",
3371
+ # roles_key: "String",
3372
+ # session_timeout_minutes: 1,
3373
+ # }
3374
+ #
3375
+ # @!attribute [rw] enabled
3376
+ # True if SAML is enabled.
3377
+ # @return [Boolean]
3378
+ #
3379
+ # @!attribute [rw] idp
3380
+ # Specifies the SAML Identity Provider's information.
3381
+ # @return [Types::SAMLIdp]
3382
+ #
3383
+ # @!attribute [rw] master_user_name
3384
+ # The SAML master username, which is stored in the Amazon
3385
+ # Elasticsearch Service domain's internal database.
3386
+ # @return [String]
3387
+ #
3388
+ # @!attribute [rw] master_backend_role
3389
+ # The backend role to which the SAML master user is mapped to.
3390
+ # @return [String]
3391
+ #
3392
+ # @!attribute [rw] subject_key
3393
+ # The key to use for matching the SAML Subject attribute.
3394
+ # @return [String]
3395
+ #
3396
+ # @!attribute [rw] roles_key
3397
+ # The key to use for matching the SAML Roles attribute.
3398
+ # @return [String]
3399
+ #
3400
+ # @!attribute [rw] session_timeout_minutes
3401
+ # The duration, in minutes, after which a user session becomes
3402
+ # inactive. Acceptable values are between 1 and 1440, and the default
3403
+ # value is 60.
3404
+ # @return [Integer]
3405
+ #
3406
+ class SAMLOptionsInput < Struct.new(
3407
+ :enabled,
3408
+ :idp,
3409
+ :master_user_name,
3410
+ :master_backend_role,
3411
+ :subject_key,
3412
+ :roles_key,
3413
+ :session_timeout_minutes)
3414
+ SENSITIVE = [:master_user_name]
3415
+ include Aws::Structure
3416
+ end
3417
+
3418
+ # Describes the SAML application configured for the domain.
3419
+ #
3420
+ # @!attribute [rw] enabled
3421
+ # True if SAML is enabled.
3422
+ # @return [Boolean]
3423
+ #
3424
+ # @!attribute [rw] idp
3425
+ # Describes the SAML Identity Provider's information.
3426
+ # @return [Types::SAMLIdp]
3427
+ #
3428
+ # @!attribute [rw] subject_key
3429
+ # The key used for matching the SAML Subject attribute.
3430
+ # @return [String]
3431
+ #
3432
+ # @!attribute [rw] roles_key
3433
+ # The key used for matching the SAML Roles attribute.
3434
+ # @return [String]
3435
+ #
3436
+ # @!attribute [rw] session_timeout_minutes
3437
+ # The duration, in minutes, after which a user session becomes
3438
+ # inactive.
3439
+ # @return [Integer]
3440
+ #
3441
+ class SAMLOptionsOutput < Struct.new(
3442
+ :enabled,
3443
+ :idp,
3444
+ :subject_key,
3445
+ :roles_key,
3446
+ :session_timeout_minutes)
3447
+ SENSITIVE = []
3448
+ include Aws::Structure
3449
+ end
3450
+
3187
3451
  # The current options of an Elasticsearch domain service software
3188
3452
  # options.
3189
3453
  #
@@ -3456,6 +3720,9 @@ module Aws::ElasticsearchService
3456
3720
  # domain_endpoint_options: {
3457
3721
  # enforce_https: false,
3458
3722
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
3723
+ # custom_endpoint_enabled: false,
3724
+ # custom_endpoint: "DomainNameFqdn",
3725
+ # custom_endpoint_certificate_arn: "ARN",
3459
3726
  # },
3460
3727
  # advanced_security_options: {
3461
3728
  # enabled: false,
@@ -3465,6 +3732,25 @@ module Aws::ElasticsearchService
3465
3732
  # master_user_name: "Username",
3466
3733
  # master_user_password: "Password",
3467
3734
  # },
3735
+ # saml_options: {
3736
+ # enabled: false,
3737
+ # idp: {
3738
+ # metadata_content: "SAMLMetadata", # required
3739
+ # entity_id: "SAMLEntityId", # required
3740
+ # },
3741
+ # master_user_name: "Username",
3742
+ # master_backend_role: "BackendRole",
3743
+ # subject_key: "String",
3744
+ # roles_key: "String",
3745
+ # session_timeout_minutes: 1,
3746
+ # },
3747
+ # },
3748
+ # node_to_node_encryption_options: {
3749
+ # enabled: false,
3750
+ # },
3751
+ # encryption_at_rest_options: {
3752
+ # enabled: false,
3753
+ # kms_key_id: "KmsKeyId",
3468
3754
  # },
3469
3755
  # }
3470
3756
  #
@@ -3535,6 +3821,14 @@ module Aws::ElasticsearchService
3535
3821
  # Specifies advanced security options.
3536
3822
  # @return [Types::AdvancedSecurityOptionsInput]
3537
3823
  #
3824
+ # @!attribute [rw] node_to_node_encryption_options
3825
+ # Specifies the NodeToNodeEncryptionOptions.
3826
+ # @return [Types::NodeToNodeEncryptionOptions]
3827
+ #
3828
+ # @!attribute [rw] encryption_at_rest_options
3829
+ # Specifies the Encryption At Rest Options.
3830
+ # @return [Types::EncryptionAtRestOptions]
3831
+ #
3538
3832
  class UpdateElasticsearchDomainConfigRequest < Struct.new(
3539
3833
  :domain_name,
3540
3834
  :elasticsearch_cluster_config,
@@ -3546,7 +3840,9 @@ module Aws::ElasticsearchService
3546
3840
  :access_policies,
3547
3841
  :log_publishing_options,
3548
3842
  :domain_endpoint_options,
3549
- :advanced_security_options)
3843
+ :advanced_security_options,
3844
+ :node_to_node_encryption_options,
3845
+ :encryption_at_rest_options)
3550
3846
  SENSITIVE = []
3551
3847
  include Aws::Structure
3552
3848
  end
@@ -3564,6 +3860,60 @@ module Aws::ElasticsearchService
3564
3860
  include Aws::Structure
3565
3861
  end
3566
3862
 
3863
+ # Container for request parameters to ` UpdatePackage ` operation.
3864
+ #
3865
+ # @note When making an API call, you may pass UpdatePackageRequest
3866
+ # data as a hash:
3867
+ #
3868
+ # {
3869
+ # package_id: "PackageID", # required
3870
+ # package_source: { # required
3871
+ # s3_bucket_name: "S3BucketName",
3872
+ # s3_key: "S3Key",
3873
+ # },
3874
+ # package_description: "PackageDescription",
3875
+ # commit_message: "CommitMessage",
3876
+ # }
3877
+ #
3878
+ # @!attribute [rw] package_id
3879
+ # Unique identifier for the package.
3880
+ # @return [String]
3881
+ #
3882
+ # @!attribute [rw] package_source
3883
+ # The S3 location for importing the package specified as
3884
+ # `S3BucketName` and `S3Key`
3885
+ # @return [Types::PackageSource]
3886
+ #
3887
+ # @!attribute [rw] package_description
3888
+ # New description of the package.
3889
+ # @return [String]
3890
+ #
3891
+ # @!attribute [rw] commit_message
3892
+ # An info message for the new version which will be shown as part of
3893
+ # `GetPackageVersionHistoryResponse`.
3894
+ # @return [String]
3895
+ #
3896
+ class UpdatePackageRequest < Struct.new(
3897
+ :package_id,
3898
+ :package_source,
3899
+ :package_description,
3900
+ :commit_message)
3901
+ SENSITIVE = []
3902
+ include Aws::Structure
3903
+ end
3904
+
3905
+ # Container for response returned by ` UpdatePackage ` operation.
3906
+ #
3907
+ # @!attribute [rw] package_details
3908
+ # Information about the package `PackageDetails`.
3909
+ # @return [Types::PackageDetails]
3910
+ #
3911
+ class UpdatePackageResponse < Struct.new(
3912
+ :package_details)
3913
+ SENSITIVE = []
3914
+ include Aws::Structure
3915
+ end
3916
+
3567
3917
  # Container for request parameters to ` UpgradeElasticsearchDomain `
3568
3918
  # operation.
3569
3919
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticsearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.42.0
4
+ version: 1.47.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: 2020-09-17 00:00:00.000000000 Z
11
+ date: 2021-01-27 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.99.0
22
+ version: 3.109.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.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement