aws-sdk-ec2 1.633.0 → 1.635.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.
@@ -1876,6 +1876,384 @@ module Aws::EC2
1876
1876
  include Aws::Structure
1877
1877
  end
1878
1878
 
1879
+ # Describes the application-level health status for an instance.
1880
+ #
1881
+ # @!attribute [rw] status
1882
+ # The current instance-level application status. This status is
1883
+ # derived from application status checks with `Aggregation` set to
1884
+ # `included`. Possible values:
1885
+ #
1886
+ # * `ok` – All included checks passed.
1887
+ #
1888
+ # * `impaired` – At least one included check failed.
1889
+ #
1890
+ # * `initializing` – At least one included check is initializing, and
1891
+ # no included check is impaired.
1892
+ #
1893
+ # * `insufficient-data` – At least one included check has insufficient
1894
+ # data, and no included check is impaired or initializing.
1895
+ #
1896
+ # * `not-applicable` – No checks with `Aggregation` set to `included`
1897
+ # apply to the instance.
1898
+ #
1899
+ # * `suppressed` – Application status reporting is suppressed for the
1900
+ # instance.
1901
+ #
1902
+ # Checks with `Aggregation` set to `excluded` do not affect this
1903
+ # value.
1904
+ # @return [String]
1905
+ #
1906
+ # @!attribute [rw] status_time_stamp
1907
+ # The date and time of the last status update.
1908
+ # @return [Time]
1909
+ #
1910
+ # @!attribute [rw] status_since
1911
+ # The date and time when the current status started.
1912
+ # @return [Time]
1913
+ #
1914
+ # @!attribute [rw] resume_at
1915
+ # The date and time when application status reporting resumes after
1916
+ # suppression.
1917
+ # @return [Time]
1918
+ #
1919
+ # @!attribute [rw] details
1920
+ # Details about the application status checks for the instance.
1921
+ # @return [Array<Types::ApplicationStatusDetail>]
1922
+ #
1923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ApplicationStatus AWS API Documentation
1924
+ #
1925
+ class ApplicationStatus < Struct.new(
1926
+ :status,
1927
+ :status_time_stamp,
1928
+ :status_since,
1929
+ :resume_at,
1930
+ :details)
1931
+ SENSITIVE = []
1932
+ include Aws::Structure
1933
+ end
1934
+
1935
+ # Information about an application status check association. Each item
1936
+ # in the `associationSet` of a
1937
+ # `DescribeApplicationStatusCheckAssociations` response is of this type.
1938
+ #
1939
+ # @!attribute [rw] application_status_check_id
1940
+ # The ID of the application status check.
1941
+ # @return [String]
1942
+ #
1943
+ # @!attribute [rw] association_type
1944
+ # The type of target that the application status check is associated
1945
+ # with. Possible values:
1946
+ #
1947
+ # * `tag` – The check applies to current and future instances with a
1948
+ # matching tag key-value pair.
1949
+ #
1950
+ # * `instance-id` – The check applies to a specific instance.
1951
+ # @return [String]
1952
+ #
1953
+ # @!attribute [rw] key
1954
+ # The key for the association. This value is present only for
1955
+ # tag-based associations, where it contains the tag key. For
1956
+ # instance-based associations, this value is absent.
1957
+ # @return [String]
1958
+ #
1959
+ # @!attribute [rw] value
1960
+ # The value for the association target. For tag-based associations,
1961
+ # this is the tag value. For instance-based associations, this is the
1962
+ # instance ID (for example, `i-0123456789abcdef0`).
1963
+ # @return [String]
1964
+ #
1965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ApplicationStatusCheckAssociationObject AWS API Documentation
1966
+ #
1967
+ class ApplicationStatusCheckAssociationObject < Struct.new(
1968
+ :application_status_check_id,
1969
+ :association_type,
1970
+ :key,
1971
+ :value)
1972
+ SENSITIVE = []
1973
+ include Aws::Structure
1974
+ end
1975
+
1976
+ # Describes an application status check.
1977
+ #
1978
+ # @!attribute [rw] application_status_check_id
1979
+ # The ID of the application status check.
1980
+ # @return [String]
1981
+ #
1982
+ # @!attribute [rw] aggregation
1983
+ # The aggregation setting for the application status check. When set
1984
+ # to `included`, the result of this check contributes to the
1985
+ # instance-level application status. When set to `excluded`, the check
1986
+ # runs independently and does not affect the instance-level status.
1987
+ # @return [String]
1988
+ #
1989
+ # @!attribute [rw] health_check_paths
1990
+ # The health check paths for the application status check.
1991
+ # @return [Array<Types::HealthCheckPathResponseObject>]
1992
+ #
1993
+ # @!attribute [rw] protocol
1994
+ # The protocol used for the health check.
1995
+ # @return [String]
1996
+ #
1997
+ # @!attribute [rw] port
1998
+ # The port used for the health check.
1999
+ # @return [Integer]
2000
+ #
2001
+ # @!attribute [rw] path
2002
+ # The URL path used for the health check HTTP request.
2003
+ # @return [String]
2004
+ #
2005
+ # @!attribute [rw] device_index
2006
+ # The index of the network device used for the health check. The value
2007
+ # is greater than or equal to 0.
2008
+ # @return [Integer]
2009
+ #
2010
+ # @!attribute [rw] ip_version
2011
+ # The IP version used for the health check.
2012
+ # @return [String]
2013
+ #
2014
+ # @!attribute [rw] ip_scope
2015
+ # The IP scope used for the health check.
2016
+ # @return [String]
2017
+ #
2018
+ # @!attribute [rw] interval
2019
+ # The interval, in seconds, between health checks. Valid value: 60.
2020
+ # @return [Integer]
2021
+ #
2022
+ # @!attribute [rw] timeout
2023
+ # The amount of time, in seconds, to wait for a health check response.
2024
+ # Valid values: 1 to 30.
2025
+ # @return [Integer]
2026
+ #
2027
+ # @!attribute [rw] failure_threshold
2028
+ # The number of consecutive failed health checks before the
2029
+ # application status is considered impaired. The value must be greater
2030
+ # than 0.
2031
+ # @return [Integer]
2032
+ #
2033
+ # @!attribute [rw] success_threshold
2034
+ # The number of consecutive successful health checks before the
2035
+ # application status is considered healthy. The value must be greater
2036
+ # than 0.
2037
+ # @return [Integer]
2038
+ #
2039
+ # @!attribute [rw] status_code_matcher
2040
+ # The comma-separated list of individual HTTP status codes or ranges
2041
+ # that indicate a successful health check response.
2042
+ # @return [String]
2043
+ #
2044
+ # @!attribute [rw] initialization_grace_period_seconds
2045
+ # The number of seconds to wait before starting health checks after an
2046
+ # instance is launched. Valid values: 1 to 600.
2047
+ # @return [Integer]
2048
+ #
2049
+ # @!attribute [rw] last_updated_at
2050
+ # The date and time when the application status check was last
2051
+ # updated.
2052
+ # @return [Time]
2053
+ #
2054
+ # @!attribute [rw] target_tag_associations
2055
+ # The [tags][1] associated with the application status check.
2056
+ # Instances with these tags are automatically monitored by this check.
2057
+ #
2058
+ #
2059
+ #
2060
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
2061
+ # @return [Array<Types::CustomTagKeyValueResponsePair>]
2062
+ #
2063
+ # @!attribute [rw] tags
2064
+ # The tags assigned to the application status check.
2065
+ # @return [Array<Types::Tag>]
2066
+ #
2067
+ # @!attribute [rw] creation_time
2068
+ # The date and time when the application status check was created.
2069
+ # @return [Time]
2070
+ #
2071
+ # @!attribute [rw] modify_time
2072
+ # The date and time when the application status check was last
2073
+ # modified.
2074
+ # @return [Time]
2075
+ #
2076
+ # @!attribute [rw] deletion_time
2077
+ # The date and time when the application status check was deleted.
2078
+ # @return [Time]
2079
+ #
2080
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ApplicationStatusCheckResponseObject AWS API Documentation
2081
+ #
2082
+ class ApplicationStatusCheckResponseObject < Struct.new(
2083
+ :application_status_check_id,
2084
+ :aggregation,
2085
+ :health_check_paths,
2086
+ :protocol,
2087
+ :port,
2088
+ :path,
2089
+ :device_index,
2090
+ :ip_version,
2091
+ :ip_scope,
2092
+ :interval,
2093
+ :timeout,
2094
+ :failure_threshold,
2095
+ :success_threshold,
2096
+ :status_code_matcher,
2097
+ :initialization_grace_period_seconds,
2098
+ :last_updated_at,
2099
+ :target_tag_associations,
2100
+ :tags,
2101
+ :creation_time,
2102
+ :modify_time,
2103
+ :deletion_time)
2104
+ SENSITIVE = []
2105
+ include Aws::Structure
2106
+ end
2107
+
2108
+ # Describes the details of an application status check for an instance.
2109
+ #
2110
+ # @!attribute [rw] application_status_check_id
2111
+ # The ID of the application status check.
2112
+ # @return [String]
2113
+ #
2114
+ # @!attribute [rw] check_update_time
2115
+ # The date and time when the check was last updated.
2116
+ # @return [Time]
2117
+ #
2118
+ # @!attribute [rw] aggregation
2119
+ # The aggregation setting for the application status check. When set
2120
+ # to `included`, the result of this check contributes to the
2121
+ # instance-level application status. When set to `excluded`, the check
2122
+ # runs independently and does not affect the instance-level status.
2123
+ # @return [String]
2124
+ #
2125
+ # @!attribute [rw] status
2126
+ # The status of the individual application status check. Possible
2127
+ # values:
2128
+ #
2129
+ # * `passed` – The check reached its success threshold.
2130
+ #
2131
+ # * `failed` – The check reached its failure threshold.
2132
+ #
2133
+ # * `initializing` – The check is initializing or has not reached a
2134
+ # success or failure threshold.
2135
+ #
2136
+ # * `insufficient-data` – The check does not have enough data to
2137
+ # determine a result.
2138
+ #
2139
+ # * `not-applicable` – The check does not apply to the instance.
2140
+ #
2141
+ # This value reflects the check result and is not affected by
2142
+ # aggregation or suppression.
2143
+ # @return [String]
2144
+ #
2145
+ # @!attribute [rw] status_time_stamp
2146
+ # The date and time of the last status update for this check.
2147
+ # @return [Time]
2148
+ #
2149
+ # @!attribute [rw] status_since
2150
+ # The date and time when the current status started for this check.
2151
+ # @return [Time]
2152
+ #
2153
+ # @!attribute [rw] reason
2154
+ # The reason for the current status.
2155
+ # @return [Types::ApplicationStatusReason]
2156
+ #
2157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ApplicationStatusDetail AWS API Documentation
2158
+ #
2159
+ class ApplicationStatusDetail < Struct.new(
2160
+ :application_status_check_id,
2161
+ :check_update_time,
2162
+ :aggregation,
2163
+ :status,
2164
+ :status_time_stamp,
2165
+ :status_since,
2166
+ :reason)
2167
+ SENSITIVE = []
2168
+ include Aws::Structure
2169
+ end
2170
+
2171
+ # Describes the reason for an application status check result.
2172
+ #
2173
+ # @!attribute [rw] code
2174
+ # The reason code for the application status check result. Possible
2175
+ # values:
2176
+ #
2177
+ # * `ResponseCodeMatched` – The HTTP status code returned by the
2178
+ # health check matched the configured `StatusCodeMatcher`.
2179
+ #
2180
+ # * `ResponseCodeMismatch` – The HTTP status code returned by the
2181
+ # health check did not match the configured `StatusCodeMatcher`.
2182
+ #
2183
+ # * `ConnectionTimeout` – The connection to the target timed out.
2184
+ #
2185
+ # * `ResponseTimeout` – The health check timed out while waiting for a
2186
+ # response from the target.
2187
+ #
2188
+ # * `ConnectionRefused` – The target refused the health check
2189
+ # connection.
2190
+ #
2191
+ # * `ConnectionReset` – The target reset the health check connection
2192
+ # before returning a response.
2193
+ #
2194
+ # Current health check results use the values in the preceding list.
2195
+ # Legacy results that do not contain structured reason metadata can
2196
+ # instead contain a producer error type, such as `Http Status Code` or
2197
+ # `HttpConnectTimeoutException`.
2198
+ #
2199
+ # For `ResponseCodeMatched` and `ResponseCodeMismatch`, the
2200
+ # `statusCode` field contains the returned HTTP status code. The
2201
+ # `protocol` field contains the protocol used for the health check.
2202
+ # @return [String]
2203
+ #
2204
+ # @!attribute [rw] status_code
2205
+ # The HTTP status code returned by the health check.
2206
+ # @return [Integer]
2207
+ #
2208
+ # @!attribute [rw] protocol
2209
+ # The protocol used for the health check. Possible values: `HTTP` and
2210
+ # `HTTPS`.
2211
+ # @return [String]
2212
+ #
2213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ApplicationStatusReason AWS API Documentation
2214
+ #
2215
+ class ApplicationStatusReason < Struct.new(
2216
+ :code,
2217
+ :status_code,
2218
+ :protocol)
2219
+ SENSITIVE = []
2220
+ include Aws::Structure
2221
+ end
2222
+
2223
+ # Provides a summary of the application-level health status for an
2224
+ # instance.
2225
+ #
2226
+ # @!attribute [rw] status
2227
+ # The current status.
2228
+ # @return [String]
2229
+ #
2230
+ # @!attribute [rw] impaired_since
2231
+ # The date and time when the application status became impaired.
2232
+ # @return [Time]
2233
+ #
2234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ApplicationStatusSummary AWS API Documentation
2235
+ #
2236
+ class ApplicationStatusSummary < Struct.new(
2237
+ :status,
2238
+ :impaired_since)
2239
+ SENSITIVE = []
2240
+ include Aws::Structure
2241
+ end
2242
+
2243
+ # Describes the application statuses for instances.
2244
+ #
2245
+ # @!attribute [rw] instances
2246
+ # The application status information for the instances.
2247
+ # @return [Array<Types::InstanceApplicationStatus>]
2248
+ #
2249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ApplicationStatusesResponseType AWS API Documentation
2250
+ #
2251
+ class ApplicationStatusesResponseType < Struct.new(
2252
+ :instances)
2253
+ SENSITIVE = []
2254
+ include Aws::Structure
2255
+ end
2256
+
1879
2257
  # @!attribute [rw] client_vpn_endpoint_id
