aws-sdk-acmpca 1.8.0 → 1.9.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ae30f0dafdfb9f2a8724f283b18d81c076adbbb
4
- data.tar.gz: 5ad4daf3bed151785bb9c22e8d829d0ec5e5aba4
3
+ metadata.gz: 255f8255e48189e6258183211e654045ea9ae59d
4
+ data.tar.gz: 699c3b342362cb50e5d20c14636302ac9d0a1bb1
5
5
  SHA512:
6
- metadata.gz: 44c3820c5e791d46d7ffb24b46ca72c7cf5e2ba7cc9232e5cf7f231586e505d28a782f4fdd204dea64042b520f1779f1fab2b99d70153de3d5301bf2bf9936cf
7
- data.tar.gz: 95ac56c7dba585b0b32c7122a93bd2928216bccfbcb6b122243559089ebd7ea38bd86a7fc22da293f9c677e0b12c01627cd5cfc40e2122a73a748e98554816a3
6
+ metadata.gz: 5d533489e002c4599f3366ac7beb47c03173c07684bd418aad4331e7daf88a5888484d8807b37af2aa9b1c96d3743726380be3b3914fbcec1472862495a69660
7
+ data.tar.gz: 99693219dfb7fb577d9af9f6c595af088cc803c8d369df5bbcdde506fd71903a30c903975bb913430d6feb47eeb52ba9c75ccddea191934d1011bd4e564bc3ea
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-acmpca/customizations'
43
43
  # @service
44
44
  module Aws::ACMPCA
45
45
 
46
- GEM_VERSION = '1.8.0'
46
+ GEM_VERSION = '1.9.0'
47
47
 
48
48
  end
@@ -253,6 +253,10 @@ module Aws::ACMPCA
253
253
  # idempotency token for each call, however, ACM PCA recognizes that you
254
254
  # are requesting multiple certificates.
255
255
  #
256
+ # @option params [Array<Types::Tag>] :tags
257
+ # Key-value pairs that will be attached to the new private CA. You can
258
+ # associate up to 50 tags with a private CA.
259
+ #
256
260
  # @return [Types::CreateCertificateAuthorityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
257
261
  #
258
262
  # * {Types::CreateCertificateAuthorityResponse#certificate_authority_arn #certificate_authority_arn} => String
@@ -290,6 +294,12 @@ module Aws::ACMPCA
290
294
  # },
291
295
  # certificate_authority_type: "SUBORDINATE", # required, accepts SUBORDINATE
292
296
  # idempotency_token: "IdempotencyToken",
297
+ # tags: [
298
+ # {
299
+ # key: "TagKey", # required
300
+ # value: "TagValue",
301
+ # },
302
+ # ],
293
303
  # })
294
304
  #
295
305
  # @example Response structure
@@ -1171,7 +1181,7 @@ module Aws::ACMPCA
1171
1181
  params: params,
1172
1182
  config: config)
1173
1183
  context[:gem_name] = 'aws-sdk-acmpca'
1174
- context[:gem_version] = '1.8.0'
1184
+ context[:gem_version] = '1.9.0'
1175
1185
  Seahorse::Client::Request.new(handlers, context)
1176
1186
  end
1177
1187
 
@@ -152,6 +152,7 @@ module Aws::ACMPCA
152
152
  CreateCertificateAuthorityRequest.add_member(:revocation_configuration, Shapes::ShapeRef.new(shape: RevocationConfiguration, location_name: "RevocationConfiguration"))
153
153
  CreateCertificateAuthorityRequest.add_member(:certificate_authority_type, Shapes::ShapeRef.new(shape: CertificateAuthorityType, required: true, location_name: "CertificateAuthorityType"))
154
154
  CreateCertificateAuthorityRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken"))
155
+ CreateCertificateAuthorityRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
155
156
  CreateCertificateAuthorityRequest.struct_class = Types::CreateCertificateAuthorityRequest
156
157
 
157
158
  CreateCertificateAuthorityResponse.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateAuthorityArn"))
@@ -297,6 +298,7 @@ module Aws::ACMPCA
297
298
  o.output = Shapes::ShapeRef.new(shape: CreateCertificateAuthorityResponse)
298
299
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
299
300
  o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyException)
301
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagException)
300
302
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
301
303
  end)
302
304
 
@@ -459,6 +461,7 @@ module Aws::ACMPCA
459
461
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
460
462
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
461
463
  o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
464
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
462
465
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
463
466
  o.errors << Shapes::ShapeRef.new(shape: RequestAlreadyProcessedException)
464
467
  o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
@@ -352,6 +352,12 @@ module Aws::ACMPCA
352
352
  # },
353
353
  # certificate_authority_type: "SUBORDINATE", # required, accepts SUBORDINATE
354
354
  # idempotency_token: "IdempotencyToken",
355
+ # tags: [
356
+ # {
357
+ # key: "TagKey", # required
358
+ # value: "TagValue",
359
+ # },
360
+ # ],
355
361
  # }
356
362
  #
357
363
  # @!attribute [rw] certificate_authority_configuration
@@ -384,13 +390,19 @@ module Aws::ACMPCA
384
390
  # you are requesting multiple certificates.
385
391
  # @return [String]
386
392
  #
393
+ # @!attribute [rw] tags
394
+ # Key-value pairs that will be attached to the new private CA. You can
395
+ # associate up to 50 tags with a private CA.
396
+ # @return [Array<Types::Tag>]
397
+ #
387
398
  # @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CreateCertificateAuthorityRequest AWS API Documentation
388
399
  #
389
400
  class CreateCertificateAuthorityRequest < Struct.new(
390
401
  :certificate_authority_configuration,
391
402
  :revocation_configuration,
392
403
  :certificate_authority_type,
393
- :idempotency_token)
404
+ :idempotency_token,
405
+ :tags)
394
406
  include Aws::Structure
395
407
  end
396
408
 
@@ -26,12 +26,20 @@ module Aws::ACMPCA
26
26
  delay: 3,
27
27
  poller: Aws::Waiters::Poller.new(
28
28
  operation_name: :describe_certificate_authority_audit_report,
29
- acceptors: [{
30
- "state" => "success",
31
- "matcher" => "path",
32
- "argument" => "audit_report_status",
33
- "expected" => "SUCCESS"
34
- }]
29
+ acceptors: [
30
+ {
31
+ "state" => "success",
32
+ "matcher" => "path",
33
+ "argument" => "audit_report_status",
34
+ "expected" => "SUCCESS"
35
+ },
36
+ {
37
+ "state" => "failure",
38
+ "matcher" => "path",
39
+ "argument" => "audit_report_status",
40
+ "expected" => "FAILED"
41
+ }
42
+ ]
35
43
  )
36
44
  }.merge(options))
37
45
  end
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.8.0
4
+ version: 1.9.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: 2018-12-21 00:00:00.000000000 Z
11
+ date: 2019-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core