aws-sdk-ec2 1.576.0 → 1.578.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +314 -1
- data/lib/aws-sdk-ec2/client_api.rb +100 -0
- data/lib/aws-sdk-ec2/types.rb +324 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +65 -0
- data/sig/types.rbs +67 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '06193ee04968dd10f5a35dcd4448bdba7c14778b2ba74077e580ccba4fba667e'
|
|
4
|
+
data.tar.gz: 89543f5b6ea85fa748a26f15bab27dfeedeefa37c3484d7c7ccd1f729da20ecb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e0f2d82d370eda796a6dfbc3bfe98c5d96029f6371e500a95a93d50e8238d7573da4d6d0368a5c69b51ece38960aa33cfc6fdd9aa79a439f439e3266e77a047a
|
|
7
|
+
data.tar.gz: a6f9fe3cc9b6f3b3435bd2da8718eb55855d65d6861266bc7a27075071311a1f30ad3e9b602db9f9ee931bb9384b6b9c0b9d1dfa4622ce40151926b0d05737d1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.578.0 (2025-11-17)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release introduces new APIs: DescribeInstanceSqlHaStates, DescribeInstanceSqlHaHistoryStates, EnableInstanceSqlHaStandbyDetections and DisableInstanceSqlHaStandbyDetections on Amazon EC2, allowing customers to enroll and monitor SQL Server licensing fee savings for their SQL HA EC2 instances.
|
|
8
|
+
|
|
9
|
+
1.577.0 (2025-11-14)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds AvailabilityZoneId support for CreateInstanceConnectEndpoint, DescribeInstanceConnectEndpoints, and DeleteInstanceConnectEndpoint APIs.
|
|
13
|
+
|
|
4
14
|
1.576.0 (2025-11-13)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.578.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -8606,6 +8606,7 @@ module Aws::EC2
|
|
|
8606
8606
|
# resp.instance_connect_endpoint.public_dns_names.ipv_4.fips_dns_name #=> String
|
|
8607
8607
|
# resp.instance_connect_endpoint.public_dns_names.dualstack.dns_name #=> String
|
|
8608
8608
|
# resp.instance_connect_endpoint.public_dns_names.dualstack.fips_dns_name #=> String
|
|
8609
|
+
# resp.instance_connect_endpoint.availability_zone_id #=> String
|
|
8609
8610
|
# resp.client_token #=> String
|
|
8610
8611
|
#
|
|
8611
8612
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceConnectEndpoint AWS API Documentation
|
|
@@ -19009,6 +19010,7 @@ module Aws::EC2
|
|
|
19009
19010
|
# resp.instance_connect_endpoint.public_dns_names.ipv_4.fips_dns_name #=> String
|
|
19010
19011
|
# resp.instance_connect_endpoint.public_dns_names.dualstack.dns_name #=> String
|
|
19011
19012
|
# resp.instance_connect_endpoint.public_dns_names.dualstack.fips_dns_name #=> String
|
|
19013
|
+
# resp.instance_connect_endpoint.availability_zone_id #=> String
|
|
19012
19014
|
#
|
|
19013
19015
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInstanceConnectEndpoint AWS API Documentation
|
|
19014
19016
|
#
|
|
@@ -29005,6 +29007,7 @@ module Aws::EC2
|
|
|
29005
29007
|
# resp.instance_connect_endpoints[0].public_dns_names.ipv_4.fips_dns_name #=> String
|
|
29006
29008
|
# resp.instance_connect_endpoints[0].public_dns_names.dualstack.dns_name #=> String
|
|
29007
29009
|
# resp.instance_connect_endpoints[0].public_dns_names.dualstack.fips_dns_name #=> String
|
|
29010
|
+
# resp.instance_connect_endpoints[0].availability_zone_id #=> String
|
|
29008
29011
|
# resp.next_token #=> String
|
|
29009
29012
|
#
|
|
29010
29013
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceConnectEndpoints AWS API Documentation
|
|
@@ -29441,6 +29444,194 @@ module Aws::EC2
|
|
|
29441
29444
|
req.send_request(options)
|
|
29442
29445
|
end
|
|
29443
29446
|
|
|
29447
|
+
# Describes the historical SQL Server High Availability states for
|
|
29448
|
+
# Amazon EC2 instances that are enabled for Amazon EC2 High Availability
|
|
29449
|
+
# for SQL Server monitoring.
|
|
29450
|
+
#
|
|
29451
|
+
# @option params [Array<String>] :instance_ids
|
|
29452
|
+
# The IDs of the SQL Server High Availability instances to describe. If
|
|
29453
|
+
# omitted, the API returns historical states for all SQL Server High
|
|
29454
|
+
# Availability instances.
|
|
29455
|
+
#
|
|
29456
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
|
29457
|
+
# The start data and time of the period for which to get the historical
|
|
29458
|
+
# SQL Server High Availability states. If omitted, the API returns all
|
|
29459
|
+
# available historical states.
|
|
29460
|
+
#
|
|
29461
|
+
# Timezone: UTC
|
|
29462
|
+
#
|
|
29463
|
+
# Format: `YYYY-MM-DDThh:mm:ss.sssZ`
|
|
29464
|
+
#
|
|
29465
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
|
29466
|
+
# The end data and time of the period for which to get historical SQL
|
|
29467
|
+
# Server High Availability states. If omitted, the API returns
|
|
29468
|
+
# historical states up to the current date and time.
|
|
29469
|
+
#
|
|
29470
|
+
# Timezone: UTC
|
|
29471
|
+
#
|
|
29472
|
+
# Format: `YYYY-MM-DDThh:mm:ss.sssZ`
|
|
29473
|
+
#
|
|
29474
|
+
# @option params [String] :next_token
|
|
29475
|
+
# The token to use to retrieve the next page of results.
|
|
29476
|
+
#
|
|
29477
|
+
# @option params [Integer] :max_results
|
|
29478
|
+
# The maximum number of results to return for the request in a single
|
|
29479
|
+
# page. The remaining results can be seen by sending another request
|
|
29480
|
+
# with the returned `nextToken` value.
|
|
29481
|
+
#
|
|
29482
|
+
# @option params [Array<Types::Filter>] :filters
|
|
29483
|
+
# One or more filters to apply to the results. Supported filters
|
|
29484
|
+
# include:
|
|
29485
|
+
#
|
|
29486
|
+
# * `tag:<key>` - The tag key and value pair assigned to the instance.
|
|
29487
|
+
# For example, to find all instances tagged with `Owner:TeamA`,
|
|
29488
|
+
# specify `tag:Owner` for the filter name and `TeamA` for the filter
|
|
29489
|
+
# value.
|
|
29490
|
+
#
|
|
29491
|
+
# * `tag-key` - The tag key assigned to the instance.
|
|
29492
|
+
#
|
|
29493
|
+
# * `haStatus` - The SQL Server High Availability status of the SQL
|
|
29494
|
+
# Server High Availability instance (`processing` \| `active` \|
|
|
29495
|
+
# `standby` \| `invalid`).
|
|
29496
|
+
#
|
|
29497
|
+
# * `sqlServerLicenseUsage` - The license type for the SQL Server
|
|
29498
|
+
# license (`full` \| `waived`).
|
|
29499
|
+
#
|
|
29500
|
+
# @option params [Boolean] :dry_run
|
|
29501
|
+
# Checks whether you have the required permissions for the action,
|
|
29502
|
+
# without actually making the request, and provides an error response.
|
|
29503
|
+
# If you have the required permissions, the error response is
|
|
29504
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
29505
|
+
#
|
|
29506
|
+
# @return [Types::DescribeInstanceSqlHaHistoryStatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
29507
|
+
#
|
|
29508
|
+
# * {Types::DescribeInstanceSqlHaHistoryStatesResult#instances #instances} => Array<Types::RegisteredInstance>
|
|
29509
|
+
# * {Types::DescribeInstanceSqlHaHistoryStatesResult#next_token #next_token} => String
|
|
29510
|
+
#
|
|
29511
|
+
# @example Request syntax with placeholder values
|
|
29512
|
+
#
|
|
29513
|
+
# resp = client.describe_instance_sql_ha_history_states({
|
|
29514
|
+
# instance_ids: ["InstanceId"],
|
|
29515
|
+
# start_time: Time.now,
|
|
29516
|
+
# end_time: Time.now,
|
|
29517
|
+
# next_token: "NextToken",
|
|
29518
|
+
# max_results: 1,
|
|
29519
|
+
# filters: [
|
|
29520
|
+
# {
|
|
29521
|
+
# name: "String",
|
|
29522
|
+
# values: ["String"],
|
|
29523
|
+
# },
|
|
29524
|
+
# ],
|
|
29525
|
+
# dry_run: false,
|
|
29526
|
+
# })
|
|
29527
|
+
#
|
|
29528
|
+
# @example Response structure
|
|
29529
|
+
#
|
|
29530
|
+
# resp.instances #=> Array
|
|
29531
|
+
# resp.instances[0].instance_id #=> String
|
|
29532
|
+
# resp.instances[0].sql_server_license_usage #=> String, one of "full", "waived"
|
|
29533
|
+
# resp.instances[0].ha_status #=> String, one of "processing", "active", "standby", "invalid"
|
|
29534
|
+
# resp.instances[0].processing_status #=> String
|
|
29535
|
+
# resp.instances[0].last_updated_time #=> Time
|
|
29536
|
+
# resp.instances[0].sql_server_credentials #=> String
|
|
29537
|
+
# resp.instances[0].tags #=> Array
|
|
29538
|
+
# resp.instances[0].tags[0].key #=> String
|
|
29539
|
+
# resp.instances[0].tags[0].value #=> String
|
|
29540
|
+
# resp.next_token #=> String
|
|
29541
|
+
#
|
|
29542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceSqlHaHistoryStates AWS API Documentation
|
|
29543
|
+
#
|
|
29544
|
+
# @overload describe_instance_sql_ha_history_states(params = {})
|
|
29545
|
+
# @param [Hash] params ({})
|
|
29546
|
+
def describe_instance_sql_ha_history_states(params = {}, options = {})
|
|
29547
|
+
req = build_request(:describe_instance_sql_ha_history_states, params)
|
|
29548
|
+
req.send_request(options)
|
|
29549
|
+
end
|
|
29550
|
+
|
|
29551
|
+
# Describes the SQL Server High Availability states for Amazon EC2
|
|
29552
|
+
# instances that are enabled for Amazon EC2 High Availability for SQL
|
|
29553
|
+
# Server monitoring.
|
|
29554
|
+
#
|
|
29555
|
+
# @option params [Array<String>] :instance_ids
|
|
29556
|
+
# The IDs of the SQL Server High Availability instances to describe. If
|
|
29557
|
+
# omitted, the API returns SQL Server High Availability states for all
|
|
29558
|
+
# SQL Server High Availability instances.
|
|
29559
|
+
#
|
|
29560
|
+
# @option params [String] :next_token
|
|
29561
|
+
# The token to use to retrieve the next page of results.
|
|
29562
|
+
#
|
|
29563
|
+
# @option params [Integer] :max_results
|
|
29564
|
+
# The maximum number of results to return for the request in a single
|
|
29565
|
+
# page. The remaining results can be seen by sending another request
|
|
29566
|
+
# with the returned `nextToken` value.
|
|
29567
|
+
#
|
|
29568
|
+
# @option params [Array<Types::Filter>] :filters
|
|
29569
|
+
# One or more filters to apply to the results. Supported filters
|
|
29570
|
+
# include:
|
|
29571
|
+
#
|
|
29572
|
+
# * `tag:<key>` - The tag key and value pair assigned to the instance.
|
|
29573
|
+
# For example, to find all instances tagged with `Owner:TeamA`,
|
|
29574
|
+
# specify `tag:Owner` for the filter name and `TeamA` for the filter
|
|
29575
|
+
# value.
|
|
29576
|
+
#
|
|
29577
|
+
# * `tag-key` - The tag key assigned to the instance.
|
|
29578
|
+
#
|
|
29579
|
+
# * `haStatus` - The SQL Server High Availability status of the SQL
|
|
29580
|
+
# Server High Availability instance (`processing` \| `active` \|
|
|
29581
|
+
# `standby` \| `invalid`).
|
|
29582
|
+
#
|
|
29583
|
+
# * `sqlServerLicenseUsage` - The license type for the SQL Server
|
|
29584
|
+
# license (`full` \| `waived`).
|
|
29585
|
+
#
|
|
29586
|
+
# @option params [Boolean] :dry_run
|
|
29587
|
+
# Checks whether you have the required permissions for the action,
|
|
29588
|
+
# without actually making the request, and provides an error response.
|
|
29589
|
+
# If you have the required permissions, the error response is
|
|
29590
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
29591
|
+
#
|
|
29592
|
+
# @return [Types::DescribeInstanceSqlHaStatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
29593
|
+
#
|
|
29594
|
+
# * {Types::DescribeInstanceSqlHaStatesResult#instances #instances} => Array<Types::RegisteredInstance>
|
|
29595
|
+
# * {Types::DescribeInstanceSqlHaStatesResult#next_token #next_token} => String
|
|
29596
|
+
#
|
|
29597
|
+
# @example Request syntax with placeholder values
|
|
29598
|
+
#
|
|
29599
|
+
# resp = client.describe_instance_sql_ha_states({
|
|
29600
|
+
# instance_ids: ["InstanceId"],
|
|
29601
|
+
# next_token: "NextToken",
|
|
29602
|
+
# max_results: 1,
|
|
29603
|
+
# filters: [
|
|
29604
|
+
# {
|
|
29605
|
+
# name: "String",
|
|
29606
|
+
# values: ["String"],
|
|
29607
|
+
# },
|
|
29608
|
+
# ],
|
|
29609
|
+
# dry_run: false,
|
|
29610
|
+
# })
|
|
29611
|
+
#
|
|
29612
|
+
# @example Response structure
|
|
29613
|
+
#
|
|
29614
|
+
# resp.instances #=> Array
|
|
29615
|
+
# resp.instances[0].instance_id #=> String
|
|
29616
|
+
# resp.instances[0].sql_server_license_usage #=> String, one of "full", "waived"
|
|
29617
|
+
# resp.instances[0].ha_status #=> String, one of "processing", "active", "standby", "invalid"
|
|
29618
|
+
# resp.instances[0].processing_status #=> String
|
|
29619
|
+
# resp.instances[0].last_updated_time #=> Time
|
|
29620
|
+
# resp.instances[0].sql_server_credentials #=> String
|
|
29621
|
+
# resp.instances[0].tags #=> Array
|
|
29622
|
+
# resp.instances[0].tags[0].key #=> String
|
|
29623
|
+
# resp.instances[0].tags[0].value #=> String
|
|
29624
|
+
# resp.next_token #=> String
|
|
29625
|
+
#
|
|
29626
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceSqlHaStates AWS API Documentation
|
|
29627
|
+
#
|
|
29628
|
+
# @overload describe_instance_sql_ha_states(params = {})
|
|
29629
|
+
# @param [Hash] params ({})
|
|
29630
|
+
def describe_instance_sql_ha_states(params = {}, options = {})
|
|
29631
|
+
req = build_request(:describe_instance_sql_ha_states, params)
|
|
29632
|
+
req.send_request(options)
|
|
29633
|
+
end
|
|
29634
|
+
|
|
29444
29635
|
# Describes the status of the specified instances or all of your
|
|
29445
29636
|
# instances. By default, only running instances are described, unless
|
|
29446
29637
|
# you specifically indicate to return the status of all instances.
|
|
@@ -45320,6 +45511,56 @@ module Aws::EC2
|
|
|
45320
45511
|
req.send_request(options)
|
|
45321
45512
|
end
|
|
45322
45513
|
|
|
45514
|
+
# Disable Amazon EC2 instances running in an SQL Server High
|
|
45515
|
+
# Availability cluster from SQL Server High Availability instance
|
|
45516
|
+
# standby detection monitoring. Once disabled, Amazon Web Services no
|
|
45517
|
+
# longer monitors the metadata for the instances to determine whether
|
|
45518
|
+
# they are active or standby nodes in the SQL Server High Availability
|
|
45519
|
+
# cluster.
|
|
45520
|
+
#
|
|
45521
|
+
# @option params [required, Array<String>] :instance_ids
|
|
45522
|
+
# The IDs of the instances to disable from SQL Server High Availability
|
|
45523
|
+
# standby detection monitoring.
|
|
45524
|
+
#
|
|
45525
|
+
# @option params [Boolean] :dry_run
|
|
45526
|
+
# Checks whether you have the required permissions for the action,
|
|
45527
|
+
# without actually making the request, and provides an error response.
|
|
45528
|
+
# If you have the required permissions, the error response is
|
|
45529
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
45530
|
+
#
|
|
45531
|
+
# @return [Types::DisableInstanceSqlHaStandbyDetectionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
45532
|
+
#
|
|
45533
|
+
# * {Types::DisableInstanceSqlHaStandbyDetectionsResult#instances #instances} => Array<Types::RegisteredInstance>
|
|
45534
|
+
#
|
|
45535
|
+
# @example Request syntax with placeholder values
|
|
45536
|
+
#
|
|
45537
|
+
# resp = client.disable_instance_sql_ha_standby_detections({
|
|
45538
|
+
# instance_ids: ["InstanceId"], # required
|
|
45539
|
+
# dry_run: false,
|
|
45540
|
+
# })
|
|
45541
|
+
#
|
|
45542
|
+
# @example Response structure
|
|
45543
|
+
#
|
|
45544
|
+
# resp.instances #=> Array
|
|
45545
|
+
# resp.instances[0].instance_id #=> String
|
|
45546
|
+
# resp.instances[0].sql_server_license_usage #=> String, one of "full", "waived"
|
|
45547
|
+
# resp.instances[0].ha_status #=> String, one of "processing", "active", "standby", "invalid"
|
|
45548
|
+
# resp.instances[0].processing_status #=> String
|
|
45549
|
+
# resp.instances[0].last_updated_time #=> Time
|
|
45550
|
+
# resp.instances[0].sql_server_credentials #=> String
|
|
45551
|
+
# resp.instances[0].tags #=> Array
|
|
45552
|
+
# resp.instances[0].tags[0].key #=> String
|
|
45553
|
+
# resp.instances[0].tags[0].value #=> String
|
|
45554
|
+
#
|
|
45555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableInstanceSqlHaStandbyDetections AWS API Documentation
|
|
45556
|
+
#
|
|
45557
|
+
# @overload disable_instance_sql_ha_standby_detections(params = {})
|
|
45558
|
+
# @param [Hash] params ({})
|
|
45559
|
+
def disable_instance_sql_ha_standby_detections(params = {}, options = {})
|
|
45560
|
+
req = build_request(:disable_instance_sql_ha_standby_detections, params)
|
|
45561
|
+
req.send_request(options)
|
|
45562
|
+
end
|
|
45563
|
+
|
|
45323
45564
|
# Disable the IPAM account. For more information, see [Enable
|
|
45324
45565
|
# integration with Organizations][1] in the *Amazon VPC IPAM User
|
|
45325
45566
|
# Guide*.
|
|
@@ -47276,6 +47517,78 @@ module Aws::EC2
|
|
|
47276
47517
|
req.send_request(options)
|
|
47277
47518
|
end
|
|
47278
47519
|
|
|
47520
|
+
# Enable Amazon EC2 instances running in an SQL Server High Availability
|
|
47521
|
+
# cluster for SQL Server High Availability instance standby detection
|
|
47522
|
+
# monitoring. Once enabled, Amazon Web Services monitors the metadata
|
|
47523
|
+
# for the instances to determine whether they are active or standby
|
|
47524
|
+
# nodes in the SQL Server High Availability cluster. If the instances
|
|
47525
|
+
# are determined to be standby failover nodes, Amazon Web Services
|
|
47526
|
+
# automatically applies SQL Server licensing fee waiver for those
|
|
47527
|
+
# instances.
|
|
47528
|
+
#
|
|
47529
|
+
# To register an instance, it must be running a Windows SQL Server
|
|
47530
|
+
# license-included AMI and have the Amazon Web Services Systems Manager
|
|
47531
|
+
# agent installed and running. Only Windows Server 2019 and later and
|
|
47532
|
+
# SQL Server (Standard and Enterprise editions) 2017 and later are
|
|
47533
|
+
# supported. For more information, see [ Prerequisites for using SQL
|
|
47534
|
+
# Server High Availability instance standby detection][1].
|
|
47535
|
+
#
|
|
47536
|
+
#
|
|
47537
|
+
#
|
|
47538
|
+
# [1]: https://docs.aws.amazon.com/sql-server-ec2/latest/userguide/prerequisites-and-requirements.html
|
|
47539
|
+
#
|
|
47540
|
+
# @option params [required, Array<String>] :instance_ids
|
|
47541
|
+
# The IDs of the instances to enable for SQL Server High Availability
|
|
47542
|
+
# standby detection monitoring.
|
|
47543
|
+
#
|
|
47544
|
+
# @option params [String] :sql_server_credentials
|
|
47545
|
+
# The ARN of the Secrets Manager secret containing the SQL Server access
|
|
47546
|
+
# credentials. The specified secret must contain valid SQL Server
|
|
47547
|
+
# credentials for the specified instances. If not specified, deafult
|
|
47548
|
+
# local user credentials will be used by the Amazon Web Services Systems
|
|
47549
|
+
# Manager agent. To enable instances with different credentials, you
|
|
47550
|
+
# must make separate requests.
|
|
47551
|
+
#
|
|
47552
|
+
# @option params [Boolean] :dry_run
|
|
47553
|
+
# Checks whether you have the required permissions for the action,
|
|
47554
|
+
# without actually making the request, and provides an error response.
|
|
47555
|
+
# If you have the required permissions, the error response is
|
|
47556
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
47557
|
+
#
|
|
47558
|
+
# @return [Types::EnableInstanceSqlHaStandbyDetectionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
47559
|
+
#
|
|
47560
|
+
# * {Types::EnableInstanceSqlHaStandbyDetectionsResult#instances #instances} => Array<Types::RegisteredInstance>
|
|
47561
|
+
#
|
|
47562
|
+
# @example Request syntax with placeholder values
|
|
47563
|
+
#
|
|
47564
|
+
# resp = client.enable_instance_sql_ha_standby_detections({
|
|
47565
|
+
# instance_ids: ["InstanceId"], # required
|
|
47566
|
+
# sql_server_credentials: "SecretArn",
|
|
47567
|
+
# dry_run: false,
|
|
47568
|
+
# })
|
|
47569
|
+
#
|
|
47570
|
+
# @example Response structure
|
|
47571
|
+
#
|
|
47572
|
+
# resp.instances #=> Array
|
|
47573
|
+
# resp.instances[0].instance_id #=> String
|
|
47574
|
+
# resp.instances[0].sql_server_license_usage #=> String, one of "full", "waived"
|
|
47575
|
+
# resp.instances[0].ha_status #=> String, one of "processing", "active", "standby", "invalid"
|
|
47576
|
+
# resp.instances[0].processing_status #=> String
|
|
47577
|
+
# resp.instances[0].last_updated_time #=> Time
|
|
47578
|
+
# resp.instances[0].sql_server_credentials #=> String
|
|
47579
|
+
# resp.instances[0].tags #=> Array
|
|
47580
|
+
# resp.instances[0].tags[0].key #=> String
|
|
47581
|
+
# resp.instances[0].tags[0].value #=> String
|
|
47582
|
+
#
|
|
47583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableInstanceSqlHaStandbyDetections AWS API Documentation
|
|
47584
|
+
#
|
|
47585
|
+
# @overload enable_instance_sql_ha_standby_detections(params = {})
|
|
47586
|
+
# @param [Hash] params ({})
|
|
47587
|
+
def enable_instance_sql_ha_standby_detections(params = {}, options = {})
|
|
47588
|
+
req = build_request(:enable_instance_sql_ha_standby_detections, params)
|
|
47589
|
+
req.send_request(options)
|
|
47590
|
+
end
|
|
47591
|
+
|
|
47279
47592
|
# Enable an Organizations member account as the IPAM admin account. You
|
|
47280
47593
|
# cannot select the Organizations management account as the IPAM admin
|
|
47281
47594
|
# account. For more information, see [Enable integration with
|
|
@@ -69211,7 +69524,7 @@ module Aws::EC2
|
|
|
69211
69524
|
tracer: tracer
|
|
69212
69525
|
)
|
|
69213
69526
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
69214
|
-
context[:gem_version] = '1.
|
|
69527
|
+
context[:gem_version] = '1.578.0'
|
|
69215
69528
|
Seahorse::Client::Request.new(handlers, context)
|
|
69216
69529
|
end
|
|
69217
69530
|
|
|
@@ -1069,6 +1069,11 @@ module Aws::EC2
|
|
|
1069
1069
|
DescribeInstanceImageMetadataMaxResults = Shapes::IntegerShape.new(name: 'DescribeInstanceImageMetadataMaxResults')
|
|
1070
1070
|
DescribeInstanceImageMetadataRequest = Shapes::StructureShape.new(name: 'DescribeInstanceImageMetadataRequest')
|
|
1071
1071
|
DescribeInstanceImageMetadataResult = Shapes::StructureShape.new(name: 'DescribeInstanceImageMetadataResult')
|
|
1072
|
+
DescribeInstanceSqlHaHistoryStatesRequest = Shapes::StructureShape.new(name: 'DescribeInstanceSqlHaHistoryStatesRequest')
|
|
1073
|
+
DescribeInstanceSqlHaHistoryStatesResult = Shapes::StructureShape.new(name: 'DescribeInstanceSqlHaHistoryStatesResult')
|
|
1074
|
+
DescribeInstanceSqlHaStatesRequest = Shapes::StructureShape.new(name: 'DescribeInstanceSqlHaStatesRequest')
|
|
1075
|
+
DescribeInstanceSqlHaStatesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'DescribeInstanceSqlHaStatesRequestMaxResultsInteger')
|
|
1076
|
+
DescribeInstanceSqlHaStatesResult = Shapes::StructureShape.new(name: 'DescribeInstanceSqlHaStatesResult')
|
|
1072
1077
|
DescribeInstanceStatusRequest = Shapes::StructureShape.new(name: 'DescribeInstanceStatusRequest')
|
|
1073
1078
|
DescribeInstanceStatusResult = Shapes::StructureShape.new(name: 'DescribeInstanceStatusResult')
|
|
1074
1079
|
DescribeInstanceTopologyGroupNameSet = Shapes::ListShape.new(name: 'DescribeInstanceTopologyGroupNameSet')
|
|
@@ -1390,6 +1395,8 @@ module Aws::EC2
|
|
|
1390
1395
|
DisableImageDeregistrationProtectionResult = Shapes::StructureShape.new(name: 'DisableImageDeregistrationProtectionResult')
|
|
1391
1396
|
DisableImageRequest = Shapes::StructureShape.new(name: 'DisableImageRequest')
|
|
1392
1397
|
DisableImageResult = Shapes::StructureShape.new(name: 'DisableImageResult')
|
|
1398
|
+
DisableInstanceSqlHaStandbyDetectionsRequest = Shapes::StructureShape.new(name: 'DisableInstanceSqlHaStandbyDetectionsRequest')
|
|
1399
|
+
DisableInstanceSqlHaStandbyDetectionsResult = Shapes::StructureShape.new(name: 'DisableInstanceSqlHaStandbyDetectionsResult')
|
|
1393
1400
|
DisableIpamOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'DisableIpamOrganizationAdminAccountRequest')
|
|
1394
1401
|
DisableIpamOrganizationAdminAccountResult = Shapes::StructureShape.new(name: 'DisableIpamOrganizationAdminAccountResult')
|
|
1395
1402
|
DisableRouteServerPropagationRequest = Shapes::StructureShape.new(name: 'DisableRouteServerPropagationRequest')
|
|
@@ -1544,6 +1551,8 @@ module Aws::EC2
|
|
|
1544
1551
|
EnableImageDeregistrationProtectionResult = Shapes::StructureShape.new(name: 'EnableImageDeregistrationProtectionResult')
|
|
1545
1552
|
EnableImageRequest = Shapes::StructureShape.new(name: 'EnableImageRequest')
|
|
1546
1553
|
EnableImageResult = Shapes::StructureShape.new(name: 'EnableImageResult')
|
|
1554
|
+
EnableInstanceSqlHaStandbyDetectionsRequest = Shapes::StructureShape.new(name: 'EnableInstanceSqlHaStandbyDetectionsRequest')
|
|
1555
|
+
EnableInstanceSqlHaStandbyDetectionsResult = Shapes::StructureShape.new(name: 'EnableInstanceSqlHaStandbyDetectionsResult')
|
|
1547
1556
|
EnableIpamOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'EnableIpamOrganizationAdminAccountRequest')
|
|
1548
1557
|
EnableIpamOrganizationAdminAccountResult = Shapes::StructureShape.new(name: 'EnableIpamOrganizationAdminAccountResult')
|
|
1549
1558
|
EnableReachabilityAnalyzerOrganizationSharingRequest = Shapes::StructureShape.new(name: 'EnableReachabilityAnalyzerOrganizationSharingRequest')
|
|
@@ -1837,6 +1846,7 @@ module Aws::EC2
|
|
|
1837
1846
|
GroupIdentifierSet = Shapes::ListShape.new(name: 'GroupIdentifierSet')
|
|
1838
1847
|
GroupIds = Shapes::ListShape.new(name: 'GroupIds')
|
|
1839
1848
|
GroupNameStringList = Shapes::ListShape.new(name: 'GroupNameStringList')
|
|
1849
|
+
HaStatus = Shapes::StringShape.new(name: 'HaStatus')
|
|
1840
1850
|
HibernationFlag = Shapes::BooleanShape.new(name: 'HibernationFlag')
|
|
1841
1851
|
HibernationOptions = Shapes::StructureShape.new(name: 'HibernationOptions')
|
|
1842
1852
|
HibernationOptionsRequest = Shapes::StructureShape.new(name: 'HibernationOptionsRequest')
|
|
@@ -2023,6 +2033,7 @@ module Aws::EC2
|
|
|
2023
2033
|
InstanceIdList = Shapes::ListShape.new(name: 'InstanceIdList')
|
|
2024
2034
|
InstanceIdSet = Shapes::ListShape.new(name: 'InstanceIdSet')
|
|
2025
2035
|
InstanceIdStringList = Shapes::ListShape.new(name: 'InstanceIdStringList')
|
|
2036
|
+
InstanceIdUpdateStringList = Shapes::ListShape.new(name: 'InstanceIdUpdateStringList')
|
|
2026
2037
|
InstanceIdWithVolumeResolver = Shapes::StringShape.new(name: 'InstanceIdWithVolumeResolver')
|
|
2027
2038
|
InstanceIdsSet = Shapes::ListShape.new(name: 'InstanceIdsSet')
|
|
2028
2039
|
InstanceImageMetadata = Shapes::StructureShape.new(name: 'InstanceImageMetadata')
|
|
@@ -2939,6 +2950,8 @@ module Aws::EC2
|
|
|
2939
2950
|
RegisterTransitGatewayMulticastGroupMembersResult = Shapes::StructureShape.new(name: 'RegisterTransitGatewayMulticastGroupMembersResult')
|
|
2940
2951
|
RegisterTransitGatewayMulticastGroupSourcesRequest = Shapes::StructureShape.new(name: 'RegisterTransitGatewayMulticastGroupSourcesRequest')
|
|
2941
2952
|
RegisterTransitGatewayMulticastGroupSourcesResult = Shapes::StructureShape.new(name: 'RegisterTransitGatewayMulticastGroupSourcesResult')
|
|
2953
|
+
RegisteredInstance = Shapes::StructureShape.new(name: 'RegisteredInstance')
|
|
2954
|
+
RegisteredInstanceList = Shapes::ListShape.new(name: 'RegisteredInstanceList')
|
|
2942
2955
|
RejectCapacityReservationBillingOwnershipRequest = Shapes::StructureShape.new(name: 'RejectCapacityReservationBillingOwnershipRequest')
|
|
2943
2956
|
RejectCapacityReservationBillingOwnershipResult = Shapes::StructureShape.new(name: 'RejectCapacityReservationBillingOwnershipResult')
|
|
2944
2957
|
RejectTransitGatewayMulticastDomainAssociationsRequest = Shapes::StructureShape.new(name: 'RejectTransitGatewayMulticastDomainAssociationsRequest')
|
|
@@ -3187,6 +3200,7 @@ module Aws::EC2
|
|
|
3187
3200
|
SearchTransitGatewayMulticastGroupsResult = Shapes::StructureShape.new(name: 'SearchTransitGatewayMulticastGroupsResult')
|
|
3188
3201
|
SearchTransitGatewayRoutesRequest = Shapes::StructureShape.new(name: 'SearchTransitGatewayRoutesRequest')
|
|
3189
3202
|
SearchTransitGatewayRoutesResult = Shapes::StructureShape.new(name: 'SearchTransitGatewayRoutesResult')
|
|
3203
|
+
SecretArn = Shapes::StringShape.new(name: 'SecretArn')
|
|
3190
3204
|
SecurityGroup = Shapes::StructureShape.new(name: 'SecurityGroup')
|
|
3191
3205
|
SecurityGroupForVpc = Shapes::StructureShape.new(name: 'SecurityGroupForVpc')
|
|
3192
3206
|
SecurityGroupForVpcList = Shapes::ListShape.new(name: 'SecurityGroupForVpcList')
|
|
@@ -3292,6 +3306,7 @@ module Aws::EC2
|
|
|
3292
3306
|
SpotPrice = Shapes::StructureShape.new(name: 'SpotPrice')
|
|
3293
3307
|
SpotPriceHistoryList = Shapes::ListShape.new(name: 'SpotPriceHistoryList')
|
|
3294
3308
|
SpreadLevel = Shapes::StringShape.new(name: 'SpreadLevel')
|
|
3309
|
+
SqlServerLicenseUsage = Shapes::StringShape.new(name: 'SqlServerLicenseUsage')
|
|
3295
3310
|
StaleIpPermission = Shapes::StructureShape.new(name: 'StaleIpPermission')
|
|
3296
3311
|
StaleIpPermissionSet = Shapes::ListShape.new(name: 'StaleIpPermissionSet')
|
|
3297
3312
|
StaleSecurityGroup = Shapes::StructureShape.new(name: 'StaleSecurityGroup')
|
|
@@ -8091,6 +8106,30 @@ module Aws::EC2
|
|
|
8091
8106
|
DescribeInstanceImageMetadataResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
8092
8107
|
DescribeInstanceImageMetadataResult.struct_class = Types::DescribeInstanceImageMetadataResult
|
|
8093
8108
|
|
|
8109
|
+
DescribeInstanceSqlHaHistoryStatesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, location_name: "InstanceId"))
|
|
8110
|
+
DescribeInstanceSqlHaHistoryStatesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "StartTime"))
|
|
8111
|
+
DescribeInstanceSqlHaHistoryStatesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "EndTime"))
|
|
8112
|
+
DescribeInstanceSqlHaHistoryStatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
8113
|
+
DescribeInstanceSqlHaHistoryStatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeInstanceSqlHaStatesRequestMaxResultsInteger, location_name: "MaxResults"))
|
|
8114
|
+
DescribeInstanceSqlHaHistoryStatesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
|
8115
|
+
DescribeInstanceSqlHaHistoryStatesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
8116
|
+
DescribeInstanceSqlHaHistoryStatesRequest.struct_class = Types::DescribeInstanceSqlHaHistoryStatesRequest
|
|
8117
|
+
|
|
8118
|
+
DescribeInstanceSqlHaHistoryStatesResult.add_member(:instances, Shapes::ShapeRef.new(shape: RegisteredInstanceList, location_name: "instanceSet"))
|
|
8119
|
+
DescribeInstanceSqlHaHistoryStatesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
8120
|
+
DescribeInstanceSqlHaHistoryStatesResult.struct_class = Types::DescribeInstanceSqlHaHistoryStatesResult
|
|
8121
|
+
|
|
8122
|
+
DescribeInstanceSqlHaStatesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, location_name: "InstanceId"))
|
|
8123
|
+
DescribeInstanceSqlHaStatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
8124
|
+
DescribeInstanceSqlHaStatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeInstanceSqlHaStatesRequestMaxResultsInteger, location_name: "MaxResults"))
|
|
8125
|
+
DescribeInstanceSqlHaStatesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
|
8126
|
+
DescribeInstanceSqlHaStatesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
8127
|
+
DescribeInstanceSqlHaStatesRequest.struct_class = Types::DescribeInstanceSqlHaStatesRequest
|
|
8128
|
+
|
|
8129
|
+
DescribeInstanceSqlHaStatesResult.add_member(:instances, Shapes::ShapeRef.new(shape: RegisteredInstanceList, location_name: "instanceSet"))
|
|
8130
|
+
DescribeInstanceSqlHaStatesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
8131
|
+
DescribeInstanceSqlHaStatesResult.struct_class = Types::DescribeInstanceSqlHaStatesResult
|
|
8132
|
+
|
|
8094
8133
|
DescribeInstanceStatusRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, location_name: "InstanceId"))
|
|
8095
8134
|
DescribeInstanceStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
|
|
8096
8135
|
DescribeInstanceStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
@@ -9557,6 +9596,13 @@ module Aws::EC2
|
|
|
9557
9596
|
DisableImageResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
|
9558
9597
|
DisableImageResult.struct_class = Types::DisableImageResult
|
|
9559
9598
|
|
|
9599
|
+
DisableInstanceSqlHaStandbyDetectionsRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdUpdateStringList, required: true, location_name: "InstanceId"))
|
|
9600
|
+
DisableInstanceSqlHaStandbyDetectionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
9601
|
+
DisableInstanceSqlHaStandbyDetectionsRequest.struct_class = Types::DisableInstanceSqlHaStandbyDetectionsRequest
|
|
9602
|
+
|
|
9603
|
+
DisableInstanceSqlHaStandbyDetectionsResult.add_member(:instances, Shapes::ShapeRef.new(shape: RegisteredInstanceList, location_name: "instanceSet"))
|
|
9604
|
+
DisableInstanceSqlHaStandbyDetectionsResult.struct_class = Types::DisableInstanceSqlHaStandbyDetectionsResult
|
|
9605
|
+
|
|
9560
9606
|
DisableIpamOrganizationAdminAccountRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
9561
9607
|
DisableIpamOrganizationAdminAccountRequest.add_member(:delegated_admin_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DelegatedAdminAccountId"))
|
|
9562
9608
|
DisableIpamOrganizationAdminAccountRequest.struct_class = Types::DisableIpamOrganizationAdminAccountRequest
|
|
@@ -9881,6 +9927,7 @@ module Aws::EC2
|
|
|
9881
9927
|
Ec2InstanceConnectEndpoint.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
|
9882
9928
|
Ec2InstanceConnectEndpoint.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
|
9883
9929
|
Ec2InstanceConnectEndpoint.add_member(:public_dns_names, Shapes::ShapeRef.new(shape: InstanceConnectEndpointPublicDnsNames, location_name: "publicDnsNames"))
|
|
9930
|
+
Ec2InstanceConnectEndpoint.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "availabilityZoneId"))
|
|
9884
9931
|
Ec2InstanceConnectEndpoint.struct_class = Types::Ec2InstanceConnectEndpoint
|
|
9885
9932
|
|
|
9886
9933
|
EfaInfo.add_member(:maximum_efa_interfaces, Shapes::ShapeRef.new(shape: MaximumEfaInterfaces, location_name: "maximumEfaInterfaces"))
|
|
@@ -10093,6 +10140,14 @@ module Aws::EC2
|
|
|
10093
10140
|
EnableImageResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
|
10094
10141
|
EnableImageResult.struct_class = Types::EnableImageResult
|
|
10095
10142
|
|
|
10143
|
+
EnableInstanceSqlHaStandbyDetectionsRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdUpdateStringList, required: true, location_name: "InstanceId"))
|
|
10144
|
+
EnableInstanceSqlHaStandbyDetectionsRequest.add_member(:sql_server_credentials, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SqlServerCredentials"))
|
|
10145
|
+
EnableInstanceSqlHaStandbyDetectionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
10146
|
+
EnableInstanceSqlHaStandbyDetectionsRequest.struct_class = Types::EnableInstanceSqlHaStandbyDetectionsRequest
|
|
10147
|
+
|
|
10148
|
+
EnableInstanceSqlHaStandbyDetectionsResult.add_member(:instances, Shapes::ShapeRef.new(shape: RegisteredInstanceList, location_name: "instanceSet"))
|
|
10149
|
+
EnableInstanceSqlHaStandbyDetectionsResult.struct_class = Types::EnableInstanceSqlHaStandbyDetectionsResult
|
|
10150
|
+
|
|
10096
10151
|
EnableIpamOrganizationAdminAccountRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
10097
10152
|
EnableIpamOrganizationAdminAccountRequest.add_member(:delegated_admin_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DelegatedAdminAccountId"))
|
|
10098
10153
|
EnableIpamOrganizationAdminAccountRequest.struct_class = Types::EnableIpamOrganizationAdminAccountRequest
|
|
@@ -12008,6 +12063,8 @@ module Aws::EC2
|
|
|
12008
12063
|
|
|
12009
12064
|
InstanceIdStringList.member = Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId")
|
|
12010
12065
|
|
|
12066
|
+
InstanceIdUpdateStringList.member = Shapes::ShapeRef.new(shape: InstanceId, location_name: "item")
|
|
12067
|
+
|
|
12011
12068
|
InstanceIdsSet.member = Shapes::ShapeRef.new(shape: InstanceId, location_name: "item")
|
|
12012
12069
|
|
|
12013
12070
|
InstanceImageMetadata.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "instanceId"))
|
|
@@ -15390,6 +15447,17 @@ module Aws::EC2
|
|
|
15390
15447
|
RegisterTransitGatewayMulticastGroupSourcesResult.add_member(:registered_multicast_group_sources, Shapes::ShapeRef.new(shape: TransitGatewayMulticastRegisteredGroupSources, location_name: "registeredMulticastGroupSources"))
|
|
15391
15448
|
RegisterTransitGatewayMulticastGroupSourcesResult.struct_class = Types::RegisterTransitGatewayMulticastGroupSourcesResult
|
|
15392
15449
|
|
|
15450
|
+
RegisteredInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "instanceId"))
|
|
15451
|
+
RegisteredInstance.add_member(:sql_server_license_usage, Shapes::ShapeRef.new(shape: SqlServerLicenseUsage, location_name: "sqlServerLicenseUsage"))
|
|
15452
|
+
RegisteredInstance.add_member(:ha_status, Shapes::ShapeRef.new(shape: HaStatus, location_name: "haStatus"))
|
|
15453
|
+
RegisteredInstance.add_member(:processing_status, Shapes::ShapeRef.new(shape: String, location_name: "processingStatus"))
|
|
15454
|
+
RegisteredInstance.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lastUpdatedTime"))
|
|
15455
|
+
RegisteredInstance.add_member(:sql_server_credentials, Shapes::ShapeRef.new(shape: String, location_name: "sqlServerCredentials"))
|
|
15456
|
+
RegisteredInstance.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
|
15457
|
+
RegisteredInstance.struct_class = Types::RegisteredInstance
|
|
15458
|
+
|
|
15459
|
+
RegisteredInstanceList.member = Shapes::ShapeRef.new(shape: RegisteredInstance, location_name: "item")
|
|
15460
|
+
|
|
15393
15461
|
RejectCapacityReservationBillingOwnershipRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
15394
15462
|
RejectCapacityReservationBillingOwnershipRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "CapacityReservationId"))
|
|
15395
15463
|
RejectCapacityReservationBillingOwnershipRequest.struct_class = Types::RejectCapacityReservationBillingOwnershipRequest
|
|
@@ -21257,6 +21325,22 @@ module Aws::EC2
|
|
|
21257
21325
|
)
|
|
21258
21326
|
end)
|
|
21259
21327
|
|
|
21328
|
+
api.add_operation(:describe_instance_sql_ha_history_states, Seahorse::Model::Operation.new.tap do |o|
|
|
21329
|
+
o.name = "DescribeInstanceSqlHaHistoryStates"
|
|
21330
|
+
o.http_method = "POST"
|
|
21331
|
+
o.http_request_uri = "/"
|
|
21332
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeInstanceSqlHaHistoryStatesRequest)
|
|
21333
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeInstanceSqlHaHistoryStatesResult)
|
|
21334
|
+
end)
|
|
21335
|
+
|
|
21336
|
+
api.add_operation(:describe_instance_sql_ha_states, Seahorse::Model::Operation.new.tap do |o|
|
|
21337
|
+
o.name = "DescribeInstanceSqlHaStates"
|
|
21338
|
+
o.http_method = "POST"
|
|
21339
|
+
o.http_request_uri = "/"
|
|
21340
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeInstanceSqlHaStatesRequest)
|
|
21341
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeInstanceSqlHaStatesResult)
|
|
21342
|
+
end)
|
|
21343
|
+
|
|
21260
21344
|
api.add_operation(:describe_instance_status, Seahorse::Model::Operation.new.tap do |o|
|
|
21261
21345
|
o.name = "DescribeInstanceStatus"
|
|
21262
21346
|
o.http_method = "POST"
|
|
@@ -22832,6 +22916,14 @@ module Aws::EC2
|
|
|
22832
22916
|
o.output = Shapes::ShapeRef.new(shape: DisableImageDeregistrationProtectionResult)
|
|
22833
22917
|
end)
|
|
22834
22918
|
|
|
22919
|
+
api.add_operation(:disable_instance_sql_ha_standby_detections, Seahorse::Model::Operation.new.tap do |o|
|
|
22920
|
+
o.name = "DisableInstanceSqlHaStandbyDetections"
|
|
22921
|
+
o.http_method = "POST"
|
|
22922
|
+
o.http_request_uri = "/"
|
|
22923
|
+
o.input = Shapes::ShapeRef.new(shape: DisableInstanceSqlHaStandbyDetectionsRequest)
|
|
22924
|
+
o.output = Shapes::ShapeRef.new(shape: DisableInstanceSqlHaStandbyDetectionsResult)
|
|
22925
|
+
end)
|
|
22926
|
+
|
|
22835
22927
|
api.add_operation(:disable_ipam_organization_admin_account, Seahorse::Model::Operation.new.tap do |o|
|
|
22836
22928
|
o.name = "DisableIpamOrganizationAdminAccount"
|
|
22837
22929
|
o.http_method = "POST"
|
|
@@ -23128,6 +23220,14 @@ module Aws::EC2
|
|
|
23128
23220
|
o.output = Shapes::ShapeRef.new(shape: EnableImageDeregistrationProtectionResult)
|
|
23129
23221
|
end)
|
|
23130
23222
|
|
|
23223
|
+
api.add_operation(:enable_instance_sql_ha_standby_detections, Seahorse::Model::Operation.new.tap do |o|
|
|
23224
|
+
o.name = "EnableInstanceSqlHaStandbyDetections"
|
|
23225
|
+
o.http_method = "POST"
|
|
23226
|
+
o.http_request_uri = "/"
|
|
23227
|
+
o.input = Shapes::ShapeRef.new(shape: EnableInstanceSqlHaStandbyDetectionsRequest)
|
|
23228
|
+
o.output = Shapes::ShapeRef.new(shape: EnableInstanceSqlHaStandbyDetectionsResult)
|
|
23229
|
+
end)
|
|
23230
|
+
|
|
23131
23231
|
api.add_operation(:enable_ipam_organization_admin_account, Seahorse::Model::Operation.new.tap do |o|
|
|
23132
23232
|
o.name = "EnableIpamOrganizationAdminAccount"
|
|
23133
23233
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -24600,6 +24600,173 @@ module Aws::EC2
|
|
|
24600
24600
|
include Aws::Structure
|
|
24601
24601
|
end
|
|
24602
24602
|
|
|
24603
|
+
# @!attribute [rw] instance_ids
|
|
24604
|
+
# The IDs of the SQL Server High Availability instances to describe.
|
|
24605
|
+
# If omitted, the API returns historical states for all SQL Server
|
|
24606
|
+
# High Availability instances.
|
|
24607
|
+
# @return [Array<String>]
|
|
24608
|
+
#
|
|
24609
|
+
# @!attribute [rw] start_time
|
|
24610
|
+
# The start data and time of the period for which to get the
|
|
24611
|
+
# historical SQL Server High Availability states. If omitted, the API
|
|
24612
|
+
# returns all available historical states.
|
|
24613
|
+
#
|
|
24614
|
+
# Timezone: UTC
|
|
24615
|
+
#
|
|
24616
|
+
# Format: `YYYY-MM-DDThh:mm:ss.sssZ`
|
|
24617
|
+
# @return [Time]
|
|
24618
|
+
#
|
|
24619
|
+
# @!attribute [rw] end_time
|
|
24620
|
+
# The end data and time of the period for which to get historical SQL
|
|
24621
|
+
# Server High Availability states. If omitted, the API returns
|
|
24622
|
+
# historical states up to the current date and time.
|
|
24623
|
+
#
|
|
24624
|
+
# Timezone: UTC
|
|
24625
|
+
#
|
|
24626
|
+
# Format: `YYYY-MM-DDThh:mm:ss.sssZ`
|
|
24627
|
+
# @return [Time]
|
|
24628
|
+
#
|
|
24629
|
+
# @!attribute [rw] next_token
|
|
24630
|
+
# The token to use to retrieve the next page of results.
|
|
24631
|
+
# @return [String]
|
|
24632
|
+
#
|
|
24633
|
+
# @!attribute [rw] max_results
|
|
24634
|
+
# The maximum number of results to return for the request in a single
|
|
24635
|
+
# page. The remaining results can be seen by sending another request
|
|
24636
|
+
# with the returned `nextToken` value.
|
|
24637
|
+
# @return [Integer]
|
|
24638
|
+
#
|
|
24639
|
+
# @!attribute [rw] filters
|
|
24640
|
+
# One or more filters to apply to the results. Supported filters
|
|
24641
|
+
# include:
|
|
24642
|
+
#
|
|
24643
|
+
# * `tag:<key>` - The tag key and value pair assigned to the instance.
|
|
24644
|
+
# For example, to find all instances tagged with `Owner:TeamA`,
|
|
24645
|
+
# specify `tag:Owner` for the filter name and `TeamA` for the filter
|
|
24646
|
+
# value.
|
|
24647
|
+
#
|
|
24648
|
+
# * `tag-key` - The tag key assigned to the instance.
|
|
24649
|
+
#
|
|
24650
|
+
# * `haStatus` - The SQL Server High Availability status of the SQL
|
|
24651
|
+
# Server High Availability instance (`processing` \| `active` \|
|
|
24652
|
+
# `standby` \| `invalid`).
|
|
24653
|
+
#
|
|
24654
|
+
# * `sqlServerLicenseUsage` - The license type for the SQL Server
|
|
24655
|
+
# license (`full` \| `waived`).
|
|
24656
|
+
# @return [Array<Types::Filter>]
|
|
24657
|
+
#
|
|
24658
|
+
# @!attribute [rw] dry_run
|
|
24659
|
+
# Checks whether you have the required permissions for the action,
|
|
24660
|
+
# without actually making the request, and provides an error response.
|
|
24661
|
+
# If you have the required permissions, the error response is
|
|
24662
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
24663
|
+
# @return [Boolean]
|
|
24664
|
+
#
|
|
24665
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceSqlHaHistoryStatesRequest AWS API Documentation
|
|
24666
|
+
#
|
|
24667
|
+
class DescribeInstanceSqlHaHistoryStatesRequest < Struct.new(
|
|
24668
|
+
:instance_ids,
|
|
24669
|
+
:start_time,
|
|
24670
|
+
:end_time,
|
|
24671
|
+
:next_token,
|
|
24672
|
+
:max_results,
|
|
24673
|
+
:filters,
|
|
24674
|
+
:dry_run)
|
|
24675
|
+
SENSITIVE = []
|
|
24676
|
+
include Aws::Structure
|
|
24677
|
+
end
|
|
24678
|
+
|
|
24679
|
+
# @!attribute [rw] instances
|
|
24680
|
+
# Information about the historical SQL Server High Availability states
|
|
24681
|
+
# of the SQL Server High Availability instances.
|
|
24682
|
+
# @return [Array<Types::RegisteredInstance>]
|
|
24683
|
+
#
|
|
24684
|
+
# @!attribute [rw] next_token
|
|
24685
|
+
# The token to use to retrieve the next page of results. This value is
|
|
24686
|
+
# `null` when there are no more results to return.
|
|
24687
|
+
# @return [String]
|
|
24688
|
+
#
|
|
24689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceSqlHaHistoryStatesResult AWS API Documentation
|
|
24690
|
+
#
|
|
24691
|
+
class DescribeInstanceSqlHaHistoryStatesResult < Struct.new(
|
|
24692
|
+
:instances,
|
|
24693
|
+
:next_token)
|
|
24694
|
+
SENSITIVE = []
|
|
24695
|
+
include Aws::Structure
|
|
24696
|
+
end
|
|
24697
|
+
|
|
24698
|
+
# @!attribute [rw] instance_ids
|
|
24699
|
+
# The IDs of the SQL Server High Availability instances to describe.
|
|
24700
|
+
# If omitted, the API returns SQL Server High Availability states for
|
|
24701
|
+
# all SQL Server High Availability instances.
|
|
24702
|
+
# @return [Array<String>]
|
|
24703
|
+
#
|
|
24704
|
+
# @!attribute [rw] next_token
|
|
24705
|
+
# The token to use to retrieve the next page of results.
|
|
24706
|
+
# @return [String]
|
|
24707
|
+
#
|
|
24708
|
+
# @!attribute [rw] max_results
|
|
24709
|
+
# The maximum number of results to return for the request in a single
|
|
24710
|
+
# page. The remaining results can be seen by sending another request
|
|
24711
|
+
# with the returned `nextToken` value.
|
|
24712
|
+
# @return [Integer]
|
|
24713
|
+
#
|
|
24714
|
+
# @!attribute [rw] filters
|
|
24715
|
+
# One or more filters to apply to the results. Supported filters
|
|
24716
|
+
# include:
|
|
24717
|
+
#
|
|
24718
|
+
# * `tag:<key>` - The tag key and value pair assigned to the instance.
|
|
24719
|
+
# For example, to find all instances tagged with `Owner:TeamA`,
|
|
24720
|
+
# specify `tag:Owner` for the filter name and `TeamA` for the filter
|
|
24721
|
+
# value.
|
|
24722
|
+
#
|
|
24723
|
+
# * `tag-key` - The tag key assigned to the instance.
|
|
24724
|
+
#
|
|
24725
|
+
# * `haStatus` - The SQL Server High Availability status of the SQL
|
|
24726
|
+
# Server High Availability instance (`processing` \| `active` \|
|
|
24727
|
+
# `standby` \| `invalid`).
|
|
24728
|
+
#
|
|
24729
|
+
# * `sqlServerLicenseUsage` - The license type for the SQL Server
|
|
24730
|
+
# license (`full` \| `waived`).
|
|
24731
|
+
# @return [Array<Types::Filter>]
|
|
24732
|
+
#
|
|
24733
|
+
# @!attribute [rw] dry_run
|
|
24734
|
+
# Checks whether you have the required permissions for the action,
|
|
24735
|
+
# without actually making the request, and provides an error response.
|
|
24736
|
+
# If you have the required permissions, the error response is
|
|
24737
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
24738
|
+
# @return [Boolean]
|
|
24739
|
+
#
|
|
24740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceSqlHaStatesRequest AWS API Documentation
|
|
24741
|
+
#
|
|
24742
|
+
class DescribeInstanceSqlHaStatesRequest < Struct.new(
|
|
24743
|
+
:instance_ids,
|
|
24744
|
+
:next_token,
|
|
24745
|
+
:max_results,
|
|
24746
|
+
:filters,
|
|
24747
|
+
:dry_run)
|
|
24748
|
+
SENSITIVE = []
|
|
24749
|
+
include Aws::Structure
|
|
24750
|
+
end
|
|
24751
|
+
|
|
24752
|
+
# @!attribute [rw] instances
|
|
24753
|
+
# Information about the SQL Server High Availability instances.
|
|
24754
|
+
# @return [Array<Types::RegisteredInstance>]
|
|
24755
|
+
#
|
|
24756
|
+
# @!attribute [rw] next_token
|
|
24757
|
+
# The token to use to retrieve the next page of results. This value is
|
|
24758
|
+
# `null` when there are no more results to return.
|
|
24759
|
+
# @return [String]
|
|
24760
|
+
#
|
|
24761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceSqlHaStatesResult AWS API Documentation
|
|
24762
|
+
#
|
|
24763
|
+
class DescribeInstanceSqlHaStatesResult < Struct.new(
|
|
24764
|
+
:instances,
|
|
24765
|
+
:next_token)
|
|
24766
|
+
SENSITIVE = []
|
|
24767
|
+
include Aws::Structure
|
|
24768
|
+
end
|
|
24769
|
+
|
|
24603
24770
|
# @!attribute [rw] instance_ids
|
|
24604
24771
|
# The instance IDs.
|
|
24605
24772
|
#
|
|
@@ -34949,6 +35116,40 @@ module Aws::EC2
|
|
|
34949
35116
|
include Aws::Structure
|
|
34950
35117
|
end
|
|
34951
35118
|
|
|
35119
|
+
# @!attribute [rw] instance_ids
|
|
35120
|
+
# The IDs of the instances to disable from SQL Server High
|
|
35121
|
+
# Availability standby detection monitoring.
|
|
35122
|
+
# @return [Array<String>]
|
|
35123
|
+
#
|
|
35124
|
+
# @!attribute [rw] dry_run
|
|
35125
|
+
# Checks whether you have the required permissions for the action,
|
|
35126
|
+
# without actually making the request, and provides an error response.
|
|
35127
|
+
# If you have the required permissions, the error response is
|
|
35128
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
35129
|
+
# @return [Boolean]
|
|
35130
|
+
#
|
|
35131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableInstanceSqlHaStandbyDetectionsRequest AWS API Documentation
|
|
35132
|
+
#
|
|
35133
|
+
class DisableInstanceSqlHaStandbyDetectionsRequest < Struct.new(
|
|
35134
|
+
:instance_ids,
|
|
35135
|
+
:dry_run)
|
|
35136
|
+
SENSITIVE = []
|
|
35137
|
+
include Aws::Structure
|
|
35138
|
+
end
|
|
35139
|
+
|
|
35140
|
+
# @!attribute [rw] instances
|
|
35141
|
+
# Information about the instances that were disabled from SQL Server
|
|
35142
|
+
# High Availability standby detection monitoring.
|
|
35143
|
+
# @return [Array<Types::RegisteredInstance>]
|
|
35144
|
+
#
|
|
35145
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableInstanceSqlHaStandbyDetectionsResult AWS API Documentation
|
|
35146
|
+
#
|
|
35147
|
+
class DisableInstanceSqlHaStandbyDetectionsResult < Struct.new(
|
|
35148
|
+
:instances)
|
|
35149
|
+
SENSITIVE = []
|
|
35150
|
+
include Aws::Structure
|
|
35151
|
+
end
|
|
35152
|
+
|
|
34952
35153
|
# @!attribute [rw] dry_run
|
|
34953
35154
|
# A check for whether you have the required permissions for the action
|
|
34954
35155
|
# without actually making the request and provides an error response.
|
|
@@ -36776,6 +36977,11 @@ module Aws::EC2
|
|
|
36776
36977
|
# The public DNS names of the endpoint.
|
|
36777
36978
|
# @return [Types::InstanceConnectEndpointPublicDnsNames]
|
|
36778
36979
|
#
|
|
36980
|
+
# @!attribute [rw] availability_zone_id
|
|
36981
|
+
# The ID of the Availability Zone of the EC2 Instance Connect
|
|
36982
|
+
# Endpoint.
|
|
36983
|
+
# @return [String]
|
|
36984
|
+
#
|
|
36779
36985
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ec2InstanceConnectEndpoint AWS API Documentation
|
|
36780
36986
|
#
|
|
36781
36987
|
class Ec2InstanceConnectEndpoint < Struct.new(
|
|
@@ -36795,7 +37001,8 @@ module Aws::EC2
|
|
|
36795
37001
|
:security_group_ids,
|
|
36796
37002
|
:tags,
|
|
36797
37003
|
:ip_address_type,
|
|
36798
|
-
:public_dns_names
|
|
37004
|
+
:public_dns_names,
|
|
37005
|
+
:availability_zone_id)
|
|
36799
37006
|
SENSITIVE = []
|
|
36800
37007
|
include Aws::Structure
|
|
36801
37008
|
end
|
|
@@ -37805,6 +38012,50 @@ module Aws::EC2
|
|
|
37805
38012
|
include Aws::Structure
|
|
37806
38013
|
end
|
|
37807
38014
|
|
|
38015
|
+
# @!attribute [rw] instance_ids
|
|
38016
|
+
# The IDs of the instances to enable for SQL Server High Availability
|
|
38017
|
+
# standby detection monitoring.
|
|
38018
|
+
# @return [Array<String>]
|
|
38019
|
+
#
|
|
38020
|
+
# @!attribute [rw] sql_server_credentials
|
|
38021
|
+
# The ARN of the Secrets Manager secret containing the SQL Server
|
|
38022
|
+
# access credentials. The specified secret must contain valid SQL
|
|
38023
|
+
# Server credentials for the specified instances. If not specified,
|
|
38024
|
+
# deafult local user credentials will be used by the Amazon Web
|
|
38025
|
+
# Services Systems Manager agent. To enable instances with different
|
|
38026
|
+
# credentials, you must make separate requests.
|
|
38027
|
+
# @return [String]
|
|
38028
|
+
#
|
|
38029
|
+
# @!attribute [rw] dry_run
|
|
38030
|
+
# Checks whether you have the required permissions for the action,
|
|
38031
|
+
# without actually making the request, and provides an error response.
|
|
38032
|
+
# If you have the required permissions, the error response is
|
|
38033
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
38034
|
+
# @return [Boolean]
|
|
38035
|
+
#
|
|
38036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableInstanceSqlHaStandbyDetectionsRequest AWS API Documentation
|
|
38037
|
+
#
|
|
38038
|
+
class EnableInstanceSqlHaStandbyDetectionsRequest < Struct.new(
|
|
38039
|
+
:instance_ids,
|
|
38040
|
+
:sql_server_credentials,
|
|
38041
|
+
:dry_run)
|
|
38042
|
+
SENSITIVE = []
|
|
38043
|
+
include Aws::Structure
|
|
38044
|
+
end
|
|
38045
|
+
|
|
38046
|
+
# @!attribute [rw] instances
|
|
38047
|
+
# Information about the instances that were enabled for SQL Server
|
|
38048
|
+
# High Availability standby detection monitoring.
|
|
38049
|
+
# @return [Array<Types::RegisteredInstance>]
|
|
38050
|
+
#
|
|
38051
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableInstanceSqlHaStandbyDetectionsResult AWS API Documentation
|
|
38052
|
+
#
|
|
38053
|
+
class EnableInstanceSqlHaStandbyDetectionsResult < Struct.new(
|
|
38054
|
+
:instances)
|
|
38055
|
+
SENSITIVE = []
|
|
38056
|
+
include Aws::Structure
|
|
38057
|
+
end
|
|
38058
|
+
|
|
37808
38059
|
# @!attribute [rw] dry_run
|
|
37809
38060
|
# A check for whether you have the required permissions for the action
|
|
37810
38061
|
# without actually making the request and provides an error response.
|
|
@@ -67045,6 +67296,78 @@ module Aws::EC2
|
|
|
67045
67296
|
include Aws::Structure
|
|
67046
67297
|
end
|
|
67047
67298
|
|
|
67299
|
+
# Describes an Amazon EC2 instance that is enabled for SQL Server High
|
|
67300
|
+
# Availability standby detection monitoring.
|
|
67301
|
+
#
|
|
67302
|
+
# @!attribute [rw] instance_id
|
|
67303
|
+
# The ID of the SQL Server High Availability instance.
|
|
67304
|
+
# @return [String]
|
|
67305
|
+
#
|
|
67306
|
+
# @!attribute [rw] sql_server_license_usage
|
|
67307
|
+
# The license type for the SQL Server license. Valid values include:
|
|
67308
|
+
#
|
|
67309
|
+
# * `full` - The SQL Server High Availability instance is using a full
|
|
67310
|
+
# SQL Server license.
|
|
67311
|
+
#
|
|
67312
|
+
# * `waived` - The SQL Server High Availability instance is waived
|
|
67313
|
+
# from the SQL Server license.
|
|
67314
|
+
# @return [String]
|
|
67315
|
+
#
|
|
67316
|
+
# @!attribute [rw] ha_status
|
|
67317
|
+
# The SQL Server High Availability status of the instance. Valid
|
|
67318
|
+
# values are:
|
|
67319
|
+
#
|
|
67320
|
+
# * `processing` - The SQL Server High Availability status for the SQL
|
|
67321
|
+
# Server High Availability instance is being updated.
|
|
67322
|
+
#
|
|
67323
|
+
# * `active` - The SQL Server High Availability instance is an active
|
|
67324
|
+
# node in an SQL Server High Availability cluster.
|
|
67325
|
+
#
|
|
67326
|
+
# * `standby` - The SQL Server High Availability instance is a standby
|
|
67327
|
+
# failover node in an SQL Server High Availability cluster.
|
|
67328
|
+
#
|
|
67329
|
+
# * `invalid` - An error occurred due to misconfigured permissions, or
|
|
67330
|
+
# unable to dertemine SQL Server High Availability status for the
|
|
67331
|
+
# SQL Server High Availability instance.
|
|
67332
|
+
# @return [String]
|
|
67333
|
+
#
|
|
67334
|
+
# @!attribute [rw] processing_status
|
|
67335
|
+
# A brief description of the SQL Server High Availability status. If
|
|
67336
|
+
# the instance is in the `invalid` High Availability status, this
|
|
67337
|
+
# parameter includes the error message.
|
|
67338
|
+
# @return [String]
|
|
67339
|
+
#
|
|
67340
|
+
# @!attribute [rw] last_updated_time
|
|
67341
|
+
# The date and time when the instance's SQL Server High Availability
|
|
67342
|
+
# status was last updated, in the ISO 8601 format in the UTC time zone
|
|
67343
|
+
# (`YYYY-MM-DDThh:mm:ss.sssZ`).
|
|
67344
|
+
# @return [Time]
|
|
67345
|
+
#
|
|
67346
|
+
# @!attribute [rw] sql_server_credentials
|
|
67347
|
+
# The ARN of the Secrets Manager secret containing the SQL Server
|
|
67348
|
+
# access credentials for the SQL Server High Availability instance. If
|
|
67349
|
+
# not specified, deafult local user credentials will be used by the
|
|
67350
|
+
# Amazon Web Services Systems Manager agent.
|
|
67351
|
+
# @return [String]
|
|
67352
|
+
#
|
|
67353
|
+
# @!attribute [rw] tags
|
|
67354
|
+
# The tags assigned to the SQL Server High Availability instance.
|
|
67355
|
+
# @return [Array<Types::Tag>]
|
|
67356
|
+
#
|
|
67357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisteredInstance AWS API Documentation
|
|
67358
|
+
#
|
|
67359
|
+
class RegisteredInstance < Struct.new(
|
|
67360
|
+
:instance_id,
|
|
67361
|
+
:sql_server_license_usage,
|
|
67362
|
+
:ha_status,
|
|
67363
|
+
:processing_status,
|
|
67364
|
+
:last_updated_time,
|
|
67365
|
+
:sql_server_credentials,
|
|
67366
|
+
:tags)
|
|
67367
|
+
SENSITIVE = []
|
|
67368
|
+
include Aws::Structure
|
|
67369
|
+
end
|
|
67370
|
+
|
|
67048
67371
|
# @!attribute [rw] dry_run
|
|
67049
67372
|
# Checks whether you have the required permissions for the action,
|
|
67050
67373
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -6798,6 +6798,48 @@ module Aws
|
|
|
6798
6798
|
) -> _DescribeInstanceImageMetadataResponseSuccess
|
|
6799
6799
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInstanceImageMetadataResponseSuccess
|
|
6800
6800
|
|
|
6801
|
+
interface _DescribeInstanceSqlHaHistoryStatesResponseSuccess
|
|
6802
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeInstanceSqlHaHistoryStatesResult]
|
|
6803
|
+
def instances: () -> ::Array[Types::RegisteredInstance]
|
|
6804
|
+
def next_token: () -> ::String
|
|
6805
|
+
end
|
|
6806
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_instance_sql_ha_history_states-instance_method
|
|
6807
|
+
def describe_instance_sql_ha_history_states: (
|
|
6808
|
+
?instance_ids: Array[::String],
|
|
6809
|
+
?start_time: ::Time,
|
|
6810
|
+
?end_time: ::Time,
|
|
6811
|
+
?next_token: ::String,
|
|
6812
|
+
?max_results: ::Integer,
|
|
6813
|
+
?filters: Array[
|
|
6814
|
+
{
|
|
6815
|
+
name: ::String?,
|
|
6816
|
+
values: Array[::String]?
|
|
6817
|
+
},
|
|
6818
|
+
],
|
|
6819
|
+
?dry_run: bool
|
|
6820
|
+
) -> _DescribeInstanceSqlHaHistoryStatesResponseSuccess
|
|
6821
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInstanceSqlHaHistoryStatesResponseSuccess
|
|
6822
|
+
|
|
6823
|
+
interface _DescribeInstanceSqlHaStatesResponseSuccess
|
|
6824
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeInstanceSqlHaStatesResult]
|
|
6825
|
+
def instances: () -> ::Array[Types::RegisteredInstance]
|
|
6826
|
+
def next_token: () -> ::String
|
|
6827
|
+
end
|
|
6828
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_instance_sql_ha_states-instance_method
|
|
6829
|
+
def describe_instance_sql_ha_states: (
|
|
6830
|
+
?instance_ids: Array[::String],
|
|
6831
|
+
?next_token: ::String,
|
|
6832
|
+
?max_results: ::Integer,
|
|
6833
|
+
?filters: Array[
|
|
6834
|
+
{
|
|
6835
|
+
name: ::String?,
|
|
6836
|
+
values: Array[::String]?
|
|
6837
|
+
},
|
|
6838
|
+
],
|
|
6839
|
+
?dry_run: bool
|
|
6840
|
+
) -> _DescribeInstanceSqlHaStatesResponseSuccess
|
|
6841
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInstanceSqlHaStatesResponseSuccess
|
|
6842
|
+
|
|
6801
6843
|
interface _DescribeInstanceStatusResponseSuccess
|
|
6802
6844
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeInstanceStatusResult]
|
|
6803
6845
|
def instance_statuses: () -> ::Array[Types::InstanceStatus]
|
|
@@ -9225,6 +9267,17 @@ module Aws
|
|
|
9225
9267
|
) -> _DisableImageDeregistrationProtectionResponseSuccess
|
|
9226
9268
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableImageDeregistrationProtectionResponseSuccess
|
|
9227
9269
|
|
|
9270
|
+
interface _DisableInstanceSqlHaStandbyDetectionsResponseSuccess
|
|
9271
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisableInstanceSqlHaStandbyDetectionsResult]
|
|
9272
|
+
def instances: () -> ::Array[Types::RegisteredInstance]
|
|
9273
|
+
end
|
|
9274
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#disable_instance_sql_ha_standby_detections-instance_method
|
|
9275
|
+
def disable_instance_sql_ha_standby_detections: (
|
|
9276
|
+
instance_ids: Array[::String],
|
|
9277
|
+
?dry_run: bool
|
|
9278
|
+
) -> _DisableInstanceSqlHaStandbyDetectionsResponseSuccess
|
|
9279
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableInstanceSqlHaStandbyDetectionsResponseSuccess
|
|
9280
|
+
|
|
9228
9281
|
interface _DisableIpamOrganizationAdminAccountResponseSuccess
|
|
9229
9282
|
include ::Seahorse::Client::_ResponseSuccess[Types::DisableIpamOrganizationAdminAccountResult]
|
|
9230
9283
|
def success: () -> bool
|
|
@@ -9676,6 +9729,18 @@ module Aws
|
|
|
9676
9729
|
) -> _EnableImageDeregistrationProtectionResponseSuccess
|
|
9677
9730
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableImageDeregistrationProtectionResponseSuccess
|
|
9678
9731
|
|
|
9732
|
+
interface _EnableInstanceSqlHaStandbyDetectionsResponseSuccess
|
|
9733
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::EnableInstanceSqlHaStandbyDetectionsResult]
|
|
9734
|
+
def instances: () -> ::Array[Types::RegisteredInstance]
|
|
9735
|
+
end
|
|
9736
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#enable_instance_sql_ha_standby_detections-instance_method
|
|
9737
|
+
def enable_instance_sql_ha_standby_detections: (
|
|
9738
|
+
instance_ids: Array[::String],
|
|
9739
|
+
?sql_server_credentials: ::String,
|
|
9740
|
+
?dry_run: bool
|
|
9741
|
+
) -> _EnableInstanceSqlHaStandbyDetectionsResponseSuccess
|
|
9742
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableInstanceSqlHaStandbyDetectionsResponseSuccess
|
|
9743
|
+
|
|
9679
9744
|
interface _EnableIpamOrganizationAdminAccountResponseSuccess
|
|
9680
9745
|
include ::Seahorse::Client::_ResponseSuccess[Types::EnableIpamOrganizationAdminAccountResult]
|
|
9681
9746
|
def success: () -> bool
|
data/sig/types.rbs
CHANGED
|
@@ -5612,6 +5612,38 @@ module Aws::EC2
|
|
|
5612
5612
|
SENSITIVE: []
|
|
5613
5613
|
end
|
|
5614
5614
|
|
|
5615
|
+
class DescribeInstanceSqlHaHistoryStatesRequest
|
|
5616
|
+
attr_accessor instance_ids: ::Array[::String]
|
|
5617
|
+
attr_accessor start_time: ::Time
|
|
5618
|
+
attr_accessor end_time: ::Time
|
|
5619
|
+
attr_accessor next_token: ::String
|
|
5620
|
+
attr_accessor max_results: ::Integer
|
|
5621
|
+
attr_accessor filters: ::Array[Types::Filter]
|
|
5622
|
+
attr_accessor dry_run: bool
|
|
5623
|
+
SENSITIVE: []
|
|
5624
|
+
end
|
|
5625
|
+
|
|
5626
|
+
class DescribeInstanceSqlHaHistoryStatesResult
|
|
5627
|
+
attr_accessor instances: ::Array[Types::RegisteredInstance]
|
|
5628
|
+
attr_accessor next_token: ::String
|
|
5629
|
+
SENSITIVE: []
|
|
5630
|
+
end
|
|
5631
|
+
|
|
5632
|
+
class DescribeInstanceSqlHaStatesRequest
|
|
5633
|
+
attr_accessor instance_ids: ::Array[::String]
|
|
5634
|
+
attr_accessor next_token: ::String
|
|
5635
|
+
attr_accessor max_results: ::Integer
|
|
5636
|
+
attr_accessor filters: ::Array[Types::Filter]
|
|
5637
|
+
attr_accessor dry_run: bool
|
|
5638
|
+
SENSITIVE: []
|
|
5639
|
+
end
|
|
5640
|
+
|
|
5641
|
+
class DescribeInstanceSqlHaStatesResult
|
|
5642
|
+
attr_accessor instances: ::Array[Types::RegisteredInstance]
|
|
5643
|
+
attr_accessor next_token: ::String
|
|
5644
|
+
SENSITIVE: []
|
|
5645
|
+
end
|
|
5646
|
+
|
|
5615
5647
|
class DescribeInstanceStatusRequest
|
|
5616
5648
|
attr_accessor instance_ids: ::Array[::String]
|
|
5617
5649
|
attr_accessor max_results: ::Integer
|
|
@@ -7598,6 +7630,17 @@ module Aws::EC2
|
|
|
7598
7630
|
SENSITIVE: []
|
|
7599
7631
|
end
|
|
7600
7632
|
|
|
7633
|
+
class DisableInstanceSqlHaStandbyDetectionsRequest
|
|
7634
|
+
attr_accessor instance_ids: ::Array[::String]
|
|
7635
|
+
attr_accessor dry_run: bool
|
|
7636
|
+
SENSITIVE: []
|
|
7637
|
+
end
|
|
7638
|
+
|
|
7639
|
+
class DisableInstanceSqlHaStandbyDetectionsResult
|
|
7640
|
+
attr_accessor instances: ::Array[Types::RegisteredInstance]
|
|
7641
|
+
SENSITIVE: []
|
|
7642
|
+
end
|
|
7643
|
+
|
|
7601
7644
|
class DisableIpamOrganizationAdminAccountRequest
|
|
7602
7645
|
attr_accessor dry_run: bool
|
|
7603
7646
|
attr_accessor delegated_admin_account_id: ::String
|
|
@@ -8047,6 +8090,7 @@ module Aws::EC2
|
|
|
8047
8090
|
attr_accessor tags: ::Array[Types::Tag]
|
|
8048
8091
|
attr_accessor ip_address_type: ("ipv4" | "dualstack" | "ipv6")
|
|
8049
8092
|
attr_accessor public_dns_names: Types::InstanceConnectEndpointPublicDnsNames
|
|
8093
|
+
attr_accessor availability_zone_id: ::String
|
|
8050
8094
|
SENSITIVE: []
|
|
8051
8095
|
end
|
|
8052
8096
|
|
|
@@ -8310,6 +8354,18 @@ module Aws::EC2
|
|
|
8310
8354
|
SENSITIVE: []
|
|
8311
8355
|
end
|
|
8312
8356
|
|
|
8357
|
+
class EnableInstanceSqlHaStandbyDetectionsRequest
|
|
8358
|
+
attr_accessor instance_ids: ::Array[::String]
|
|
8359
|
+
attr_accessor sql_server_credentials: ::String
|
|
8360
|
+
attr_accessor dry_run: bool
|
|
8361
|
+
SENSITIVE: []
|
|
8362
|
+
end
|
|
8363
|
+
|
|
8364
|
+
class EnableInstanceSqlHaStandbyDetectionsResult
|
|
8365
|
+
attr_accessor instances: ::Array[Types::RegisteredInstance]
|
|
8366
|
+
SENSITIVE: []
|
|
8367
|
+
end
|
|
8368
|
+
|
|
8313
8369
|
class EnableIpamOrganizationAdminAccountRequest
|
|
8314
8370
|
attr_accessor dry_run: bool
|
|
8315
8371
|
attr_accessor delegated_admin_account_id: ::String
|
|
@@ -14459,6 +14515,17 @@ module Aws::EC2
|
|
|
14459
14515
|
SENSITIVE: []
|
|
14460
14516
|
end
|
|
14461
14517
|
|
|
14518
|
+
class RegisteredInstance
|
|
14519
|
+
attr_accessor instance_id: ::String
|
|
14520
|
+
attr_accessor sql_server_license_usage: ("full" | "waived")
|
|
14521
|
+
attr_accessor ha_status: ("processing" | "active" | "standby" | "invalid")
|
|
14522
|
+
attr_accessor processing_status: ::String
|
|
14523
|
+
attr_accessor last_updated_time: ::Time
|
|
14524
|
+
attr_accessor sql_server_credentials: ::String
|
|
14525
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
14526
|
+
SENSITIVE: []
|
|
14527
|
+
end
|
|
14528
|
+
|
|
14462
14529
|
class RejectCapacityReservationBillingOwnershipRequest
|
|
14463
14530
|
attr_accessor dry_run: bool
|
|
14464
14531
|
attr_accessor capacity_reservation_id: ::String
|