1880
2258
  # The ID of the Client VPN endpoint.
1881
2259
  # @return [String]
@@ -2248,6 +2626,75 @@ module Aws::EC2
2248
2626
  include Aws::Structure
2249
2627
  end
2250
2628
 
2629
+ # @!attribute [rw] application_status_check_id
2630
+ # The ID of the application status check to associate.
2631
+ # @return [String]
2632
+ #
2633
+ # @!attribute [rw] target_tag_associations
2634
+ # The [tags][1] to associate the application status check with. Each
2635
+ # tag is a key-value pair. When you associate tags, the application
2636
+ # status check automatically monitors all instances that have the
2637
+ # specified tags.
2638
+ #
2639
+ #
2640
+ #
2641
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
2642
+ # @return [Array<Types::CustomTagKeyValueRequestPair>]
2643
+ #
2644
+ # @!attribute [rw] instance_ids
2645
+ # The IDs of the instances to associate with the application status
2646
+ # check.
2647
+ # @return [Array<String>]
2648
+ #
2649
+ # @!attribute [rw] client_token
2650
+ # Unique, case-sensitive identifier that you provide to ensure the
2651
+ # idempotency of the request. For more information, see [Ensuring
2652
+ # idempotency][1].
2653
+ #
2654
+ # **A suitable default value is auto-generated.** You should normally
2655
+ # not need to pass this option.
2656
+ #
2657
+ #
2658
+ #
2659
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
2660
+ # @return [String]
2661
+ #
2662
+ # @!attribute [rw] dry_run
2663
+ # Checks whether you have the required permissions for the operation,
2664
+ # without actually making the request, and provides an error response.
2665
+ # If you have the required permissions, the error response is
2666
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2667
+ # @return [Boolean]
2668
+ #
2669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateApplicationStatusCheckRequest AWS API Documentation
2670
+ #
2671
+ class AssociateApplicationStatusCheckRequest < Struct.new(
2672
+ :application_status_check_id,
2673
+ :target_tag_associations,
2674
+ :instance_ids,
2675
+ :client_token,
2676
+ :dry_run)
2677
+ SENSITIVE = []
2678
+ include Aws::Structure
2679
+ end
2680
+
2681
+ # @!attribute [rw] successful_results
2682
+ # The associations that were successfully created.
2683
+ # @return [Array<Types::SuccessfulAssociationResponseObject>]
2684
+ #
2685
+ # @!attribute [rw] unsuccessful_results
2686
+ # The associations that failed to be created.
2687
+ # @return [Array<Types::UnsuccessfulAssociationResponseObject>]
2688
+ #
2689
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateApplicationStatusCheckResult AWS API Documentation
2690
+ #
2691
+ class AssociateApplicationStatusCheckResult < Struct.new(
2692
+ :successful_results,
2693
+ :unsuccessful_results)
2694
+ SENSITIVE = []
2695
+ include Aws::Structure
2696
+ end
2697
+
2251
2698
  # @!attribute [rw] dry_run
