aws-sdk-lightsail 1.46.0 → 1.47.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7ce38c412145032c8a7a38cc5d1004cb5d55d6f368005e0fa7face87ab90fef
4
- data.tar.gz: 2b8d14545abd3060ca7dacab137ecfd87c53f859ccafdfd0a50977c9d0c348db
3
+ metadata.gz: 8c591b05e5200527367be7c7d4fe1d26c46ae5f2b867288d14a1b6f1daa8b20f
4
+ data.tar.gz: 7f69cf61adaafcc13969803337a715450eada3b4a8e09bd0c5f55493ff2b01b9
5
5
  SHA512:
6
- metadata.gz: bf7efd92f07eff3f558ae7c8cdcc00b94e8f03911f7d97f0b58a289830fd78b0bb92798f5b83e3a91fd5e632cc44c97308f47b0af82f515af9dc8c54b86b7097
7
- data.tar.gz: e9678e298a92cd59d9f780661bffeaa512c8ce9d442f86918ed288e1f8bb47e0438e4905c143580e2edd950090d3ac96c0885da87a48ed8c5693fdeabc52822a
6
+ metadata.gz: 0f74368b082a7dfb53c508ebc2aae1219b53ce926ab6e9e7405e5b4ec991c4c8a166bf17a649e6a1966304453a310ce22afbfaf7454b538fc0cd70182e7c5e06
7
+ data.tar.gz: fa6b22f5c22c1f8455c49cacf19cf047c81807fc184f1d7c9541dcb0e6f04571a3445c9392ae13c594b5ccfdc9818421a59a8041f245a1ce5176579143d57d04
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2021-04-01)
5
+ ------------------
6
+
7
+ * Feature - - This release adds support for state detail for Amazon Lightsail container services.
8
+
4
9
  1.46.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-lightsail/customizations'
48
48
  # @!group service
49
49
  module Aws::Lightsail
50
50
 
51
- GEM_VERSION = '1.46.0'
51
+ GEM_VERSION = '1.47.0'
52
52
 
53
53
  end
@@ -1309,7 +1309,9 @@ module Aws::Lightsail
1309
1309
  # resp.container_service.tags[0].value #=> String
1310
1310
  # resp.container_service.power #=> String, one of "nano", "micro", "small", "medium", "large", "xlarge"
1311
1311
  # resp.container_service.power_id #=> String
1312
- # resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED"
1312
+ # resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED", "DEPLOYING"
1313
+ # resp.container_service.state_detail.code #=> String, one of "CREATING_SYSTEM_RESOURCES", "CREATING_NETWORK_INFRASTRUCTURE", "PROVISIONING_CERTIFICATE", "PROVISIONING_SERVICE", "CREATING_DEPLOYMENT", "EVALUATING_HEALTH_CHECK", "ACTIVATING_DEPLOYMENT", "CERTIFICATE_LIMIT_EXCEEDED", "UNKNOWN_ERROR"
1314
+ # resp.container_service.state_detail.message #=> String
1313
1315
  # resp.container_service.scale #=> Integer
1314
1316
  # resp.container_service.current_deployment.version #=> Integer
1315
1317
  # resp.container_service.current_deployment.state #=> String, one of "ACTIVATING", "ACTIVE", "INACTIVE", "FAILED"
@@ -1442,7 +1444,9 @@ module Aws::Lightsail
1442
1444
  # resp.container_service.tags[0].value #=> String
1443
1445
  # resp.container_service.power #=> String, one of "nano", "micro", "small", "medium", "large", "xlarge"
1444
1446
  # resp.container_service.power_id #=> String
