aws-sdk-cloud9 1.54.0 → 1.56.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-cloud9/client.rb +6 -4
- data/lib/aws-sdk-cloud9/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-cloud9/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-cloud9/types.rb +9 -6
- data/lib/aws-sdk-cloud9.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4c6a287418333b1ee58df956da0ab1a988f613d2d8b4cf27012c56553b96b92
|
4
|
+
data.tar.gz: c36fd33eb4250312b755e982f158315fc40df411742300aab3e38d19212bd0fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e9ec5f8ed563b7c07b7dc2822616f45c5bd3a17b1de97e6d0d22d6660b254a0000fcb38c96a66a3991647823f3e9022cfbfec8e507c1ad1c05db5b6db0303a2
|
7
|
+
data.tar.gz: b7d720d66cf984a0daf6e3994958b4e6f8298ed3b05fdee9c12d98dbc0f0726adbf62a760e653bce6d5a48017c9e60785e5cbbda2f1ce95aef80d0c1d2e8c44c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.56.0 (2023-08-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Doc only update to add Ubuntu 22.04 as an Image ID option for Cloud9
|
8
|
+
|
9
|
+
1.55.0 (2023-08-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updated the deprecation date for Amazon Linux. Doc only update.
|
13
|
+
|
4
14
|
1.54.0 (2023-07-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.56.0
|
@@ -437,10 +437,12 @@ module Aws::Cloud9
|
|
437
437
|
# path.
|
438
438
|
#
|
439
439
|
# The default Amazon Linux AMI is currently used if the parameter isn't
|
440
|
-
# explicitly assigned a value in the request.
|
440
|
+
# explicitly assigned a value in the request. Because Amazon Linux AMI
|
441
|
+
# has ended standard support as of December 31, 2020, we recommend you
|
442
|
+
# choose Amazon Linux 2, which includes long term support through 2023.
|
441
443
|
#
|
442
|
-
#
|
443
|
-
# available when you specify an AMI for your instance. Amazon Linux 2
|
444
|
+
# From December 31, 2023, the parameter for Amazon Linux will no longer
|
445
|
+
# be available when you specify an AMI for your instance. Amazon Linux 2
|
444
446
|
# will then become the default AMI, which is used to launch your
|
445
447
|
# instance if no parameter is explicitly defined.
|
446
448
|
#
|
@@ -1251,7 +1253,7 @@ module Aws::Cloud9
|
|
1251
1253
|
params: params,
|
1252
1254
|
config: config)
|
1253
1255
|
context[:gem_name] = 'aws-sdk-cloud9'
|
1254
|
-
context[:gem_version] = '1.
|
1256
|
+
context[:gem_version] = '1.56.0'
|
1255
1257
|
Seahorse::Client::Request.new(handlers, context)
|
1256
1258
|
end
|
1257
1259
|
|
@@ -50,9 +50,6 @@ module Aws::Cloud9
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::Cloud9
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloud9-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloud9-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloud9-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloud9-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloud9.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloud9.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloud9.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
data/lib/aws-sdk-cloud9/types.rb
CHANGED
@@ -68,12 +68,15 @@ module Aws::Cloud9
|
|
68
68
|
# (SSM) path.
|
69
69
|
#
|
70
70
|
# The default Amazon Linux AMI is currently used if the parameter
|
71
|
-
# isn't explicitly assigned a value in the request.
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
71
|
+
# isn't explicitly assigned a value in the request. Because Amazon
|
72
|
+
# Linux AMI has ended standard support as of December 31, 2020, we
|
73
|
+
# recommend you choose Amazon Linux 2, which includes long term
|
74
|
+
# support through 2023.
|
75
|
+
#
|
76
|
+
# From December 31, 2023, the parameter for Amazon Linux will no
|
77
|
+
# longer be available when you specify an AMI for your instance.
|
78
|
+
# Amazon Linux 2 will then become the default AMI, which is used to
|
79
|
+
# launch your instance if no parameter is explicitly defined.
|
77
80
|
#
|
78
81
|
# <b>AMI aliases </b>
|
79
82
|
#
|
data/lib/aws-sdk-cloud9.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloud9
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.56.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: 2023-
|
11
|
+
date: 2023-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|