2252
2699
  # Checks whether you have the required permissions for the action,
2253
2700
  # without actually making the request, and provides an error response.
@@ -9061,6 +9508,146 @@ module Aws::EC2
9061
9508
  include Aws::Structure
9062
9509
  end
9063
9510
 
9511
+ # @!attribute [rw] health_check_paths
9512
+ # The health check paths to use for the application status check.
9513
+ # Health check paths define the network path from a source subnet to
9514
+ # one or more destination subnets for cross-Availability Zone or
9515
+ # Availability Zone to Local Zone health checking. If omitted, health
9516
+ # checks are performed in the same subnet as the instance.
9517
+ # @return [Array<Types::HealthCheckPathRequestObject>]
9518
+ #
9519
+ # @!attribute [rw] aggregation
9520
+ # The aggregation setting for the application status check. When set
9521
+ # to `included`, the result of this check contributes to the
9522
+ # instance-level application status reported by
9523
+ # `DescribeApplicationStatus`. When set to `excluded`, the check runs
9524
+ # independently and does not affect the instance-level status. Valid
9525
+ # values: `included` \| `excluded`.
9526
+ # @return [String]
9527
+ #
9528
+ # @!attribute [rw] protocol
9529
+ # The protocol to use for the health check. Valid values: `http` \|
9530
+ # `https`.
9531
+ # @return [String]
9532
+ #
9533
+ # @!attribute [rw] port
9534
+ # The port to use for the health check. Valid values: 1 to 65535.
9535
+ # @return [Integer]
9536
+ #
9537
+ # @!attribute [rw] path
9538
+ # The URL path to use for the health check HTTP request (for example,
9539
+ # `/health` or `/status`).
9540
+ # @return [String]
9541
+ #
9542
+ # @!attribute [rw] device_index
9543
+ # The index of the network device to use for the health check. The
9544
+ # value must be greater than or equal to 0.
9545
+ # @return [Integer]
9546
+ #
9547
+ # @!attribute [rw] ip_version
9548
+ # The IP version to use for the health check. Valid values: `ipv4` and
9549
+ # `ipv6`.
9550
+ # @return [String]
9551
+ #
9552
+ # @!attribute [rw] ip_scope
9553
+ # The IP scope to use for the health check. Valid value: `private`.
9554
+ # @return [String]
9555
+ #
9556
+ # @!attribute [rw] interval
9557
+ # The interval, in seconds, between health checks. Valid value: 60.
9558
+ # @return [Integer]
9559
+ #
9560
+ # @!attribute [rw] timeout
9561
+ # The amount of time, in seconds, to wait for a health check response
9562
+ # before considering it failed. Valid values: 1 to 30. The value must
9563
+ # be less than `Interval`.
9564
+ # @return [Integer]
9565
+ #
9566
+ # @!attribute [rw] failure_threshold
9567
+ # The number of consecutive failed health checks before the
9568
+ # application status is considered impaired. The value must be greater
9569
+ # than 0.
9570
+ # @return [Integer]
9571
+ #
9572
+ # @!attribute [rw] success_threshold
9573
+ # The number of consecutive successful health checks before the
9574
+ # application status is considered healthy. The value must be greater
9575
+ # than 0.
9576
+ # @return [Integer]
9577
+ #
9578
+ # @!attribute [rw] status_code_matcher
9579
+ # The HTTP status codes that indicate a successful health check
9580
+ # response. Specify a comma-separated list of individual status codes
9581
+ # or ranges, for example, `200,202,300-399`. For a range, the first
9582
+ # value must be less than the second value. Maximum length: 64
9583
+ # characters. Default: `200`.
9584
+ # @return [String]
9585
+ #
9586
+ # @!attribute [rw] initialization_grace_period_seconds
9587
+ # The number of seconds to wait before starting health checks after an
9588
+ # instance is launched. Valid values: 1 to 600.
9589
+ # @return [Integer]
9590
+ #
9591
+ # @!attribute [rw] tag_specifications
9592
+ # The tags to apply to the application status check.
9593
+ # @return [Array<Types::TagSpecification>]
9594
+ #
9595
+ # @!attribute [rw] client_token
9596
+ # Unique, case-sensitive identifier that you provide to ensure the
9597
+ # idempotency of the request. For more information, see [Ensuring
9598
+ # idempotency][1].
9599
+ #
9600
+ # **A suitable default value is auto-generated.** You should normally
9601
+ # not need to pass this option.
9602
+ #
9603
+ #
9604
+ #
9605
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
9606
+ # @return [String]
9607
+ #
9608
+ # @!attribute [rw] dry_run
9609
+ # Checks whether you have the required permissions for the operation,
9610
+ # without actually making the request, and provides an error response.
9611
+ # If you have the required permissions, the error response is
9612
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
9613
+ # @return [Boolean]
9614
+ #
9615
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateApplicationStatusCheckRequest AWS API Documentation
9616
+ #
9617
+ class CreateApplicationStatusCheckRequest < Struct.new(
9618
+ :health_check_paths,
9619
+ :aggregation,
9620
+ :protocol,
9621
+ :port,
9622
+ :path,
9623
+ :device_index,
9624
+ :ip_version,
9625
+ :ip_scope,
9626
+ :interval,
9627
+ :timeout,
9628
+ :failure_threshold,
9629
+ :success_threshold,
9630
+ :status_code_matcher,
9631
+ :initialization_grace_period_seconds,
9632
+ :tag_specifications,
9633
+ :client_token,
9634
+ :dry_run)
9635
+ SENSITIVE = []
9636
+ include Aws::Structure
9637
+ end
9638
+
9639
+ # @!attribute [rw] application_status_check
9640
+ # Information about the application status check.
9641
+ # @return [Types::ApplicationStatusCheckResponseObject]
9642
+ #
9643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateApplicationStatusCheckResult AWS API Documentation
9644
+ #
9645
+ class CreateApplicationStatusCheckResult < Struct.new(
9646
+ :application_status_check)
9647
+ SENSITIVE = []
9648
+ include Aws::Structure
9649
+ end
9650
+
9064
9651
  # @!attribute [rw] s3_bucket_name
9065
9652
  # The name of the S3 bucket where the capacity data export files will
9066
9653
  # be delivered. The bucket must exist and you must have write
@@ -10793,7 +11380,7 @@ module Aws::EC2
10793
11380
  # type is `VPC`, specify the IDs of the VPCs.
10794
11381
  #
10795
11382
  # Constraints: Maximum of 25 for transit gateway resource types.
10796
- # Maximum of 1000 for the other resource types.
11383
+ # Maximum of 300 for the other resource types.
10797
11384
  # @return [Array<String>]
10798
11385
  #
10799
11386
  # @!attribute [rw] resource_type
@@ -17964,6 +18551,46 @@ module Aws::EC2
17964
18551
  include Aws::Structure
17965
18552
  end
17966
18553
 