1445
- # resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED"
1447
+ # resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED", "DEPLOYING"
1448
+ # resp.container_service.state_detail.code #=> String, one of "CREATING_SYSTEM_RESOURCES", "CREATING_NETWORK_INFRASTRUCTURE", "PROVISIONING_CERTIFICATE", "PROVISIONING_SERVICE", "CREATING_DEPLOYMENT", "EVALUATING_HEALTH_CHECK", "ACTIVATING_DEPLOYMENT", "CERTIFICATE_LIMIT_EXCEEDED", "UNKNOWN_ERROR"
1449
+ # resp.container_service.state_detail.message #=> String
1446
1450
  # resp.container_service.scale #=> Integer
1447
1451
  # resp.container_service.current_deployment.version #=> Integer
1448
1452
  # resp.container_service.current_deployment.state #=> String, one of "ACTIVATING", "ACTIVE", "INACTIVE", "FAILED"
@@ -5594,7 +5598,9 @@ module Aws::Lightsail
5594
5598
  # resp.container_services[0].tags[0].value #=> String
5595
5599
  # resp.container_services[0].power #=> String, one of "nano", "micro", "small", "medium", "large", "xlarge"
5596
5600
  # resp.container_services[0].power_id #=> String
5597
- # resp.container_services[0].state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED"
5601
+ # resp.container_services[0].state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED", "DEPLOYING"
5602
+ # resp.container_services[0].state_detail.code #=> String, one of "CREATING_SYSTEM_RESOURCES", "CREATING_NETWORK_INFRASTRUCTURE", "PROVISIONING_CERTIFICATE", "PROVISIONING_SERVICE", "CREATING_DEPLOYMENT", "EVALUATING_HEALTH_CHECK", "ACTIVATING_DEPLOYMENT", "CERTIFICATE_LIMIT_EXCEEDED", "UNKNOWN_ERROR"
5603
+ # resp.container_services[0].state_detail.message #=> String
5598
5604
  # resp.container_services[0].scale #=> Integer
5599
5605
  # resp.container_services[0].current_deployment.version #=> Integer
5600
5606
  # resp.container_services[0].current_deployment.state #=> String, one of "ACTIVATING", "ACTIVE", "INACTIVE", "FAILED"
@@ -9923,7 +9929,9 @@ module Aws::Lightsail
9923
9929
  # resp.container_service.tags[0].value #=> String
9924
9930
  # resp.container_service.power #=> String, one of "nano", "micro", "small", "medium", "large", "xlarge"
9925
9931
  # resp.container_service.power_id #=> String
9926
- # resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED"
9932
+ # resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED", "DEPLOYING"
9933
+ # resp.container_service.state_detail.code #=> String, one of "CREATING_SYSTEM_RESOURCES", "CREATING_NETWORK_INFRASTRUCTURE", "PROVISIONING_CERTIFICATE", "PROVISIONING_SERVICE", "CREATING_DEPLOYMENT", "EVALUATING_HEALTH_CHECK", "ACTIVATING_DEPLOYMENT", "CERTIFICATE_LIMIT_EXCEEDED", "UNKNOWN_ERROR"
9934
+ # resp.container_service.state_detail.message #=> String
9927
9935
  # resp.container_service.scale #=> Integer
9928
9936
  # resp.container_service.current_deployment.version #=> Integer
9929
9937
  # resp.container_service.current_deployment.state #=> String, one of "ACTIVATING", "ACTIVE", "INACTIVE", "FAILED"
@@ -10508,7 +10516,7 @@ module Aws::Lightsail
10508
10516
  params: params,
10509
10517
  config: config)
10510
10518
  context[:gem_name] = 'aws-sdk-lightsail'
10511
- context[:gem_version] = '1.46.0'
10519
+ context[:gem_version] = '1.47.0'
10512
10520
  Seahorse::Client::Request.new(handlers, context)
10513
10521
  end
10514
10522
 
@@ -106,6 +106,8 @@ module Aws::Lightsail
106
106
  ContainerServiceRegistryLogin = Shapes::StructureShape.new(name: 'ContainerServiceRegistryLogin')
107
107
  ContainerServiceScale = Shapes::IntegerShape.new(name: 'ContainerServiceScale')
108
108
  ContainerServiceState = Shapes::StringShape.new(name: 'ContainerServiceState')
