lib/aws-sdk-signer/client.rb in aws-sdk-signer-1.47.0 vs lib/aws-sdk-signer/client.rb in aws-sdk-signer-1.48.0
- old
+ new
@@ -561,10 +561,25 @@
#
# A certificate identifier consists of a subject certificate TBS hash
# (signed by the parent CA) combined with a parent CA TBS hash (signed
# by the parent CA’s CA). Root certificates are defined as their own CA.
#
+ # The following example shows how to calculate a hash for this parameter
+ # using OpenSSL commands:
+ #
+ # `openssl asn1parse -in childCert.pem -strparse 4 -out childCert.tbs`
+ #
+ # `openssl sha384 < childCert.tbs -binary > childCertTbsHash`
+ #
+ # `openssl asn1parse -in parentCert.pem -strparse 4 -out parentCert.tbs`
+ #
+ # `openssl sha384 < parentCert.tbs -binary > parentCertTbsHash xxd -p
+ # childCertTbsHash > certificateHash.hex xxd -p parentCertTbsHash >>
+ # certificateHash.hex`
+ #
+ # `cat certificateHash.hex | tr -d '\n'`
+ #
# @return [Types::GetRevocationStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetRevocationStatusResponse#revoked_entities #revoked_entities} => Array<String>
#
# @example Request syntax with placeholder values
@@ -749,16 +764,16 @@
req.send_request(options)
end
# Lists all your signing jobs. You can use the `maxResults` parameter to
# limit the number of signing jobs that are returned in the response. If
- # additional jobs remain to be listed, code signing returns a
- # `nextToken` value. Use this value in subsequent calls to
- # `ListSigningJobs` to fetch the remaining values. You can continue
- # calling `ListSigningJobs` with your `maxResults` parameter and with
- # new values that code signing returns in the `nextToken` parameter
- # until all of your signing jobs have been returned.
+ # additional jobs remain to be listed, AWS Signer returns a `nextToken`
+ # value. Use this value in subsequent calls to `ListSigningJobs` to
+ # fetch the remaining values. You can continue calling `ListSigningJobs`
+ # with your `maxResults` parameter and with new values that Signer
+ # returns in the `nextToken` parameter until all of your signing jobs
+ # have been returned.
#
# @option params [String] :status
# A status value with which to filter your results.
#
# @option params [String] :platform_id
@@ -846,17 +861,17 @@
def list_signing_jobs(params = {}, options = {})
req = build_request(:list_signing_jobs, params)
req.send_request(options)
end
- # Lists all signing platforms available in code signing that match the
- # request parameters. If additional jobs remain to be listed, code
- # signing returns a `nextToken` value. Use this value in subsequent
- # calls to `ListSigningJobs` to fetch the remaining values. You can
- # continue calling `ListSigningJobs` with your `maxResults` parameter
- # and with new values that code signing returns in the `nextToken`
- # parameter until all of your signing jobs have been returned.
+ # Lists all signing platforms available in AWS Signer that match the
+ # request parameters. If additional jobs remain to be listed, Signer
+ # returns a `nextToken` value. Use this value in subsequent calls to
+ # `ListSigningJobs` to fetch the remaining values. You can continue
+ # calling `ListSigningJobs` with your `maxResults` parameter and with
+ # new values that Signer returns in the `nextToken` parameter until all
+ # of your signing jobs have been returned.
#
# @option params [String] :category
# The category type of a signing platform.
#
# @option params [String] :partner
@@ -921,16 +936,16 @@
req.send_request(options)
end
# Lists all available signing profiles in your AWS account. Returns only
# profiles with an `ACTIVE` status unless the `includeCanceled` request
- # field is set to `true`. If additional jobs remain to be listed, code
- # signing returns a `nextToken` value. Use this value in subsequent
- # calls to `ListSigningJobs` to fetch the remaining values. You can
- # continue calling `ListSigningJobs` with your `maxResults` parameter
- # and with new values that code signing returns in the `nextToken`
- # parameter until all of your signing jobs have been returned.
+ # field is set to `true`. If additional jobs remain to be listed, AWS
+ # Signer returns a `nextToken` value. Use this value in subsequent calls
+ # to `ListSigningJobs` to fetch the remaining values. You can continue
+ # calling `ListSigningJobs` with your `maxResults` parameter and with
+ # new values that Signer returns in the `nextToken` parameter until all
+ # of your signing jobs have been returned.
#
# @option params [Boolean] :include_canceled
# Designates whether to include profiles with the status of `CANCELED`.
#
# @option params [Integer] :max_results
@@ -1022,11 +1037,11 @@
def list_tags_for_resource(params = {}, options = {})
req = build_request(:list_tags_for_resource, params)
req.send_request(options)
end
- # Creates a signing profile. A signing profile is a code signing
+ # Creates a signing profile. A signing profile is a code-signing
# template that can be used to carry out a pre-defined signing job.
#
# @option params [required, String] :profile_name
# The name of the signing profile to be created.
#
@@ -1218,11 +1233,12 @@
#
# @option params [required, String, StringIO, File] :payload
# Specifies the object digest (hash) to sign.
#
# @option params [required, String] :payload_format
- # Payload content type
+ # Payload content type. The single valid type is
+ # `application/vnd.cncf.notary.payload.v1+json`.
#
# @return [Types::SignPayloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::SignPayloadResponse#job_id #job_id} => String
# * {Types::SignPayloadResponse#job_owner #job_owner} => String
@@ -1262,18 +1278,18 @@
# * You must create an Amazon S3 source bucket. For more information,
# see [Creating a Bucket][1] in the *Amazon S3 Getting Started Guide*.
#
# * Your S3 source bucket must be version enabled.
#
- # * You must create an S3 destination bucket. Code signing uses your S3
+ # * You must create an S3 destination bucket. AWS Signer uses your S3
# destination bucket to write your signed code.
#
# * You specify the name of the source and destination buckets when
# calling the `StartSigningJob` operation.
#
# * You must also specify a request token that identifies your request
- # to code signing.
+ # to Signer.
#
# You can call the DescribeSigningJob and the ListSigningJobs actions
# after you call `StartSigningJob`.
#
# For a Java example that shows how to use this action, see
@@ -1415,10 +1431,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-signer'
- context[:gem_version] = '1.47.0'
+ context[:gem_version] = '1.48.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#