18554
+ # Describes a tag key-value pair for an application status check
18555
+ # association request.
18556
+ #
18557
+ # @!attribute [rw] key
18558
+ # The key of the tag.
18559
+ # @return [String]
18560
+ #
18561
+ # @!attribute [rw] value
18562
+ # The value of the tag.
18563
+ # @return [String]
18564
+ #
18565
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CustomTagKeyValueRequestPair AWS API Documentation
18566
+ #
18567
+ class CustomTagKeyValueRequestPair < Struct.new(
18568
+ :key,
18569
+ :value)
18570
+ SENSITIVE = []
18571
+ include Aws::Structure
18572
+ end
18573
+
18574
+ # Describes a tag key-value pair for an application status check
18575
+ # association.
18576
+ #
18577
+ # @!attribute [rw] key
18578
+ # The key of the tag.
18579
+ # @return [String]
18580
+ #
18581
+ # @!attribute [rw] value
18582
+ # The value of the tag.
18583
+ # @return [String]
18584
+ #
18585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CustomTagKeyValueResponsePair AWS API Documentation
18586
+ #
18587
+ class CustomTagKeyValueResponsePair < Struct.new(
18588
+ :key,
18589
+ :value)
18590
+ SENSITIVE = []
18591
+ include Aws::Structure
18592
+ end
18593
+
17967
18594
  # Describes a customer gateway.
17968
18595
  #
17969
18596
  # @!attribute [rw] certificate_arn
@@ -18216,6 +18843,52 @@ module Aws::EC2
18216
18843
  include Aws::Structure
18217
18844
  end
18218
18845
 
18846
+ # @!attribute [rw] application_status_check_id
18847
+ # The ID of the application status check to delete.
18848
+ # @return [String]
18849
+ #
18850
+ # @!attribute [rw] client_token
18851
+ # Unique, case-sensitive identifier that you provide to ensure the
18852
+ # idempotency of the request. For more information, see [Ensuring
18853
+ # idempotency][1].
18854
+ #
18855
+ # **A suitable default value is auto-generated.** You should normally
18856
+ # not need to pass this option.
18857
+ #
18858
+ #
18859
+ #
18860
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
18861
+ # @return [String]
18862
+ #
18863
+ # @!attribute [rw] dry_run
18864
+ # Checks whether you have the required permissions for the operation,
18865
+ # without actually making the request, and provides an error response.
18866
+ # If you have the required permissions, the error response is
18867
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18868
+ # @return [Boolean]
18869
+ #
18870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteApplicationStatusCheckRequest AWS API Documentation
18871
+ #
18872
+ class DeleteApplicationStatusCheckRequest < Struct.new(
18873
+ :application_status_check_id,
18874
+ :client_token,
18875
+ :dry_run)
18876
+ SENSITIVE = []
18877
+ include Aws::Structure
18878
+ end
18879
+
18880
+ # @!attribute [rw] application_status_check
18881
+ # Information about the deleted application status check.
18882
+ # @return [Types::ApplicationStatusCheckResponseObject]
18883
+ #
18884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteApplicationStatusCheckResult AWS API Documentation
18885
+ #
18886
+ class DeleteApplicationStatusCheckResult < Struct.new(
18887
+ :application_status_check)
18888
+ SENSITIVE = []
18889
+ include Aws::Structure
18890
+ end
18891
+
18219
18892
  # @!attribute [rw] capacity_manager_data_export_id
18220
18893
  # The unique identifier of the data export configuration to delete.
18221
18894
  # @return [String]
@@ -22207,6 +22880,221 @@ module Aws::EC2
22207
22880
  include Aws::Structure
22208
22881
  end
22209
22882
 
22883
+ # @!attribute [rw] application_status_check_ids
22884
+ # The IDs of the application status checks for which to describe
22885
+ # associations.
22886
+ # @return [Array<String>]
22887
+ #
22888
+ # @!attribute [rw] filters
22889
+ # The filters to use to limit the results.
22890
+ #
22891
+ # * `association-type` – The type of association. Valid values: `tag`
22892
+ # and `instance-id`.
22893
+ #
22894
+ # ^
22895
+ # @return [Array<Types::Filter>]
22896
+ #
22897
+ # @!attribute [rw] max_results
22898
+ # The maximum number of items to return for this request. To get the
22899
+ # next page of items, make another request with the token returned in
22900
+ # the output. For more information, see [Pagination][1].
22901
+ #
22902
+ #
22903
+ #
22904
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
22905
+ # @return [Integer]
22906
+ #
22907
+ # @!attribute [rw] next_token
22908
+ # The token returned from a previous paginated request. Pagination
22909
+ # continues from the end of the items returned by the previous
22910
+ # request.
22911
+ # @return [String]
22912
+ #
22913
+ # @!attribute [rw] dry_run
22914
+ # Checks whether you have the required permissions for the operation,
22915
+ # without actually making the request, and provides an error response.
22916
+ # If you have the required permissions, the error response is
22917
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22918
+ # @return [Boolean]
22919
+ #
22920
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeApplicationStatusCheckAssociationsRequest AWS API Documentation
22921
+ #
22922
+ class DescribeApplicationStatusCheckAssociationsRequest < Struct.new(
22923
+ :application_status_check_ids,
22924
+ :filters,
22925
+ :max_results,
22926
+ :next_token,
22927
+ :dry_run)
22928
+ SENSITIVE = []
22929
+ include Aws::Structure
22930
+ end
22931
+
22932
+ # @!attribute [rw] associations
22933
+ # The associations for the specified application status checks.
22934
+ # @return [Array<Types::ApplicationStatusCheckAssociationObject>]
22935
+ #
22936
+ # @!attribute [rw] next_token
22937
+ # The token to include in another request to get the next page of
22938
+ # items. This value is &lt;code&gt;null&lt;/code&gt; when there are no
22939
+ # more items to return.
22940
+ # @return [String]
22941
+ #
22942
+ # @!attribute [rw] tags
22943
+ # The tags associated with the application status checks.
22944
+ # @return [Array<Types::Tag>]
22945
+ #
22946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeApplicationStatusCheckAssociationsResult AWS API Documentation
22947
+ #
22948
+ class DescribeApplicationStatusCheckAssociationsResult < Struct.new(
22949
+ :associations,
22950
+ :next_token,
22951
+ :tags)
22952
+ SENSITIVE = []
22953
+ include Aws::Structure
22954
+ end
22955
+
22956
+ # @!attribute [rw] application_status_check_ids
22957
+ # The IDs of the application status checks to describe.
22958
+ # @return [Array<String>]
22959
+ #
22960
+ # @!attribute [rw] filters
22961
+ # The filters.
22962
+ #
22963
+ # * `aggregation` – The aggregation setting. Valid values: `included`
22964
+ # and `excluded`.
22965
+ #
22966
+ # ^
22967
+ # @return [Array<Types::Filter>]
22968
+ #
22969
+ # @!attribute [rw] max_results
22970
+ # The maximum number of items to return for this request. To get the
22971
+ # next page of items, make another request with the token returned in
22972
+ # the output. For more information, see [Pagination][1].
22973
+ #
22974
+ #
22975
+ #
22976
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
22977
+ # @return [Integer]
22978
+ #
22979
+ # @!attribute [rw] next_token
22980
+ # The token returned from a previous paginated request. Pagination
22981
+ # continues from the end of the items returned by the previous
22982
+ # request.
22983
+ # @return [String]
22984
+ #
22985
+ # @!attribute [rw] include_all
22986
+ # Specifies whether to include recently deleted application status
22987
+ # checks that remain available during the deletion grace period. If
22988
+ # you omit this parameter or set it to `false`, the response includes
22989
+ # only active checks.
22990
+ # @return [Boolean]
22991
+ #
22992
+ # @!attribute [rw] dry_run
22993
+ # Checks whether you have the required permissions for the operation,
22994
+ # without actually making the request, and provides an error response.
22995
+ # If you have the required permissions, the error response is
22996
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22997
+ # @return [Boolean]
22998
+ #
22999
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeApplicationStatusChecksRequest AWS API Documentation
23000
+ #
23001
+ class DescribeApplicationStatusChecksRequest < Struct.new(
23002
+ :application_status_check_ids,
23003
+ :filters,
23004
+ :max_results,
23005
+ :next_token,
23006
+ :include_all,
23007
+ :dry_run)
23008
+ SENSITIVE = []
23009
+ include Aws::Structure
23010
+ end
23011
+
23012
+ # @!attribute [rw] application_status_checks
23013
+ # Information about the application status checks.
23014
+ # @return [Array<Types::ApplicationStatusCheckResponseObject>]
23015
+ #
23016
+ # @!attribute [rw] next_token
23017
+ # The token to include in another request to get the next page of
23018
+ # items. This value is &lt;code&gt;null&lt;/code&gt; when there are no
23019
+ # more items to return.
23020
+ # @return [String]
23021
+ #
23022
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeApplicationStatusChecksResult AWS API Documentation
23023
+ #
23024
+ class DescribeApplicationStatusChecksResult < Struct.new(
23025
+ :application_status_checks,
23026
+ :next_token)
23027
+ SENSITIVE = []
23028
+ include Aws::Structure
23029
+ end
23030
+
23031
+ # @!attribute [rw] instance_ids
23032
+ # The IDs of the instances for which to describe application status.
23033
+ # @return [Array<String>]
23034
+ #
23035
+ # @!attribute [rw] filters
23036
+ # The filters.
23037
+ #
23038
+ # * `availability-zone-id` – The ID of the Availability Zone.
23039
+ #
23040
+ # * `status` – The instance-level application status. For valid values
23041
+ # and their meanings, see `ApplicationStatus`.
23042
+ # @return [Array<Types::Filter>]
23043
+ #
23044
+ # @!attribute [rw] max_results
23045
+ # The maximum number of items to return for this request. To get the
23046
+ # next page of items, make another request with the token returned in
23047
+ # the output. For more information, see [Pagination][1].
23048
+ #
23049
+ #
23050
+ #
23051
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
23052
+ # @return [Integer]
23053
+ #
23054
+ # @!attribute [rw] next_token
23055
+ # The token returned from a previous paginated request. Pagination
23056
+ # continues from the end of the items returned by the previous
23057
+ # request.
23058
+ # @return [String]
23059
+ #
23060
+ # @!attribute [rw] dry_run
23061
+ # Checks whether you have the required permissions for the operation,
23062
+ # without actually making the request, and provides an error response.
23063
+ # If you have the required permissions, the error response is
23064
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
23065
+ # @return [Boolean]
23066
+ #
23067
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeApplicationStatusRequest AWS API Documentation
23068
+ #
23069
+ class DescribeApplicationStatusRequest < Struct.new(
23070
+ :instance_ids,
23071
+ :filters,
23072
+ :max_results,
23073
+ :next_token,
23074
+ :dry_run)
23075
+ SENSITIVE = []
23076
+ include Aws::Structure
23077
+ end
23078
+
23079
+ # @!attribute [rw] application_statuses
23080
+ # The application statuses for the specified instances.
23081
+ # @return [Types::ApplicationStatusesResponseType]
23082
+ #
23083
+ # @!attribute [rw] next_token
23084
+ # The token to include in another request to get the next page of
23085
+ # items. This value is &lt;code&gt;null&lt;/code&gt; when there are no
23086
+ # more items to return.
23087
+ # @return [String]
23088
+ #
23089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeApplicationStatusResult AWS API Documentation
23090
+ #
23091
+ class DescribeApplicationStatusResult < Struct.new(
23092
+ :application_statuses,
23093
+ :next_token)
23094
+ SENSITIVE = []
23095
+ include Aws::Structure
23096
+ end
23097
+
22210
23098
  # @!attribute [rw] zone_names
22211
23099
  # The names of the Availability Zones, Local Zones, and Wavelength
22212
23100
  # Zones.
@@ -23146,7 +24034,7 @@ module Aws::EC2
23146
24034
  #
23147
24035
  # Default: Describes all your Capacity Reservations.
23148
24036
  #
23149
- # Constraints: Maximum 100 explicitly specified Capacity Reservation
24037
+ # Constraints: Maximum 10 explicitly specified Capacity Reservation
23150
24038
  # IDs.
23151
24039
  # @return [Array<String>]
23152
24040
  #
@@ -26840,6 +27728,10 @@ module Aws::EC2
26840
27728
  # * `attached-ebs-status.status` - The status of the attached EBS
26841
27729
  # volume for the instance (`ok` \| `impaired` \| `initializing` \|
26842
27730
  # `insufficient-data` \| `not-applicable`).
27731
+ #
27732
+ # * `application-status.status` - The application status of the
27733
+ # instance (`ok` \| `impaired` \| `initializing` \|
27734
+ # `insufficient-data` \| `not-applicable`).
26843
27735
  # @return [Array<Types::Filter>]
26844
27736
  #
26845
27737
  # @!attribute [rw] include_all_instances
@@ -37255,6 +38147,58 @@ module Aws::EC2
37255
38147
  include Aws::Structure
37256
38148
  end
37257
38149
 
38150
+ # @!attribute [rw] instance_ids
38151
+ # The IDs of the instances for which to disable application status
38152
+ # check suppression.
38153
+ # @return [Array<String>]
38154
+ #
38155
+ # @!attribute [rw] client_token
38156
+ # Unique, case-sensitive identifier that you provide to ensure the
38157
+ # idempotency of the request. For more information, see [Ensuring
38158
+ # idempotency][1].
38159
+ #
38160
+ # **A suitable default value is auto-generated.** You should normally
38161
+ # not need to pass this option.
38162
+ #
38163
+ #
38164
+ #
38165
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
38166
+ # @return [String]
38167
+ #
38168
+ # @!attribute [rw] dry_run
38169
+ # Checks whether you have the required permissions for the operation,
38170
+ # without actually making the request, and provides an error response.
38171
+ # If you have the required permissions, the error response is
38172
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
38173
+ # @return [Boolean]
38174
+ #
38175
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableApplicationStatusCheckSuppressionRequest AWS API Documentation
38176
+ #
38177
+ class DisableApplicationStatusCheckSuppressionRequest < Struct.new(
38178
+ :instance_ids,
38179
+ :client_token,
38180
+ :dry_run)
38181
+ SENSITIVE = []
38182
+ include Aws::Structure
38183
+ end
38184
+
38185
+ # @!attribute [rw] successful_results
38186
+ # The instances for which suppression was successfully disabled.
38187
+ # @return [Array<Types::SuccessfulSuppressionResponseObject>]
38188
+ #
38189
+ # @!attribute [rw] unsuccessful_results
38190
+ # The instances for which suppression failed to be disabled.
38191
+ # @return [Array<Types::UnsuccessfulSuppressionResponseObject>]
38192
+ #
38193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableApplicationStatusCheckSuppressionResult AWS API Documentation
38194
+ #
38195
+ class DisableApplicationStatusCheckSuppressionResult < Struct.new(
38196
+ :successful_results,
38197
+ :unsuccessful_results)
38198
+ SENSITIVE = []
38199
+ include Aws::Structure
38200
+ end
38201
+
37258
38202
  # @!attribute [rw] source
37259
38203
  # The source Region or Availability Zone that the metric subscription
37260
38204
  # is disabled for. For example, `us-east-1`.
@@ -38154,6 +39098,73 @@ module Aws::EC2
38154
39098
  include Aws::Structure
38155
39099
  end
38156
39100
 
39101
+ # @!attribute [rw] application_status_check_id
39102
+ # The ID of the application status check to disassociate.
39103
+ # @return [String]
39104
+ #
39105
+ # @!attribute [rw] target_tag_associations
39106
+ # The [tags][1] to disassociate from the application status check.
39107
+ # Specify the same key-value pairs that were used during association.
39108
+ #
39109
+ #
39110
+ #
39111
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
39112
+ # @return [Array<Types::CustomTagKeyValueRequestPair>]
39113
+ #
39114
+ # @!attribute [rw] instance_ids
39115
+ # The IDs of the instances to disassociate from the application status
39116
+ # check.
39117
+ # @return [Array<String>]
39118
+ #
39119
+ # @!attribute [rw] client_token
39120
+ # Unique, case-sensitive identifier that you provide to ensure the
39121
+ # idempotency of the request. For more information, see [Ensuring
39122
+ # idempotency][1].
39123
+ #
39124
+ # **A suitable default value is auto-generated.** You should normally
39125
+ # not need to pass this option.
39126
+ #
39127
+ #
39128
+ #
39129
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
39130
+ # @return [String]
39131
+ #
39132
+ # @!attribute [rw] dry_run
39133
+ # Checks whether you have the required permissions for the operation,
39134
+ # without actually making the request, and provides an error response.
39135
+ # If you have the required permissions, the error response is
39136
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
39137
+ # @return [Boolean]
39138
+ #
39139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateApplicationStatusCheckRequest AWS API Documentation
39140
+ #
39141
+ class DisassociateApplicationStatusCheckRequest < Struct.new(
39142
+ :application_status_check_id,
39143
+ :target_tag_associations,
39144
+ :instance_ids,
39145
+ :client_token,
39146
+ :dry_run)
39147
+ SENSITIVE = []
39148
+ include Aws::Structure
39149
+ end
39150
+
39151
+ # @!attribute [rw] successful_results
39152
+ # The associations that were successfully removed.
39153
+ # @return [Array<Types::SuccessfulAssociationResponseObject>]
39154
+ #
39155
+ # @!attribute [rw] unsuccessful_results
39156
+ # The associations that failed to be removed.
39157
+ # @return [Array<Types::UnsuccessfulAssociationResponseObject>]
39158
+ #
39159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateApplicationStatusCheckResult AWS API Documentation
39160
+ #
39161
+ class DisassociateApplicationStatusCheckResult < Struct.new(
39162
+ :successful_results,
39163
+ :unsuccessful_results)
39164
+ SENSITIVE = []
39165
+ include Aws::Structure
39166
+ end
39167
+
38157
39168
  # @!attribute [rw] dry_run
38158
39169
  # Checks whether you have the required permissions for the action,
38159
39170
  # without actually making the request, and provides an error response.
@@ -40210,6 +41221,66 @@ module Aws::EC2
40210
41221
  include Aws::Structure
40211
41222
  end
40212
41223
 
41224
+ # @!attribute [rw] instance_ids
41225
+ # The IDs of the instances for which to suppress application status
41226
+ # checks.
41227
+ # @return [Array<String>]
41228
+ #
41229
+ # @!attribute [rw] duration_seconds
41230
+ # The duration, in seconds, for which to suppress application status
41231
+ # checks. If omitted, the application status check is suppressed
41232
+ # indefinitely until you call
41233
+ # `DisableApplicationStatusCheckSuppression`.
41234
+ # @return [Integer]
41235
+ #
41236
+ # @!attribute [rw] client_token
41237
+ # Unique, case-sensitive identifier that you provide to ensure the
41238
+ # idempotency of the request. For more information, see [Ensuring
41239
+ # idempotency][1].
41240
+ #
41241
+ # **A suitable default value is auto-generated.** You should normally
41242
+ # not need to pass this option.
41243
+ #
41244
+ #
41245
+ #
41246
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
41247
+ # @return [String]
41248
+ #
41249
+ # @!attribute [rw] dry_run
41250
+ # Checks whether you have the required permissions for the operation,
41251
+ # without actually making the request, and provides an error response.
41252
+ # If you have the required permissions, the error response is
41253
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
41254
+ # @return [Boolean]
41255
+ #
41256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableApplicationStatusCheckSuppressionRequest AWS API Documentation
41257
+ #
41258
+ class EnableApplicationStatusCheckSuppressionRequest < Struct.new(
41259
+ :instance_ids,
41260
+ :duration_seconds,
41261
+ :client_token,
41262
+ :dry_run)
41263
+ SENSITIVE = []
41264
+ include Aws::Structure
41265
+ end
41266
+
41267
+ # @!attribute [rw] successful_results
41268
+ # The instances for which suppression was successfully enabled.
41269
+ # @return [Array<Types::SuccessfulSuppressionResponseObject>]
41270
+ #
41271
+ # @!attribute [rw] unsuccessful_results
41272
+ # The instances for which suppression failed to be enabled.
41273
+ # @return [Array<Types::UnsuccessfulSuppressionResponseObject>]
41274
+ #
41275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableApplicationStatusCheckSuppressionResult AWS API Documentation
41276
+ #
41277
+ class EnableApplicationStatusCheckSuppressionResult < Struct.new(
41278
+ :successful_results,
41279
+ :unsuccessful_results)
41280
+ SENSITIVE = []
41281
+ include Aws::Structure
41282
+ end
41283
+
40213
41284
  # @!attribute [rw] source
40214
41285
  # The source Region (like `us-east-1`) or Availability Zone ID (like
40215
41286
  # `use1-az1`) that the metric subscription is enabled for. If you use
@@ -47123,6 +48194,14 @@ module Aws::EC2
47123
48194
  # request.
47124
48195
  # @return [String]
47125
48196
  #
48197
+ # @!attribute [rw] include_local_zones
48198
+ # Specify `true` so that the response returns scores that include
48199
+ # Local Zones. Otherwise, the response ignores Local Zones.
48200
+ #
48201
+ # When you request regional scores, Local Zone capacity counts toward
48202
+ # its parent Region.
48203
+ # @return [Boolean]
48204
+ #
47126
48205
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSpotPlacementScoresRequest AWS API Documentation
47127
48206
  #
47128
48207
  class GetSpotPlacementScoresRequest < Struct.new(
@@ -47134,7 +48213,8 @@ module Aws::EC2
47134
48213
  :instance_requirements_with_metadata,
47135
48214
  :dry_run,
47136
48215
  :max_results,
47137
- :next_token)
48216
+ :next_token,
48217
+ :include_local_zones)
47138
48218
  SENSITIVE = []
47139
48219
  include Aws::Structure
47140
48220
  end
@@ -48227,6 +49307,125 @@ module Aws::EC2
48227
49307
  include Aws::Structure
48228
49308
  end
48229
49309
 
49310
+ # Describes a destination for a health check path in a request.
49311
+ # Destinations can be in a different Availability Zone than the source
49312
+ # (cross-AZ) or in a Local Zone (AZ to Local Zone), enabling remote
49313
+ # health validation of your application.
49314
+ #
49315
+ # @!attribute [rw] subnet_id
49316
+ # The ID of the subnet for the destination.
49317
+ # @return [String]
49318
+ #
49319
+ # @!attribute [rw] security_group_id
49320
+ # The ID of the security group for the destination.
49321
+ # @return [String]
49322
+ #
49323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HealthCheckPathDestinationRequestObject AWS API Documentation
49324
+ #
49325
+ class HealthCheckPathDestinationRequestObject < Struct.new(
49326
+ :subnet_id,
49327
+ :security_group_id)
49328
+ SENSITIVE = []
49329
+ include Aws::Structure
49330
+ end
49331
+
49332
+ # Describes a destination for a health check path.
49333
+ #
49334
+ # @!attribute [rw] subnet_id
49335
+ # The ID of the subnet for the destination.
49336
+ # @return [String]
49337
+ #
49338
+ # @!attribute [rw] security_group_id
49339
+ # The ID of the security group for the destination.
49340
+ # @return [String]
49341
+ #
49342
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HealthCheckPathDestinationResponseObject AWS API Documentation
49343
+ #
49344
+ class HealthCheckPathDestinationResponseObject < Struct.new(
49345
+ :subnet_id,
49346
+ :security_group_id)
49347
+ SENSITIVE = []
49348
+ include Aws::Structure
49349
+ end
49350
+
49351
+ # Describes a health check path for an application status check request.
49352
+ #
49353
+ # @!attribute [rw] source
49354
+ # The source for the health check path.
49355
+ # @return [Types::HealthCheckPathSourceRequestObject]
49356
+ #
49357
+ # @!attribute [rw] destinations
49358
+ # The destinations for the health check path.
49359
+ # @return [Array<Types::HealthCheckPathDestinationRequestObject>]
49360
+ #
49361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HealthCheckPathRequestObject AWS API Documentation
49362
+ #
49363
+ class HealthCheckPathRequestObject < Struct.new(
49364
+ :source,
49365
+ :destinations)
49366
+ SENSITIVE = []
49367
+ include Aws::Structure
49368
+ end
49369
+
49370
+ # Describes a health check path for an application status check.
49371
+ #
49372
+ # @!attribute [rw] source
49373
+ # The source for the health check path.
49374
+ # @return [Types::HealthCheckPathSourceResponseObject]
49375
+ #
49376
+ # @!attribute [rw] destinations
49377
+ # The destinations for the health check path.
49378
+ # @return [Array<Types::HealthCheckPathDestinationResponseObject>]
49379
+ #
49380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HealthCheckPathResponseObject AWS API Documentation
49381
+ #
49382
+ class HealthCheckPathResponseObject < Struct.new(
49383
+ :source,
49384
+ :destinations)
49385
+ SENSITIVE = []
49386
+ include Aws::Structure
49387
+ end
49388
+
49389
+ # Describes the source for a health check path in a request. The source
49390
+ # defines the subnet and security group where a health check elastic
49391
+ # network interface (ENI) is created to originate health check traffic.
49392
+ #
49393
+ # @!attribute [rw] subnet_id
49394
+ # The ID of the subnet for the source.
49395
+ # @return [String]
49396
+ #
49397
+ # @!attribute [rw] security_group_id
49398
+ # The ID of the security group for the source.
49399
+ # @return [String]
49400
+ #
49401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HealthCheckPathSourceRequestObject AWS API Documentation
49402
+ #
49403
+ class HealthCheckPathSourceRequestObject < Struct.new(
49404
+ :subnet_id,
49405
+ :security_group_id)
49406
+ SENSITIVE = []
49407
+ include Aws::Structure
49408
+ end
49409
+
49410
+ # Describes the source for a health check path.
49411
+ #
49412
+ # @!attribute [rw] subnet_id
49413
+ # The ID of the subnet for the source.
49414
+ # @return [String]
49415
+ #
49416
+ # @!attribute [rw] security_group_id
49417
+ # The ID of the security group for the source.
49418
+ # @return [String]
49419
+ #
49420
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HealthCheckPathSourceResponseObject AWS API Documentation
49421
+ #
49422
+ class HealthCheckPathSourceResponseObject < Struct.new(
49423
+ :subnet_id,
49424
+ :security_group_id)
49425
+ SENSITIVE = []
49426
+ include Aws::Structure
49427
+ end
49428
+
48230
49429
  # Indicates whether your instance is configured for hibernation. This
48231
49430
  # parameter is valid only if the instance meets the [hibernation
48232
49431
  # prerequisites][1]. For more information, see [Hibernate your Amazon
@@ -51470,6 +52669,40 @@ module Aws::EC2
51470
52669
  include Aws::Structure
51471
52670
  end
51472
52671
 
52672
+ # Describes the application status for an instance.
52673
+ #
52674
+ # @!attribute [rw] instance_id
52675
+ # The ID of the instance.
52676
+ # @return [String]
52677
+ #
52678
+ # @!attribute [rw] availability_zone
52679
+ # The Availability Zone of the instance.
52680
+ # @return [String]
52681
+ #
52682
+ # @!attribute [rw] availability_zone_id
52683
+ # The ID of the Availability Zone of the instance.
52684
+ # @return [String]
52685
+ #
52686
+ # @!attribute [rw] application_status
52687
+ # The application status for the instance.
52688
+ # @return [Types::ApplicationStatus]
52689
+ #
52690
+ # @!attribute [rw] tags
52691
+ # The tags assigned to the instance.
52692
+ # @return [Array<Types::Tag>]
52693
+ #
52694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceApplicationStatus AWS API Documentation
52695
+ #
52696
+ class InstanceApplicationStatus < Struct.new(
52697
+ :instance_id,
52698
+ :availability_zone,
52699
+ :availability_zone_id,
52700
+ :application_status,
52701
+ :tags)
52702
+ SENSITIVE = []
52703
+ include Aws::Structure
52704
+ end
52705
+
51473
52706
  # ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD)
51474
52707
  # technology to increase the maximum bandwidth used per stream and
51475
52708
  # minimize tail latency of network traffic between EC2 instances. With
@@ -54375,7 +55608,8 @@ module Aws::EC2
54375
55608
  include Aws::Structure
54376
55609
  end
54377
55610
 
54378
- # Describes the status of an instance.
55611
+ # Describes the status of an instance, including system status, instance
55612
+ # status, attached EBS status, and application status.
54379
55613
  #
54380
55614
  # @!attribute [rw] availability_zone
54381
55615
  # The Availability Zone of the instance.
@@ -54423,6 +55657,11 @@ module Aws::EC2
54423
55657
  # operations.
54424
55658
  # @return [Types::EbsStatusSummary]
54425
55659
  #
55660
+ # @!attribute [rw] application_status
55661
+ # Reports impaired functionality that stems from issues with
55662
+ # applications running on the instance.
55663
+ # @return [Types::ApplicationStatusSummary]
55664
+ #
54426
55665
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatus AWS API Documentation
54427
55666
  #
54428
55667
  class InstanceStatus < Struct.new(
@@ -54435,7 +55674,8 @@ module Aws::EC2
54435
55674
  :instance_state,
54436
55675
  :instance_status,
54437
55676
  :system_status,
54438
- :attached_ebs_status)
55677
+ :attached_ebs_status,
55678
+ :application_status)
54439
55679
  SENSITIVE = []
54440
55680
  include Aws::Structure
54441
55681
  end
@@ -61612,6 +62852,142 @@ module Aws::EC2
61612
62852
  include Aws::Structure
61613
62853
  end
61614
62854
 
62855
+ # @!attribute [rw] application_status_check_id
62856
+ # The ID of the application status check to modify.
62857
+ # @return [String]
62858
+ #
62859
+ # @!attribute [rw] aggregation
62860
+ # The aggregation setting for the application status check. When set
62861
+ # to `included`, the result of this check contributes to the
62862
+ # instance-level application status reported by
62863
+ # `DescribeApplicationStatus`. When set to `excluded`, the check runs
62864
+ # independently and does not affect the instance-level status. Valid
62865
+ # values: `included` \| `excluded`.
62866
+ # @return [String]
62867
+ #
62868
+ # @!attribute [rw] health_check_paths
62869
+ # The health check paths to use for the application status check.
62870
+ # @return [Array<Types::HealthCheckPathRequestObject>]
62871
+ #
62872
+ # @!attribute [rw] protocol
62873
+ # The protocol to use for the health check. Valid values: `http` \|
62874
+ # `https`.
62875
+ # @return [String]
62876
+ #
62877
+ # @!attribute [rw] port
62878
+ # The port to use for the health check. Valid values: 1 to 65535.
62879
+ # @return [Integer]
62880
+ #
62881
+ # @!attribute [rw] path
62882
+ # The URL path to use for the health check HTTP request (for example,
62883
+ # `/health` or `/status`).
62884
+ # @return [String]
62885
+ #
62886
+ # @!attribute [rw] device_index
62887
+ # The index of the network device to use for the health check. The
62888
+ # value must be greater than or equal to 0.
62889
+ # @return [Integer]
62890
+ #
62891
+ # @!attribute [rw] ip_version
62892
+ # The IP version to use for the health check. Valid values: `ipv4` and
62893
+ # `ipv6`.
62894
+ # @return [String]
62895
+ #
62896
+ # @!attribute [rw] ip_scope
62897
+ # The IP scope to use for the health check. Valid value: `private`.
62898
+ # @return [String]
62899
+ #
62900
+ # @!attribute [rw] interval
62901
+ # The interval, in seconds, between health checks. Valid value: 60.
62902
+ # @return [Integer]
62903
+ #
62904
+ # @!attribute [rw] timeout
62905
+ # The amount of time, in seconds, to wait for a health check response
62906
+ # before considering it failed. Valid values: 1 to 30. The value must
62907
+ # be less than `Interval`.
62908
+ # @return [Integer]
62909
+ #
62910
+ # @!attribute [rw] failure_threshold
62911
+ # The number of consecutive failed health checks before the
62912
+ # application status is considered impaired. The value must be greater
62913
+ # than 0.
62914
+ # @return [Integer]
62915
+ #
62916
+ # @!attribute [rw] success_threshold
62917
+ # The number of consecutive successful health checks before the
62918
+ # application status is considered healthy. The value must be greater
62919
+ # than 0.
62920
+ # @return [Integer]
62921
+ #
62922
+ # @!attribute [rw] status_code_matcher
62923
+ # The HTTP status codes that indicate a successful health check
62924
+ # response. Specify a comma-separated list of individual status codes
62925
+ # or ranges, for example, `200,202,300-399`. For a range, the first
62926
+ # value must be less than the second value. Maximum length: 64
62927
+ # characters.
62928
+ # @return [String]
62929
+ #
62930
+ # @!attribute [rw] initialization_grace_period_seconds
62931
+ # The number of seconds to wait before starting health checks after an
62932
+ # instance is launched. Valid values: 1 to 600.
62933
+ # @return [Integer]
62934
+ #
62935
+ # @!attribute [rw] client_token
62936
+ # Unique, case-sensitive identifier that you provide to ensure the
62937
+ # idempotency of the request. For more information, see [Ensuring
62938
+ # idempotency][1].
62939
+ #
62940
+ # **A suitable default value is auto-generated.** You should normally
62941
+ # not need to pass this option.
62942
+ #
62943
+ #
62944
+ #
62945
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
62946
+ # @return [String]
62947
+ #
62948
+ # @!attribute [rw] dry_run
62949
+ # Checks whether you have the required permissions for the operation,
62950
+ # without actually making the request, and provides an error response.
62951
+ # If you have the required permissions, the error response is
62952
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
62953
+ # @return [Boolean]
62954
+ #
62955
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyApplicationStatusCheckRequest AWS API Documentation
62956
+ #
62957
+ class ModifyApplicationStatusCheckRequest < Struct.new(
62958
+ :application_status_check_id,
62959
+ :aggregation,
62960
+ :health_check_paths,
62961
+ :protocol,
62962
+ :port,
62963
+ :path,
62964
+ :device_index,
62965
+ :ip_version,
62966
+ :ip_scope,
62967
+ :interval,
62968
+ :timeout,
62969
+ :failure_threshold,
62970
+ :success_threshold,
62971
+ :status_code_matcher,
62972
+ :initialization_grace_period_seconds,
62973
+ :client_token,
62974
+ :dry_run)
62975
+ SENSITIVE = []
62976
+ include Aws::Structure
62977
+ end
62978
+
62979
+ # @!attribute [rw] application_status_check
62980
+ # Information about the modified application status check.
62981
+ # @return [Types::ApplicationStatusCheckResponseObject]
62982
+ #
62983
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyApplicationStatusCheckResult AWS API Documentation
62984
+ #
62985
+ class ModifyApplicationStatusCheckResult < Struct.new(
62986
+ :application_status_check)
62987
+ SENSITIVE = []
62988
+ include Aws::Structure
62989
+ end
62990
+
61615
62991
  # @!attribute [rw] group_name
61616
62992
  # The name of the Availability Zone group, Local Zone group, or
61617
62993
  # Wavelength Zone group.
@@ -82306,6 +83682,31 @@ module Aws::EC2
82306
83682
  include Aws::Structure
82307
83683
  end
82308
83684
 
83685
+ # Describes a successful application status check association.
83686
+ #
83687
+ # @!attribute [rw] application_status_check_id
83688
+ # The ID of the application status check.
83689
+ # @return [String]
83690
+ #
83691
+ # @!attribute [rw] association_type
83692
+ # The type of association. Valid values: `EC2TAG` and `INSTANCE_ID`.
83693
+ # @return [String]
83694
+ #
83695
+ # @!attribute [rw] association_value
83696
+ # The association value. For `EC2TAG`, the value is formatted as
83697
+ # `key=value`. For `INSTANCE_ID`, the value is the instance ID.
83698
+ # @return [String]
83699
+ #
83700
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SuccessfulAssociationResponseObject AWS API Documentation
83701
+ #
83702
+ class SuccessfulAssociationResponseObject < Struct.new(
83703
+ :application_status_check_id,
83704
+ :association_type,
83705
+ :association_value)
83706
+ SENSITIVE = []
83707
+ include Aws::Structure
83708
+ end
83709
+
82309
83710
  # Describes the burstable performance instance whose credit option for
82310
83711
  # CPU usage was successfully modified.
82311
83712
  #
@@ -82336,6 +83737,30 @@ module Aws::EC2
82336
83737
  include Aws::Structure
82337
83738
  end
82338
83739
 
83740
+ # Describes a successful application status check suppression.
83741
+ #
83742
+ # @!attribute [rw] instance_id
83743
+ # The ID of the instance.
83744
+ # @return [String]
83745
+ #
83746
+ # @!attribute [rw] suppress_at
83747
+ # The date and time when suppression started.
83748
+ # @return [Time]
83749
+ #
83750
+ # @!attribute [rw] resume_at
83751
+ # The date and time when suppression ends and health checks resume.
83752
+ # @return [Time]
83753
+ #
83754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SuccessfulSuppressionResponseObject AWS API Documentation
83755
+ #
83756
+ class SuccessfulSuppressionResponseObject < Struct.new(
83757
+ :instance_id,
83758
+ :suppress_at,
83759
+ :resume_at)
83760
+ SENSITIVE = []
83761
+ include Aws::Structure
83762
+ end
83763
+
82339
83764
  # Describes a supported Region.
82340
83765
  #
82341
83766
  # @!attribute [rw] region
@@ -85438,6 +86863,36 @@ module Aws::EC2
85438
86863
  include Aws::Structure
85439
86864
  end
85440
86865
 
86866
+ # Describes an unsuccessful application status check association.
86867
+ #
86868
+ # @!attribute [rw] application_status_check_id
86869
+ # The ID of the application status check.
86870
+ # @return [String]
86871
+ #
86872
+ # @!attribute [rw] association_type
86873
+ # The type of association. Valid values: `EC2TAG` and `INSTANCE_ID`.
86874
+ # @return [String]
86875
+ #
86876
+ # @!attribute [rw] association_value
86877
+ # The association value. For `EC2TAG`, the value is formatted as
86878
+ # `key=value`. For `INSTANCE_ID`, the value is the instance ID.
86879
+ # @return [String]
86880
+ #
86881
+ # @!attribute [rw] reason
86882
+ # The reason the association failed.
86883
+ # @return [String]
86884
+ #
86885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulAssociationResponseObject AWS API Documentation
86886
+ #
86887
+ class UnsuccessfulAssociationResponseObject < Struct.new(
86888
+ :application_status_check_id,
86889
+ :association_type,
86890
+ :association_value,
86891
+ :reason)
86892
+ SENSITIVE = []
86893
+ include Aws::Structure
86894
+ end
86895
+
85441
86896
  # Describes the burstable performance instance whose credit option for
85442
86897
  # CPU usage was not modified.
85443
86898
  #
@@ -85523,6 +86978,35 @@ module Aws::EC2
85523
86978
  include Aws::Structure
85524
86979
  end
85525
86980
 
86981
+ # Describes an unsuccessful application status check suppression.
86982
+ #
86983
+ # @!attribute [rw] instance_id
86984
+ # The ID of the instance.
86985
+ # @return [String]
86986
+ #
86987
+ # @!attribute [rw] suppress_at
86988
+ # The date and time when suppression was attempted.
86989
+ # @return [Time]
86990
+ #
86991
+ # @!attribute [rw] resume_at
86992
+ # The date and time when health checks would have resumed.
86993
+ # @return [Time]
86994
+ #
86995
+ # @!attribute [rw] reason
86996
+ # The reason the suppression failed.
86997
+ # @return [String]
86998
+ #
86999
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulSuppressionResponseObject AWS API Documentation
87000
+ #
87001
+ class UnsuccessfulSuppressionResponseObject < Struct.new(
87002
+ :instance_id,
87003
+ :suppress_at,
87004
+ :resume_at,
87005
+ :reason)
87006
+ SENSITIVE = []
87007
+ include Aws::Structure
87008
+ end
87009
+
85526
87010
  # @!attribute [rw] activate_tag_keys
85527
87011
  # The tag keys to activate for monitoring. Once activated, these tag
85528
87012
  # keys will be included as dimensions in capacity metric data.