109
+ ContainerServiceStateDetail = Shapes::StructureShape.new(name: 'ContainerServiceStateDetail')
110
+ ContainerServiceStateDetailCode = Shapes::StringShape.new(name: 'ContainerServiceStateDetailCode')
109
111
  ContainerServicesListResult = Shapes::StructureShape.new(name: 'ContainerServicesListResult')
110
112
  CookieObject = Shapes::StructureShape.new(name: 'CookieObject')
111
113
  CopySnapshotRequest = Shapes::StructureShape.new(name: 'CopySnapshotRequest')
@@ -835,6 +837,7 @@ module Aws::Lightsail
835
837
  ContainerService.add_member(:power, Shapes::ShapeRef.new(shape: ContainerServicePowerName, location_name: "power"))
836
838
  ContainerService.add_member(:power_id, Shapes::ShapeRef.new(shape: string, location_name: "powerId"))
837
839
  ContainerService.add_member(:state, Shapes::ShapeRef.new(shape: ContainerServiceState, location_name: "state"))
840
+ ContainerService.add_member(:state_detail, Shapes::ShapeRef.new(shape: ContainerServiceStateDetail, location_name: "stateDetail"))
838
841
  ContainerService.add_member(:scale, Shapes::ShapeRef.new(shape: ContainerServiceScale, location_name: "scale"))
839
842
  ContainerService.add_member(:current_deployment, Shapes::ShapeRef.new(shape: ContainerServiceDeployment, location_name: "currentDeployment"))
840
843
  ContainerService.add_member(:next_deployment, Shapes::ShapeRef.new(shape: ContainerServiceDeployment, location_name: "nextDeployment"))
@@ -905,6 +908,10 @@ module Aws::Lightsail
905
908
  ContainerServiceRegistryLogin.add_member(:registry, Shapes::ShapeRef.new(shape: string, location_name: "registry"))
906
909
  ContainerServiceRegistryLogin.struct_class = Types::ContainerServiceRegistryLogin
907
910
 
911
+ ContainerServiceStateDetail.add_member(:code, Shapes::ShapeRef.new(shape: ContainerServiceStateDetailCode, location_name: "code"))
912
+ ContainerServiceStateDetail.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
913
+ ContainerServiceStateDetail.struct_class = Types::ContainerServiceStateDetail
914
+
908
915
  ContainerServicesListResult.add_member(:container_services, Shapes::ShapeRef.new(shape: ContainerServiceList, location_name: "containerServices"))
909
916
  ContainerServicesListResult.struct_class = Types::ContainerServicesListResult
910
917
 
@@ -1681,25 +1681,37 @@ module Aws::Lightsail
1681
1681
  # @!attribute [rw] state
1682
1682
  # The current state of the container service.
1683
1683
  #
1684
- # The state can be:
1684
+ # The following container service states are possible:
1685
1685
  #
1686
- # * `Pending` - The container service is being created.
1686
+ # * `PENDING` - The container service is being created.
1687
1687
  #
1688
- # * `Ready` - The container service is created but does not have a
1689
- # container deployment.
1690
- #
1691
- # * `Disabled` - The container service is disabled.
1692
- #
1693
- # * `Updating` - The container service capacity or other setting is
1694
- # being updated.
1688
+ # * `READY` - The container service is running but it does not have an
1689
+ # active container deployment.
1695
1690
  #
1696
- # * `Deploying` - The container service is launching a container
1691
+ # * `DEPLOYING` - The container service is launching a container
1697
1692
  # deployment.
1698
1693
  #
1699
- # * `Running` - The container service is created and it has a
1694
+ # * `RUNNING` - The container service is running and it has an active
1700
1695
  # container deployment.
1696
+ #
1697
+ # * `UPDATING` - The container service capacity or its custom domains
1698
+ # are being updated.
1699
+ #
1700
+ # * `DELETING` - The container service is being deleted.
1701
+ #
1702
+ # * `DISABLED` - The container service is disabled, and its active
1703
+ # deployment and containers, if any, are shut down.
1701
1704
  # @return [String]
