aws-sdk-acmpca 1.74.0 → 1.75.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-acmpca/client.rb +63 -65
- data/lib/aws-sdk-acmpca/client_api.rb +51 -50
- data/lib/aws-sdk-acmpca/types.rb +61 -61
- data/lib/aws-sdk-acmpca/waiters.rb +20 -20
- data/lib/aws-sdk-acmpca.rb +1 -1
- data/sig/client.rbs +8 -8
- data/sig/types.rbs +8 -8
- 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: 5ee4ff840b924005a8397e7a17bfde6251614a6249432c0e0d63b8f38af34cf6
|
4
|
+
data.tar.gz: 4fc7e20a83dde8beb53fadebffb6290791f2f89f791e4ad3b0674cfbbe176d8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e231ad743ecdab92e3166aa23f263372ff0f7489613e50f066581f20a3f0616373c8eb5d051ea4384beba33a9b0ab88bbe77407c77c7c00ac60db1d6d95c749
|
7
|
+
data.tar.gz: dcc3d906d5aca728b34a5f603ba3ab77985d8be448881529ab23673ddfb8017bd7f3f98e5990dd96286fc7e423b2a4bac15073df82771d1c1218dcb6861baf9a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.75.0
|
@@ -1446,7 +1446,7 @@ module Aws::ACMPCA
|
|
1446
1446
|
# @option params [required, String] :resource_arn
|
1447
1447
|
# The Amazon Resource Number (ARN) of the private CA that will have its
|
1448
1448
|
# policy retrieved. You can find the CA's ARN by calling the
|
1449
|
-
# ListCertificateAuthorities action.
|
1449
|
+
# ListCertificateAuthorities action. </p>
|
1450
1450
|
#
|
1451
1451
|
# @return [Types::GetPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1452
1452
|
#
|
@@ -1527,46 +1527,44 @@ module Aws::ACMPCA
|
|
1527
1527
|
# Amazon Web Services Private CA allows the following extensions to be
|
1528
1528
|
# marked critical in the imported CA certificate or chain.
|
1529
1529
|
#
|
1530
|
-
# * Authority key identifier
|
1531
|
-
#
|
1532
1530
|
# * Basic constraints (*must* be marked critical)
|
1533
1531
|
#
|
1534
|
-
# *
|
1532
|
+
# * Subject alternative names
|
1535
1533
|
#
|
1536
|
-
# *
|
1534
|
+
# * Key usage
|
1537
1535
|
#
|
1538
|
-
# *
|
1536
|
+
# * Extended key usage
|
1539
1537
|
#
|
1540
|
-
# *
|
1538
|
+
# * Authority key identifier
|
1541
1539
|
#
|
1542
|
-
# *
|
1540
|
+
# * Subject key identifier
|
1543
1541
|
#
|
1544
|
-
# *
|
1542
|
+
# * Issuer alternative name
|
1545
1543
|
#
|
1546
|
-
# *
|
1544
|
+
# * Subject directory attributes
|
1547
1545
|
#
|
1548
|
-
# * Subject
|
1546
|
+
# * Subject information access
|
1549
1547
|
#
|
1550
|
-
# *
|
1548
|
+
# * Certificate policies
|
1551
1549
|
#
|
1552
|
-
# *
|
1550
|
+
# * Policy mappings
|
1553
1551
|
#
|
1554
|
-
# *
|
1552
|
+
# * Inhibit anyPolicy
|
1555
1553
|
#
|
1556
1554
|
# Amazon Web Services Private CA rejects the following extensions when
|
1557
1555
|
# they are marked critical in an imported CA certificate or chain.
|
1558
1556
|
#
|
1559
|
-
# *
|
1557
|
+
# * Name constraints
|
1558
|
+
#
|
1559
|
+
# * Policy constraints
|
1560
1560
|
#
|
1561
1561
|
# * CRL distribution points
|
1562
1562
|
#
|
1563
|
-
# *
|
1563
|
+
# * Authority information access
|
1564
1564
|
#
|
1565
|
-
# *
|
1565
|
+
# * Freshest CRL
|
1566
1566
|
#
|
1567
|
-
#
|
1568
|
-
# other extension marked as critical not contained on the preceding list
|
1569
|
-
# of allowed extensions.
|
1567
|
+
# * Any other extension
|
1570
1568
|
#
|
1571
1569
|
#
|
1572
1570
|
#
|
@@ -1913,12 +1911,6 @@ module Aws::ACMPCA
|
|
1913
1911
|
#
|
1914
1912
|
# [1]: https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html
|
1915
1913
|
#
|
1916
|
-
# @option params [String] :next_token
|
1917
|
-
# Use this parameter when paginating results in a subsequent request
|
1918
|
-
# after you receive a response with truncated results. Set it to the
|
1919
|
-
# value of the `NextToken` parameter from the response you just
|
1920
|
-
# received.
|
1921
|
-
#
|
1922
1914
|
# @option params [Integer] :max_results
|
1923
1915
|
# Use this parameter when paginating results to specify the maximum
|
1924
1916
|
# number of items to return in the response on each page. If additional
|
@@ -1929,27 +1921,34 @@ module Aws::ACMPCA
|
|
1929
1921
|
# Although the maximum value is 1000, the action only returns a maximum
|
1930
1922
|
# of 100 items.
|
1931
1923
|
#
|
1924
|
+
# @option params [String] :next_token
|
1925
|
+
# Use this parameter when paginating results in a subsequent request
|
1926
|
+
# after you receive a response with truncated results. Set it to the
|
1927
|
+
# value of the `NextToken` parameter from the response you just
|
1928
|
+
# received.
|
1929
|
+
#
|
1932
1930
|
# @option params [String] :resource_owner
|
1933
1931
|
# Use this parameter to filter the returned set of certificate
|
1934
1932
|
# authorities based on their owner. The default is SELF.
|
1935
1933
|
#
|
1936
1934
|
# @return [Types::ListCertificateAuthoritiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1937
1935
|
#
|
1938
|
-
# * {Types::ListCertificateAuthoritiesResponse#certificate_authorities #certificate_authorities} => Array<Types::CertificateAuthority>
|
1939
1936
|
# * {Types::ListCertificateAuthoritiesResponse#next_token #next_token} => String
|
1937
|
+
# * {Types::ListCertificateAuthoritiesResponse#certificate_authorities #certificate_authorities} => Array<Types::CertificateAuthority>
|
1940
1938
|
#
|
1941
1939
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1942
1940
|
#
|
1943
1941
|
# @example Request syntax with placeholder values
|
1944
1942
|
#
|
1945
1943
|
# resp = client.list_certificate_authorities({
|
1946
|
-
# next_token: "NextToken",
|
1947
1944
|
# max_results: 1,
|
1945
|
+
# next_token: "NextToken",
|
1948
1946
|
# resource_owner: "SELF", # accepts SELF, OTHER_ACCOUNTS
|
1949
1947
|
# })
|
1950
1948
|
#
|
1951
1949
|
# @example Response structure
|
1952
1950
|
#
|
1951
|
+
# resp.next_token #=> String
|
1953
1952
|
# resp.certificate_authorities #=> Array
|
1954
1953
|
# resp.certificate_authorities[0].arn #=> String
|
1955
1954
|
# resp.certificate_authorities[0].owner_account #=> String
|
@@ -2029,7 +2028,6 @@ module Aws::ACMPCA
|
|
2029
2028
|
# resp.certificate_authorities[0].restorable_until #=> Time
|
2030
2029
|
# resp.certificate_authorities[0].key_storage_security_standard #=> String, one of "FIPS_140_2_LEVEL_2_OR_HIGHER", "FIPS_140_2_LEVEL_3_OR_HIGHER", "CCPC_LEVEL_1_OR_HIGHER"
|
2031
2030
|
# resp.certificate_authorities[0].usage_mode #=> String, one of "GENERAL_PURPOSE", "SHORT_LIVED_CERTIFICATE"
|
2032
|
-
# resp.next_token #=> String
|
2033
2031
|
#
|
2034
2032
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListCertificateAuthorities AWS API Documentation
|
2035
2033
|
#
|
@@ -2072,6 +2070,18 @@ module Aws::ACMPCA
|
|
2072
2070
|
# [2]: https://docs.aws.amazon.com/privateca/latest/APIReference/API_DeletePermission.html
|
2073
2071
|
# [3]: https://docs.aws.amazon.com/privateca/latest/userguide/pca-rbp.html
|
2074
2072
|
#
|
2073
|
+
# @option params [Integer] :max_results
|
2074
|
+
# When paginating results, use this parameter to specify the maximum
|
2075
|
+
# number of items to return in the response. If additional items exist
|
2076
|
+
# beyond the number you specify, the **NextToken** element is sent in
|
2077
|
+
# the response. Use this **NextToken** value in a subsequent request to
|
2078
|
+
# retrieve additional items.
|
2079
|
+
#
|
2080
|
+
# @option params [String] :next_token
|
2081
|
+
# When paginating results, use this parameter in a subsequent request
|
2082
|
+
# after you receive a response with truncated results. Set it to the
|
2083
|
+
# value of **NextToken** from the response you just received.
|
2084
|
+
#
|
2075
2085
|
# @option params [required, String] :certificate_authority_arn
|
2076
2086
|
# The Amazon Resource Number (ARN) of the private CA to inspect. You can
|
2077
2087
|
# find the ARN by calling the [ListCertificateAuthorities][1] action.
|
@@ -2084,35 +2094,24 @@ module Aws::ACMPCA
|
|
2084
2094
|
#
|
2085
2095
|
# [1]: https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html
|
2086
2096
|
#
|
2087
|
-
# @option params [String] :next_token
|
2088
|
-
# When paginating results, use this parameter in a subsequent request
|
2089
|
-
# after you receive a response with truncated results. Set it to the
|
2090
|
-
# value of **NextToken** from the response you just received.
|
2091
|
-
#
|
2092
|
-
# @option params [Integer] :max_results
|
2093
|
-
# When paginating results, use this parameter to specify the maximum
|
2094
|
-
# number of items to return in the response. If additional items exist
|
2095
|
-
# beyond the number you specify, the **NextToken** element is sent in
|
2096
|
-
# the response. Use this **NextToken** value in a subsequent request to
|
2097
|
-
# retrieve additional items.
|
2098
|
-
#
|
2099
2097
|
# @return [Types::ListPermissionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2100
2098
|
#
|
2101
|
-
# * {Types::ListPermissionsResponse#permissions #permissions} => Array<Types::Permission>
|
2102
2099
|
# * {Types::ListPermissionsResponse#next_token #next_token} => String
|
2100
|
+
# * {Types::ListPermissionsResponse#permissions #permissions} => Array<Types::Permission>
|
2103
2101
|
#
|
2104
2102
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2105
2103
|
#
|
2106
2104
|
# @example Request syntax with placeholder values
|
2107
2105
|
#
|
2108
2106
|
# resp = client.list_permissions({
|
2109
|
-
# certificate_authority_arn: "Arn", # required
|
2110
|
-
# next_token: "NextToken",
|
2111
2107
|
# max_results: 1,
|
2108
|
+
# next_token: "NextToken",
|
2109
|
+
# certificate_authority_arn: "Arn", # required
|
2112
2110
|
# })
|
2113
2111
|
#
|
2114
2112
|
# @example Response structure
|
2115
2113
|
#
|
2114
|
+
# resp.next_token #=> String
|
2116
2115
|
# resp.permissions #=> Array
|
2117
2116
|
# resp.permissions[0].certificate_authority_arn #=> String
|
2118
2117
|
# resp.permissions[0].created_at #=> Time
|
@@ -2121,7 +2120,6 @@ module Aws::ACMPCA
|
|
2121
2120
|
# resp.permissions[0].actions #=> Array
|
2122
2121
|
# resp.permissions[0].actions[0] #=> String, one of "IssueCertificate", "GetCertificate", "ListPermissions"
|
2123
2122
|
# resp.permissions[0].policy #=> String
|
2124
|
-
# resp.next_token #=> String
|
2125
2123
|
#
|
2126
2124
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListPermissions AWS API Documentation
|
2127
2125
|
#
|
@@ -2144,6 +2142,18 @@ module Aws::ACMPCA
|
|
2144
2142
|
# [1]: https://docs.aws.amazon.com/privateca/latest/APIReference/API_TagCertificateAuthority.html
|
2145
2143
|
# [2]: https://docs.aws.amazon.com/privateca/latest/APIReference/API_UntagCertificateAuthority.html
|
2146
2144
|
#
|
2145
|
+
# @option params [Integer] :max_results
|
2146
|
+
# Use this parameter when paginating results to specify the maximum
|
2147
|
+
# number of items to return in the response. If additional items exist
|
2148
|
+
# beyond the number you specify, the **NextToken** element is sent in
|
2149
|
+
# the response. Use this **NextToken** value in a subsequent request to
|
2150
|
+
# retrieve additional items.
|
2151
|
+
#
|
2152
|
+
# @option params [String] :next_token
|
2153
|
+
# Use this parameter when paginating results in a subsequent request
|
2154
|
+
# after you receive a response with truncated results. Set it to the
|
2155
|
+
# value of **NextToken** from the response you just received.
|
2156
|
+
#
|
2147
2157
|
# @option params [required, String] :certificate_authority_arn
|
2148
2158
|
# The Amazon Resource Name (ARN) that was returned when you called the
|
2149
2159
|
# [CreateCertificateAuthority][1] action. This must be of the form:
|
@@ -2155,39 +2165,27 @@ module Aws::ACMPCA
|
|
2155
2165
|
#
|
2156
2166
|
# [1]: https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html
|
2157
2167
|
#
|
2158
|
-
# @option params [String] :next_token
|
2159
|
-
# Use this parameter when paginating results in a subsequent request
|
2160
|
-
# after you receive a response with truncated results. Set it to the
|
2161
|
-
# value of **NextToken** from the response you just received.
|
2162
|
-
#
|
2163
|
-
# @option params [Integer] :max_results
|
2164
|
-
# Use this parameter when paginating results to specify the maximum
|
2165
|
-
# number of items to return in the response. If additional items exist
|
2166
|
-
# beyond the number you specify, the **NextToken** element is sent in
|
2167
|
-
# the response. Use this **NextToken** value in a subsequent request to
|
2168
|
-
# retrieve additional items.
|
2169
|
-
#
|
2170
2168
|
# @return [Types::ListTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2171
2169
|
#
|
2172
|
-
# * {Types::ListTagsResponse#tags #tags} => Array<Types::Tag>
|
2173
2170
|
# * {Types::ListTagsResponse#next_token #next_token} => String
|
2171
|
+
# * {Types::ListTagsResponse#tags #tags} => Array<Types::Tag>
|
2174
2172
|
#
|
2175
2173
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2176
2174
|
#
|
2177
2175
|
# @example Request syntax with placeholder values
|
2178
2176
|
#
|
2179
2177
|
# resp = client.list_tags({
|
2180
|
-
# certificate_authority_arn: "Arn", # required
|
2181
|
-
# next_token: "NextToken",
|
2182
2178
|
# max_results: 1,
|
2179
|
+
# next_token: "NextToken",
|
2180
|
+
# certificate_authority_arn: "Arn", # required
|
2183
2181
|
# })
|
2184
2182
|
#
|
2185
2183
|
# @example Response structure
|
2186
2184
|
#
|
2185
|
+
# resp.next_token #=> String
|
2187
2186
|
# resp.tags #=> Array
|
2188
2187
|
# resp.tags[0].key #=> String
|
2189
2188
|
# resp.tags[0].value #=> String
|
2190
|
-
# resp.next_token #=> String
|
2191
2189
|
#
|
2192
2190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListTags AWS API Documentation
|
2193
2191
|
#
|
@@ -2633,7 +2631,7 @@ module Aws::ACMPCA
|
|
2633
2631
|
params: params,
|
2634
2632
|
config: config)
|
2635
2633
|
context[:gem_name] = 'aws-sdk-acmpca'
|
2636
|
-
context[:gem_version] = '1.
|
2634
|
+
context[:gem_version] = '1.75.0'
|
2637
2635
|
Seahorse::Client::Request.new(handlers, context)
|
2638
2636
|
end
|
2639
2637
|
|
@@ -2701,9 +2699,9 @@ module Aws::ACMPCA
|
|
2701
2699
|
#
|
2702
2700
|
# | waiter_name | params | :delay | :max_attempts |
|
2703
2701
|
# | --------------------------------- | ---------------------------------------------------- | -------- | ------------- |
|
2704
|
-
# | audit_report_created | {Client#describe_certificate_authority_audit_report} | 3 |
|
2705
|
-
# | certificate_authority_csr_created | {Client#get_certificate_authority_csr} | 3 |
|
2706
|
-
# | certificate_issued | {Client#get_certificate} | 1 |
|
2702
|
+
# | audit_report_created | {Client#describe_certificate_authority_audit_report} | 3 | 40 |
|
2703
|
+
# | certificate_authority_csr_created | {Client#get_certificate_authority_csr} | 3 | 40 |
|
2704
|
+
# | certificate_issued | {Client#get_certificate} | 1 | 120 |
|
2707
2705
|
#
|
2708
2706
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
2709
2707
|
# because the waiter has entered a state that it will not transition
|
@@ -255,7 +255,7 @@ module Aws::ACMPCA
|
|
255
255
|
CreatePermissionRequest.struct_class = Types::CreatePermissionRequest
|
256
256
|
|
257
257
|
CrlConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled", metadata: {"box"=>true}))
|
258
|
-
CrlConfiguration.add_member(:expiration_in_days, Shapes::ShapeRef.new(shape: Integer1To5000, location_name: "ExpirationInDays"
|
258
|
+
CrlConfiguration.add_member(:expiration_in_days, Shapes::ShapeRef.new(shape: Integer1To5000, location_name: "ExpirationInDays"))
|
259
259
|
CrlConfiguration.add_member(:custom_cname, Shapes::ShapeRef.new(shape: CnameString, location_name: "CustomCname"))
|
260
260
|
CrlConfiguration.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName3To255, location_name: "S3BucketName"))
|
261
261
|
CrlConfiguration.add_member(:s3_object_acl, Shapes::ShapeRef.new(shape: S3ObjectAcl, location_name: "S3ObjectAcl"))
|
@@ -419,31 +419,31 @@ module Aws::ACMPCA
|
|
419
419
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
420
420
|
LimitExceededException.struct_class = Types::LimitExceededException
|
421
421
|
|
422
|
-
ListCertificateAuthoritiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
423
422
|
ListCertificateAuthoritiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
423
|
+
ListCertificateAuthoritiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
424
424
|
ListCertificateAuthoritiesRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, location_name: "ResourceOwner"))
|
425
425
|
ListCertificateAuthoritiesRequest.struct_class = Types::ListCertificateAuthoritiesRequest
|
426
426
|
|
427
|
-
ListCertificateAuthoritiesResponse.add_member(:certificate_authorities, Shapes::ShapeRef.new(shape: CertificateAuthorities, location_name: "CertificateAuthorities"))
|
428
427
|
ListCertificateAuthoritiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
428
|
+
ListCertificateAuthoritiesResponse.add_member(:certificate_authorities, Shapes::ShapeRef.new(shape: CertificateAuthorities, location_name: "CertificateAuthorities"))
|
429
429
|
ListCertificateAuthoritiesResponse.struct_class = Types::ListCertificateAuthoritiesResponse
|
430
430
|
|
431
|
-
ListPermissionsRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
432
|
-
ListPermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
433
431
|
ListPermissionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
432
|
+
ListPermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
433
|
+
ListPermissionsRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
434
434
|
ListPermissionsRequest.struct_class = Types::ListPermissionsRequest
|
435
435
|
|
436
|
-
ListPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, location_name: "Permissions"))
|
437
436
|
ListPermissionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
437
|
+
ListPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, location_name: "Permissions"))
|
438
438
|
ListPermissionsResponse.struct_class = Types::ListPermissionsResponse
|
439
439
|
|
440
|
-
ListTagsRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
441
|
-
ListTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
442
440
|
ListTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
441
|
+
ListTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
442
|
+
ListTagsRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
443
443
|
ListTagsRequest.struct_class = Types::ListTagsRequest
|
444
444
|
|
445
|
-
ListTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
446
445
|
ListTagsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
446
|
+
ListTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
447
447
|
ListTagsResponse.struct_class = Types::ListTagsResponse
|
448
448
|
|
449
449
|
LockoutPreventedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -539,7 +539,7 @@ module Aws::ACMPCA
|
|
539
539
|
UpdateCertificateAuthorityRequest.add_member(:status, Shapes::ShapeRef.new(shape: CertificateAuthorityStatus, location_name: "Status"))
|
540
540
|
UpdateCertificateAuthorityRequest.struct_class = Types::UpdateCertificateAuthorityRequest
|
541
541
|
|
542
|
-
Validity.add_member(:value, Shapes::ShapeRef.new(shape: PositiveLong, required: true, location_name: "Value"
|
542
|
+
Validity.add_member(:value, Shapes::ShapeRef.new(shape: PositiveLong, required: true, location_name: "Value"))
|
543
543
|
Validity.add_member(:type, Shapes::ShapeRef.new(shape: ValidityPeriodType, required: true, location_name: "Type"))
|
544
544
|
Validity.struct_class = Types::Validity
|
545
545
|
|
@@ -560,6 +560,7 @@ module Aws::ACMPCA
|
|
560
560
|
"serviceFullName" => "AWS Certificate Manager Private Certificate Authority",
|
561
561
|
"serviceId" => "ACM PCA",
|
562
562
|
"signatureVersion" => "v4",
|
563
|
+
"signingName" => "acm-pca",
|
563
564
|
"targetPrefix" => "ACMPrivateCA",
|
564
565
|
"uid" => "acm-pca-2017-08-22",
|
565
566
|
}
|
@@ -570,10 +571,10 @@ module Aws::ACMPCA
|
|
570
571
|
o.http_request_uri = "/"
|
571
572
|
o.input = Shapes::ShapeRef.new(shape: CreateCertificateAuthorityRequest)
|
572
573
|
o.output = Shapes::ShapeRef.new(shape: CreateCertificateAuthorityResponse)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
573
575
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
|
574
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyException)
|
575
576
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTagException)
|
576
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyException)
|
577
578
|
end)
|
578
579
|
|
579
580
|
api.add_operation(:create_certificate_authority_audit_report, Seahorse::Model::Operation.new.tap do |o|
|
@@ -582,12 +583,12 @@ module Aws::ACMPCA
|
|
582
583
|
o.http_request_uri = "/"
|
583
584
|
o.input = Shapes::ShapeRef.new(shape: CreateCertificateAuthorityAuditReportRequest)
|
584
585
|
o.output = Shapes::ShapeRef.new(shape: CreateCertificateAuthorityAuditReportResponse)
|
585
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
586
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
587
586
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
588
587
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
589
588
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
590
590
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
591
592
|
end)
|
592
593
|
|
593
594
|
api.add_operation(:create_permission, Seahorse::Model::Operation.new.tap do |o|
|
@@ -596,12 +597,12 @@ module Aws::ACMPCA
|
|
596
597
|
o.http_request_uri = "/"
|
597
598
|
o.input = Shapes::ShapeRef.new(shape: CreatePermissionRequest)
|
598
599
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: PermissionAlreadyExistsException)
|
599
602
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
600
603
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
601
|
-
o.errors << Shapes::ShapeRef.new(shape: PermissionAlreadyExistsException)
|
602
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
603
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
604
604
|
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
605
606
|
end)
|
606
607
|
|
607
608
|
api.add_operation(:delete_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
@@ -610,10 +611,10 @@ module Aws::ACMPCA
|
|
610
611
|
o.http_request_uri = "/"
|
611
612
|
o.input = Shapes::ShapeRef.new(shape: DeleteCertificateAuthorityRequest)
|
612
613
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
613
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
614
614
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
615
615
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
616
616
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
617
618
|
end)
|
618
619
|
|
619
620
|
api.add_operation(:delete_permission, Seahorse::Model::Operation.new.tap do |o|
|
@@ -624,8 +625,8 @@ module Aws::ACMPCA
|
|
624
625
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
625
626
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
626
627
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
627
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
628
628
|
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
629
630
|
end)
|
630
631
|
|
631
632
|
api.add_operation(:delete_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -634,12 +635,12 @@ module Aws::ACMPCA
|
|
634
635
|
o.http_request_uri = "/"
|
635
636
|
o.input = Shapes::ShapeRef.new(shape: DeletePolicyRequest)
|
636
637
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
637
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
638
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
639
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
640
638
|
o.errors << Shapes::ShapeRef.new(shape: LockoutPreventedException)
|
641
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
642
639
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
640
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
643
644
|
end)
|
644
645
|
|
645
646
|
api.add_operation(:describe_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
@@ -669,11 +670,11 @@ module Aws::ACMPCA
|
|
669
670
|
o.http_request_uri = "/"
|
670
671
|
o.input = Shapes::ShapeRef.new(shape: GetCertificateRequest)
|
671
672
|
o.output = Shapes::ShapeRef.new(shape: GetCertificateResponse)
|
672
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
673
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
674
673
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
675
674
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
675
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
676
676
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
677
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
677
678
|
end)
|
678
679
|
|
679
680
|
api.add_operation(:get_certificate_authority_certificate, Seahorse::Model::Operation.new.tap do |o|
|
@@ -683,8 +684,8 @@ module Aws::ACMPCA
|
|
683
684
|
o.input = Shapes::ShapeRef.new(shape: GetCertificateAuthorityCertificateRequest)
|
684
685
|
o.output = Shapes::ShapeRef.new(shape: GetCertificateAuthorityCertificateResponse)
|
685
686
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
686
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
687
687
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
688
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
688
689
|
end)
|
689
690
|
|
690
691
|
api.add_operation(:get_certificate_authority_csr, Seahorse::Model::Operation.new.tap do |o|
|
@@ -693,11 +694,11 @@ module Aws::ACMPCA
|
|
693
694
|
o.http_request_uri = "/"
|
694
695
|
o.input = Shapes::ShapeRef.new(shape: GetCertificateAuthorityCsrRequest)
|
695
696
|
o.output = Shapes::ShapeRef.new(shape: GetCertificateAuthorityCsrResponse)
|
696
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
697
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
698
697
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
699
698
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
699
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
700
700
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
701
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
701
702
|
end)
|
702
703
|
|
703
704
|
api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -706,10 +707,10 @@ module Aws::ACMPCA
|
|
706
707
|
o.http_request_uri = "/"
|
707
708
|
o.input = Shapes::ShapeRef.new(shape: GetPolicyRequest)
|
708
709
|
o.output = Shapes::ShapeRef.new(shape: GetPolicyResponse)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
709
711
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
710
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
711
712
|
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
712
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
713
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
713
714
|
end)
|
714
715
|
|
715
716
|
api.add_operation(:import_certificate_authority_certificate, Seahorse::Model::Operation.new.tap do |o|
|
@@ -718,15 +719,15 @@ module Aws::ACMPCA
|
|
718
719
|
o.http_request_uri = "/"
|
719
720
|
o.input = Shapes::ShapeRef.new(shape: ImportCertificateAuthorityCertificateRequest)
|
720
721
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
721
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
722
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
723
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: CertificateMismatchException)
|
723
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedCertificateException)
|
724
724
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
725
725
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
726
726
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
727
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
727
728
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
728
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
729
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
729
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
730
731
|
end)
|
731
732
|
|
732
733
|
api.add_operation(:issue_certificate, Seahorse::Model::Operation.new.tap do |o|
|
@@ -737,9 +738,9 @@ module Aws::ACMPCA
|
|
737
738
|
o.output = Shapes::ShapeRef.new(shape: IssueCertificateResponse)
|
738
739
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
739
740
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
740
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
741
741
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
742
742
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
|
743
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
743
744
|
o.errors << Shapes::ShapeRef.new(shape: MalformedCSRException)
|
744
745
|
end)
|
745
746
|
|
@@ -766,9 +767,9 @@ module Aws::ACMPCA
|
|
766
767
|
o.output = Shapes::ShapeRef.new(shape: ListPermissionsResponse)
|
767
768
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
768
769
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
769
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
770
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
771
770
|
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
771
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
772
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
772
773
|
o[:pager] = Aws::Pager.new(
|
773
774
|
limit_key: "max_results",
|
774
775
|
tokens: {
|
@@ -800,13 +801,13 @@ module Aws::ACMPCA
|
|
800
801
|
o.http_request_uri = "/"
|
801
802
|
o.input = Shapes::ShapeRef.new(shape: PutPolicyRequest)
|
802
803
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
803
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
804
|
+
o.errors << Shapes::ShapeRef.new(shape: LockoutPreventedException)
|
805
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
804
806
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
805
808
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
809
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
806
810
|
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyException)
|
807
|
-
o.errors << Shapes::ShapeRef.new(shape: LockoutPreventedException)
|
808
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
809
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
810
811
|
end)
|
811
812
|
|
812
813
|
api.add_operation(:restore_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
@@ -816,8 +817,8 @@ module Aws::ACMPCA
|
|
816
817
|
o.input = Shapes::ShapeRef.new(shape: RestoreCertificateAuthorityRequest)
|
817
818
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
818
819
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
819
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
820
820
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
821
822
|
end)
|
822
823
|
|
823
824
|
api.add_operation(:revoke_certificate, Seahorse::Model::Operation.new.tap do |o|
|
@@ -826,15 +827,15 @@ module Aws::ACMPCA
|
|
826
827
|
o.http_request_uri = "/"
|
827
828
|
o.input = Shapes::ShapeRef.new(shape: RevokeCertificateRequest)
|
828
829
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
829
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
830
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestAlreadyProcessedException)
|
831
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
832
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
830
833
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
831
834
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
835
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
832
836
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
833
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
834
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
835
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestAlreadyProcessedException)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
836
838
|
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
837
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
838
839
|
end)
|
839
840
|
|
840
841
|
api.add_operation(:tag_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
@@ -868,11 +869,11 @@ module Aws::ACMPCA
|
|
868
869
|
o.http_request_uri = "/"
|
869
870
|
o.input = Shapes::ShapeRef.new(shape: UpdateCertificateAuthorityRequest)
|
870
871
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
871
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
872
872
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
873
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
|
874
873
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
874
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
|
875
875
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
876
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
876
877
|
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyException)
|
877
878
|
end)
|
878
879
|
end
|
data/lib/aws-sdk-acmpca/types.rb
CHANGED
@@ -1402,7 +1402,7 @@ module Aws::ACMPCA
|
|
1402
1402
|
# @!attribute [rw] resource_arn
|
1403
1403
|
# The Amazon Resource Number (ARN) of the private CA that will have
|
1404
1404
|
# its policy retrieved. You can find the CA's ARN by calling the
|
1405
|
-
# ListCertificateAuthorities action.
|
1405
|
+
# ListCertificateAuthorities action. </p>
|
1406
1406
|
# @return [String]
|
1407
1407
|
#
|
1408
1408
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetPolicyRequest AWS API Documentation
|
@@ -1813,13 +1813,6 @@ module Aws::ACMPCA
|
|
1813
1813
|
include Aws::Structure
|
1814
1814
|
end
|
1815
1815
|
|
1816
|
-
# @!attribute [rw] next_token
|
1817
|
-
# Use this parameter when paginating results in a subsequent request
|
1818
|
-
# after you receive a response with truncated results. Set it to the
|
1819
|
-
# value of the `NextToken` parameter from the response you just
|
1820
|
-
# received.
|
1821
|
-
# @return [String]
|
1822
|
-
#
|
1823
1816
|
# @!attribute [rw] max_results
|
1824
1817
|
# Use this parameter when paginating results to specify the maximum
|
1825
1818
|
# number of items to return in the response on each page. If
|
@@ -1831,6 +1824,13 @@ module Aws::ACMPCA
|
|
1831
1824
|
# maximum of 100 items.
|
1832
1825
|
# @return [Integer]
|
1833
1826
|
#
|
1827
|
+
# @!attribute [rw] next_token
|
1828
|
+
# Use this parameter when paginating results in a subsequent request
|
1829
|
+
# after you receive a response with truncated results. Set it to the
|
1830
|
+
# value of the `NextToken` parameter from the response you just
|
1831
|
+
# received.
|
1832
|
+
# @return [String]
|
1833
|
+
#
|
1834
1834
|
# @!attribute [rw] resource_owner
|
1835
1835
|
# Use this parameter to filter the returned set of certificate
|
1836
1836
|
# authorities based on their owner. The default is SELF.
|
@@ -1839,32 +1839,46 @@ module Aws::ACMPCA
|
|
1839
1839
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListCertificateAuthoritiesRequest AWS API Documentation
|
1840
1840
|
#
|
1841
1841
|
class ListCertificateAuthoritiesRequest < Struct.new(
|
1842
|
-
:next_token,
|
1843
1842
|
:max_results,
|
1843
|
+
:next_token,
|
1844
1844
|
:resource_owner)
|
1845
1845
|
SENSITIVE = []
|
1846
1846
|
include Aws::Structure
|
1847
1847
|
end
|
1848
1848
|
|
1849
|
-
# @!attribute [rw] certificate_authorities
|
1850
|
-
# Summary information about each certificate authority you have
|
1851
|
-
# created.
|
1852
|
-
# @return [Array<Types::CertificateAuthority>]
|
1853
|
-
#
|
1854
1849
|
# @!attribute [rw] next_token
|
1855
1850
|
# When the list is truncated, this value is present and should be used
|
1856
1851
|
# for the `NextToken` parameter in a subsequent pagination request.
|
1857
1852
|
# @return [String]
|
1858
1853
|
#
|
1854
|
+
# @!attribute [rw] certificate_authorities
|
1855
|
+
# Summary information about each certificate authority you have
|
1856
|
+
# created.
|
1857
|
+
# @return [Array<Types::CertificateAuthority>]
|
1858
|
+
#
|
1859
1859
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListCertificateAuthoritiesResponse AWS API Documentation
|
1860
1860
|
#
|
1861
1861
|
class ListCertificateAuthoritiesResponse < Struct.new(
|
1862
|
-
:
|
1863
|
-
:
|
1862
|
+
:next_token,
|
1863
|
+
:certificate_authorities)
|
1864
1864
|
SENSITIVE = []
|
1865
1865
|
include Aws::Structure
|
1866
1866
|
end
|
1867
1867
|
|
1868
|
+
# @!attribute [rw] max_results
|
1869
|
+
# When paginating results, use this parameter to specify the maximum
|
1870
|
+
# number of items to return in the response. If additional items exist
|
1871
|
+
# beyond the number you specify, the **NextToken** element is sent in
|
1872
|
+
# the response. Use this **NextToken** value in a subsequent request
|
1873
|
+
# to retrieve additional items.
|
1874
|
+
# @return [Integer]
|
1875
|
+
#
|
1876
|
+
# @!attribute [rw] next_token
|
1877
|
+
# When paginating results, use this parameter in a subsequent request
|
1878
|
+
# after you receive a response with truncated results. Set it to the
|
1879
|
+
# value of **NextToken** from the response you just received.
|
1880
|
+
# @return [String]
|
1881
|
+
#
|
1868
1882
|
# @!attribute [rw] certificate_authority_arn
|
1869
1883
|
# The Amazon Resource Number (ARN) of the private CA to inspect. You
|
1870
1884
|
# can find the ARN by calling the [ListCertificateAuthorities][1]
|
@@ -1878,50 +1892,50 @@ module Aws::ACMPCA
|
|
1878
1892
|
# [1]: https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html
|
1879
1893
|
# @return [String]
|
1880
1894
|
#
|
1881
|
-
# @!attribute [rw] next_token
|
1882
|
-
# When paginating results, use this parameter in a subsequent request
|
1883
|
-
# after you receive a response with truncated results. Set it to the
|
1884
|
-
# value of **NextToken** from the response you just received.
|
1885
|
-
# @return [String]
|
1886
|
-
#
|
1887
|
-
# @!attribute [rw] max_results
|
1888
|
-
# When paginating results, use this parameter to specify the maximum
|
1889
|
-
# number of items to return in the response. If additional items exist
|
1890
|
-
# beyond the number you specify, the **NextToken** element is sent in
|
1891
|
-
# the response. Use this **NextToken** value in a subsequent request
|
1892
|
-
# to retrieve additional items.
|
1893
|
-
# @return [Integer]
|
1894
|
-
#
|
1895
1895
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListPermissionsRequest AWS API Documentation
|
1896
1896
|
#
|
1897
1897
|
class ListPermissionsRequest < Struct.new(
|
1898
|
-
:
|
1898
|
+
:max_results,
|
1899
1899
|
:next_token,
|
1900
|
-
:
|
1900
|
+
:certificate_authority_arn)
|
1901
1901
|
SENSITIVE = []
|
1902
1902
|
include Aws::Structure
|
1903
1903
|
end
|
1904
1904
|
|
1905
|
+
# @!attribute [rw] next_token
|
1906
|
+
# When the list is truncated, this value is present and should be used
|
1907
|
+
# for the **NextToken** parameter in a subsequent pagination request.
|
1908
|
+
# @return [String]
|
1909
|
+
#
|
1905
1910
|
# @!attribute [rw] permissions
|
1906
1911
|
# Summary information about each permission assigned by the specified
|
1907
1912
|
# private CA, including the action enabled, the policy provided, and
|
1908
1913
|
# the time of creation.
|
1909
1914
|
# @return [Array<Types::Permission>]
|
1910
1915
|
#
|
1911
|
-
# @!attribute [rw] next_token
|
1912
|
-
# When the list is truncated, this value is present and should be used
|
1913
|
-
# for the **NextToken** parameter in a subsequent pagination request.
|
1914
|
-
# @return [String]
|
1915
|
-
#
|
1916
1916
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListPermissionsResponse AWS API Documentation
|
1917
1917
|
#
|
1918
1918
|
class ListPermissionsResponse < Struct.new(
|
1919
|
-
:
|
1920
|
-
:
|
1919
|
+
:next_token,
|
1920
|
+
:permissions)
|
1921
1921
|
SENSITIVE = []
|
1922
1922
|
include Aws::Structure
|
1923
1923
|
end
|
1924
1924
|
|
1925
|
+
# @!attribute [rw] max_results
|
1926
|
+
# Use this parameter when paginating results to specify the maximum
|
1927
|
+
# number of items to return in the response. If additional items exist
|
1928
|
+
# beyond the number you specify, the **NextToken** element is sent in
|
1929
|
+
# the response. Use this **NextToken** value in a subsequent request
|
1930
|
+
# to retrieve additional items.
|
1931
|
+
# @return [Integer]
|
1932
|
+
#
|
1933
|
+
# @!attribute [rw] next_token
|
1934
|
+
# Use this parameter when paginating results in a subsequent request
|
1935
|
+
# after you receive a response with truncated results. Set it to the
|
1936
|
+
# value of **NextToken** from the response you just received.
|
1937
|
+
# @return [String]
|
1938
|
+
#
|
1925
1939
|
# @!attribute [rw] certificate_authority_arn
|
1926
1940
|
# The Amazon Resource Name (ARN) that was returned when you called the
|
1927
1941
|
# [CreateCertificateAuthority][1] action. This must be of the form:
|
@@ -1934,44 +1948,30 @@ module Aws::ACMPCA
|
|
1934
1948
|
# [1]: https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html
|
1935
1949
|
# @return [String]
|
1936
1950
|
#
|
1937
|
-
# @!attribute [rw] next_token
|
1938
|
-
# Use this parameter when paginating results in a subsequent request
|
1939
|
-
# after you receive a response with truncated results. Set it to the
|
1940
|
-
# value of **NextToken** from the response you just received.
|
1941
|
-
# @return [String]
|
1942
|
-
#
|
1943
|
-
# @!attribute [rw] max_results
|
1944
|
-
# Use this parameter when paginating results to specify the maximum
|
1945
|
-
# number of items to return in the response. If additional items exist
|
1946
|
-
# beyond the number you specify, the **NextToken** element is sent in
|
1947
|
-
# the response. Use this **NextToken** value in a subsequent request
|
1948
|
-
# to retrieve additional items.
|
1949
|
-
# @return [Integer]
|
1950
|
-
#
|
1951
1951
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListTagsRequest AWS API Documentation
|
1952
1952
|
#
|
1953
1953
|
class ListTagsRequest < Struct.new(
|
1954
|
-
:
|
1954
|
+
:max_results,
|
1955
1955
|
:next_token,
|
1956
|
-
:
|
1956
|
+
:certificate_authority_arn)
|
1957
1957
|
SENSITIVE = []
|
1958
1958
|
include Aws::Structure
|
1959
1959
|
end
|
1960
1960
|
|
1961
|
-
# @!attribute [rw] tags
|
1962
|
-
# The tags associated with your private CA.
|
1963
|
-
# @return [Array<Types::Tag>]
|
1964
|
-
#
|
1965
1961
|
# @!attribute [rw] next_token
|
1966
1962
|
# When the list is truncated, this value is present and should be used
|
1967
1963
|
# for the **NextToken** parameter in a subsequent pagination request.
|
1968
1964
|
# @return [String]
|
1969
1965
|
#
|
1966
|
+
# @!attribute [rw] tags
|
1967
|
+
# The tags associated with your private CA.
|
1968
|
+
# @return [Array<Types::Tag>]
|
1969
|
+
#
|
1970
1970
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListTagsResponse AWS API Documentation
|
1971
1971
|
#
|
1972
1972
|
class ListTagsResponse < Struct.new(
|
1973
|
-
:
|
1974
|
-
:
|
1973
|
+
:next_token,
|
1974
|
+
:tags)
|
1975
1975
|
SENSITIVE = []
|
1976
1976
|
include Aws::Structure
|
1977
1977
|
end
|
@@ -69,9 +69,9 @@ module Aws::ACMPCA
|
|
69
69
|
#
|
70
70
|
# | waiter_name | params | :delay | :max_attempts |
|
71
71
|
# | --------------------------------- | ---------------------------------------------------- | -------- | ------------- |
|
72
|
-
# | audit_report_created | {Client#describe_certificate_authority_audit_report} | 3 |
|
73
|
-
# | certificate_authority_csr_created | {Client#get_certificate_authority_csr} | 3 |
|
74
|
-
# | certificate_issued | {Client#get_certificate} | 1 |
|
72
|
+
# | audit_report_created | {Client#describe_certificate_authority_audit_report} | 3 | 40 |
|
73
|
+
# | certificate_authority_csr_created | {Client#get_certificate_authority_csr} | 3 | 40 |
|
74
|
+
# | certificate_issued | {Client#get_certificate} | 1 | 120 |
|
75
75
|
#
|
76
76
|
module Waiters
|
77
77
|
|
@@ -80,33 +80,33 @@ module Aws::ACMPCA
|
|
80
80
|
|
81
81
|
# @param [Hash] options
|
82
82
|
# @option options [required, Client] :client
|
83
|
-
# @option options [Integer] :max_attempts (
|
83
|
+
# @option options [Integer] :max_attempts (40)
|
84
84
|
# @option options [Integer] :delay (3)
|
85
85
|
# @option options [Proc] :before_attempt
|
86
86
|
# @option options [Proc] :before_wait
|
87
87
|
def initialize(options)
|
88
88
|
@client = options.fetch(:client)
|
89
89
|
@waiter = Aws::Waiters::Waiter.new({
|
90
|
-
max_attempts:
|
90
|
+
max_attempts: 40,
|
91
91
|
delay: 3,
|
92
92
|
poller: Aws::Waiters::Poller.new(
|
93
93
|
operation_name: :describe_certificate_authority_audit_report,
|
94
94
|
acceptors: [
|
95
95
|
{
|
96
|
-
"state" => "success",
|
97
96
|
"matcher" => "path",
|
98
97
|
"argument" => "audit_report_status",
|
98
|
+
"state" => "success",
|
99
99
|
"expected" => "SUCCESS"
|
100
100
|
},
|
101
101
|
{
|
102
|
-
"state" => "failure",
|
103
102
|
"matcher" => "path",
|
104
103
|
"argument" => "audit_report_status",
|
104
|
+
"state" => "failure",
|
105
105
|
"expected" => "FAILED"
|
106
106
|
},
|
107
107
|
{
|
108
|
-
"state" => "failure",
|
109
108
|
"matcher" => "error",
|
109
|
+
"state" => "failure",
|
110
110
|
"expected" => "AccessDeniedException"
|
111
111
|
}
|
112
112
|
]
|
@@ -130,31 +130,31 @@ module Aws::ACMPCA
|
|
130
130
|
|
131
131
|
# @param [Hash] options
|
132
132
|
# @option options [required, Client] :client
|
133
|
-
# @option options [Integer] :max_attempts (
|
133
|
+
# @option options [Integer] :max_attempts (40)
|
134
134
|
# @option options [Integer] :delay (3)
|
135
135
|
# @option options [Proc] :before_attempt
|
136
136
|
# @option options [Proc] :before_wait
|
137
137
|
def initialize(options)
|
138
138
|
@client = options.fetch(:client)
|
139
139
|
@waiter = Aws::Waiters::Waiter.new({
|
140
|
-
max_attempts:
|
140
|
+
max_attempts: 40,
|
141
141
|
delay: 3,
|
142
142
|
poller: Aws::Waiters::Poller.new(
|
143
143
|
operation_name: :get_certificate_authority_csr,
|
144
144
|
acceptors: [
|
145
145
|
{
|
146
|
+
"matcher" => "error",
|
146
147
|
"state" => "success",
|
147
|
-
"
|
148
|
-
"expected" => 200
|
148
|
+
"expected" => false
|
149
149
|
},
|
150
150
|
{
|
151
|
-
"state" => "retry",
|
152
151
|
"matcher" => "error",
|
152
|
+
"state" => "retry",
|
153
153
|
"expected" => "RequestInProgressException"
|
154
154
|
},
|
155
155
|
{
|
156
|
-
"state" => "failure",
|
157
156
|
"matcher" => "error",
|
157
|
+
"state" => "failure",
|
158
158
|
"expected" => "AccessDeniedException"
|
159
159
|
}
|
160
160
|
]
|
@@ -178,31 +178,31 @@ module Aws::ACMPCA
|
|
178
178
|
|
179
179
|
# @param [Hash] options
|
180
180
|
# @option options [required, Client] :client
|
181
|
-
# @option options [Integer] :max_attempts (
|
181
|
+
# @option options [Integer] :max_attempts (120)
|
182
182
|
# @option options [Integer] :delay (1)
|
183
183
|
# @option options [Proc] :before_attempt
|
184
184
|
# @option options [Proc] :before_wait
|
185
185
|
def initialize(options)
|
186
186
|
@client = options.fetch(:client)
|
187
187
|
@waiter = Aws::Waiters::Waiter.new({
|
188
|
-
max_attempts:
|
188
|
+
max_attempts: 120,
|
189
189
|
delay: 1,
|
190
190
|
poller: Aws::Waiters::Poller.new(
|
191
191
|
operation_name: :get_certificate,
|
192
192
|
acceptors: [
|
193
193
|
{
|
194
|
+
"matcher" => "error",
|
194
195
|
"state" => "success",
|
195
|
-
"
|
196
|
-
"expected" => 200
|
196
|
+
"expected" => false
|
197
197
|
},
|
198
198
|
{
|
199
|
-
"state" => "retry",
|
200
199
|
"matcher" => "error",
|
200
|
+
"state" => "retry",
|
201
201
|
"expected" => "RequestInProgressException"
|
202
202
|
},
|
203
203
|
{
|
204
|
-
"state" => "failure",
|
205
204
|
"matcher" => "error",
|
205
|
+
"state" => "failure",
|
206
206
|
"expected" => "AccessDeniedException"
|
207
207
|
}
|
208
208
|
]
|
data/lib/aws-sdk-acmpca.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -437,40 +437,40 @@ module Aws
|
|
437
437
|
|
438
438
|
interface _ListCertificateAuthoritiesResponseSuccess
|
439
439
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListCertificateAuthoritiesResponse]
|
440
|
-
def certificate_authorities: () -> ::Array[Types::CertificateAuthority]
|
441
440
|
def next_token: () -> ::String
|
441
|
+
def certificate_authorities: () -> ::Array[Types::CertificateAuthority]
|
442
442
|
end
|
443
443
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#list_certificate_authorities-instance_method
|
444
444
|
def list_certificate_authorities: (
|
445
|
-
?next_token: ::String,
|
446
445
|
?max_results: ::Integer,
|
446
|
+
?next_token: ::String,
|
447
447
|
?resource_owner: ("SELF" | "OTHER_ACCOUNTS")
|
448
448
|
) -> _ListCertificateAuthoritiesResponseSuccess
|
449
449
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCertificateAuthoritiesResponseSuccess
|
450
450
|
|
451
451
|
interface _ListPermissionsResponseSuccess
|
452
452
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListPermissionsResponse]
|
453
|
-
def permissions: () -> ::Array[Types::Permission]
|
454
453
|
def next_token: () -> ::String
|
454
|
+
def permissions: () -> ::Array[Types::Permission]
|
455
455
|
end
|
456
456
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#list_permissions-instance_method
|
457
457
|
def list_permissions: (
|
458
|
-
|
458
|
+
?max_results: ::Integer,
|
459
459
|
?next_token: ::String,
|
460
|
-
|
460
|
+
certificate_authority_arn: ::String
|
461
461
|
) -> _ListPermissionsResponseSuccess
|
462
462
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPermissionsResponseSuccess
|
463
463
|
|
464
464
|
interface _ListTagsResponseSuccess
|
465
465
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsResponse]
|
466
|
-
def tags: () -> ::Array[Types::Tag]
|
467
466
|
def next_token: () -> ::String
|
467
|
+
def tags: () -> ::Array[Types::Tag]
|
468
468
|
end
|
469
469
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#list_tags-instance_method
|
470
470
|
def list_tags: (
|
471
|
-
|
471
|
+
?max_results: ::Integer,
|
472
472
|
?next_token: ::String,
|
473
|
-
|
473
|
+
certificate_authority_arn: ::String
|
474
474
|
) -> _ListTagsResponseSuccess
|
475
475
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
|
476
476
|
|
data/sig/types.rbs
CHANGED
@@ -349,41 +349,41 @@ module Aws::ACMPCA
|
|
349
349
|
end
|
350
350
|
|
351
351
|
class ListCertificateAuthoritiesRequest
|
352
|
-
attr_accessor next_token: ::String
|
353
352
|
attr_accessor max_results: ::Integer
|
353
|
+
attr_accessor next_token: ::String
|
354
354
|
attr_accessor resource_owner: ("SELF" | "OTHER_ACCOUNTS")
|
355
355
|
SENSITIVE: []
|
356
356
|
end
|
357
357
|
|
358
358
|
class ListCertificateAuthoritiesResponse
|
359
|
-
attr_accessor certificate_authorities: ::Array[Types::CertificateAuthority]
|
360
359
|
attr_accessor next_token: ::String
|
360
|
+
attr_accessor certificate_authorities: ::Array[Types::CertificateAuthority]
|
361
361
|
SENSITIVE: []
|
362
362
|
end
|
363
363
|
|
364
364
|
class ListPermissionsRequest
|
365
|
-
attr_accessor certificate_authority_arn: ::String
|
366
|
-
attr_accessor next_token: ::String
|
367
365
|
attr_accessor max_results: ::Integer
|
366
|
+
attr_accessor next_token: ::String
|
367
|
+
attr_accessor certificate_authority_arn: ::String
|
368
368
|
SENSITIVE: []
|
369
369
|
end
|
370
370
|
|
371
371
|
class ListPermissionsResponse
|
372
|
-
attr_accessor permissions: ::Array[Types::Permission]
|
373
372
|
attr_accessor next_token: ::String
|
373
|
+
attr_accessor permissions: ::Array[Types::Permission]
|
374
374
|
SENSITIVE: []
|
375
375
|
end
|
376
376
|
|
377
377
|
class ListTagsRequest
|
378
|
-
attr_accessor certificate_authority_arn: ::String
|
379
|
-
attr_accessor next_token: ::String
|
380
378
|
attr_accessor max_results: ::Integer
|
379
|
+
attr_accessor next_token: ::String
|
380
|
+
attr_accessor certificate_authority_arn: ::String
|
381
381
|
SENSITIVE: []
|
382
382
|
end
|
383
383
|
|
384
384
|
class ListTagsResponse
|
385
|
-
attr_accessor tags: ::Array[Types::Tag]
|
386
385
|
attr_accessor next_token: ::String
|
386
|
+
attr_accessor tags: ::Array[Types::Tag]
|
387
387
|
SENSITIVE: []
|
388
388
|
end
|
389
389
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-acmpca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.75.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: 2024-07-
|
11
|
+
date: 2024-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|