1702
1705
  #
1706
+ # @!attribute [rw] state_detail
1707
+ # An object that describes the current state of the container service.
1708
+ #
1709
+ # <note markdown="1"> The state detail is populated only when a container service is in a
1710
+ # `PENDING`, `DEPLOYING`, or `UPDATING` state.
1711
+ #
1712
+ # </note>
1713
+ # @return [Types::ContainerServiceStateDetail]
1714
+ #
1703
1715
  # @!attribute [rw] scale
1704
1716
  # The scale specification of the container service.
1705
1717
  #
@@ -1782,6 +1794,7 @@ module Aws::Lightsail
1782
1794
  :power,
1783
1795
  :power_id,
1784
1796
  :state,
1797
+ :state_detail,
1785
1798
  :scale,
1786
1799
  :current_deployment,
1787
1800
  :next_deployment,
@@ -2094,6 +2107,65 @@ module Aws::Lightsail
2094
2107
  include Aws::Structure
2095
2108
  end
2096
2109
 
2110
+ # Describes the current state of a container service.
2111
+ #
2112
+ # @!attribute [rw] code
2113
+ # The state code of the container service.
2114
+ #
2115
+ # The following state codes are possible:
2116
+ #
2117
+ # * The following state codes are possible if your container service
2118
+ # is in a `DEPLOYING` or `UPDATING` state:
2119
+ #
2120
+ # * `CREATING_SYSTEM_RESOURCES` - The system resources for your
2121
+ # container service are being created.
2122
+ #
2123
+ # * `CREATING_NETWORK_INFRASTRUCTURE` - The network infrastructure
2124
+ # for your container service are being created.
2125
+ #
2126
+ # * `PROVISIONING_CERTIFICATE` - The SSL/TLS certificate for your
2127
+ # container service is being created.
2128
+ #
2129
+ # * `PROVISIONING_SERVICE` - Your container service is being
2130
+ # provisioned.
2131
+ #
2132
+ # * `CREATING_DEPLOYMENT` - Your deployment is being created on your
2133
+ # container service.
2134
+ #
2135
+ # * `EVALUATING_HEALTH_CHECK` - The health of your deployment is
2136
+ # being evaluated.
2137
+ #
2138
+ # * `ACTIVATING_DEPLOYMENT` - Your deployment is being activated.
2139
+ #
2140
+ # * The following state codes are possible if your container service
2141
+ # is in a `PENDING` state:
2142
+ #
2143
+ # * `CERTIFICATE_LIMIT_EXCEEDED` - The SSL/TLS certificate required
2144
+ # for your container service exceeds the maximum number of
2145
+ # certificates allowed for your account.
2146
+ #
2147
+ # * `UNKNOWN_ERROR` - An error was experienced when your container
2148
+ # service was being created.
2149
+ # @return [String]
2150
+ #
2151
+ # @!attribute [rw] message
2152
+ # A message that provides more information for the state code.
2153
+ #
2154
+ # <note markdown="1"> The state detail is populated only when a container service is in a
2155
+ # `PENDING`, `DEPLOYING`, or `UPDATING` state.
2156
+ #
2157
+ # </note>
2158
+ # @return [String]
2159
+ #
2160
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContainerServiceStateDetail AWS API Documentation
2161
+ #
2162
+ class ContainerServiceStateDetail < Struct.new(
2163
+ :code,
2164
+ :message)
2165
+ SENSITIVE = []
2166
+ include Aws::Structure
2167
+ end
2168
+
2097
2169
  # @!attribute [rw] container_services
2098
2170
  # An array of objects that describe one or more container services.
2099
2171
  # @return [Array<Types::ContainerService>]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lightsail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.46.0
4
+ version: 1.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-lightsail
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-lightsail/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lightsail
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lightsail/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths: