aws-sdk-signerdata 1.0.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.
@@ -0,0 +1,72 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SignerData
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_fips
19
+ # When true, send this request to the FIPS-compliant regional endpoint.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_dual_stack
24
+ # When true, use the dual-stack endpoint.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request.
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_fips,
36
+ :use_dual_stack,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseFIPS' => :use_fips,
46
+ 'UseDualStack' => :use_dual_stack,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
56
+ self[:use_fips] = options[:use_fips]
57
+ self[:use_fips] = false if self[:use_fips].nil?
58
+ self[:use_dual_stack] = options[:use_dual_stack]
59
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
60
+ self[:endpoint] = options[:endpoint]
61
+ end
62
+
63
+ def self.create(config, options={})
64
+ new({
65
+ region: config.region,
66
+ use_fips: config.use_fips_endpoint,
67
+ use_dual_stack: config.use_dualstack_endpoint,
68
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
69
+ }.merge(options))
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SignerData
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint)
15
+ end
16
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
18
+ return Aws::Endpoints::Endpoint.new(url: "https://data-signer-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}")
19
+ end
20
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
21
+ return Aws::Endpoints::Endpoint.new(url: "https://data-signer-fips.#{parameters.region}.#{partition_result['dnsSuffix']}")
22
+ end
23
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
24
+ return Aws::Endpoints::Endpoint.new(url: "https://data-signer.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}")
25
+ end
26
+ return Aws::Endpoints::Endpoint.new(url: "https://data-signer.#{parameters.region}.#{partition_result['dnsSuffix']}")
27
+ end
28
+ raise ArgumentError, 'No endpoint could be resolved'
29
+
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::SignerData
12
+ # @api private
13
+ module Endpoints
14
+
15
+
16
+ def self.parameters_for_operation(context)
17
+ Aws::SignerData::EndpointParameters.create(context.config)
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,122 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SignerData
11
+
12
+ # When SignerData returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::SignerData::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all SignerData errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::SignerData::Errors::ServiceError
20
+ # # rescues all SignerData API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {AccessDeniedException}
31
+ # * {InternalServiceErrorException}
32
+ # * {TooManyRequestsException}
33
+ # * {ValidationException}
34
+ #
35
+ # Additionally, error classes are dynamically generated for service errors based on the error code
36
+ # if they are not defined above.
37
+ module Errors
38
+
39
+ extend Aws::Errors::DynamicErrors
40
+
41
+ class AccessDeniedException < ServiceError
42
+
43
+ # @param [Seahorse::Client::RequestContext] context
44
+ # @param [String] message
45
+ # @param [Aws::SignerData::Types::AccessDeniedException] data
46
+ def initialize(context, message, data = Aws::EmptyStructure.new)
47
+ super(context, message, data)
48
+ end
49
+
50
+ # @return [String]
51
+ def message
52
+ @message || @data[:message]
53
+ end
54
+
55
+ # @return [String]
56
+ def code
57
+ @code || @data[:code]
58
+ end
59
+ end
60
+
61
+ class InternalServiceErrorException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::SignerData::Types::InternalServiceErrorException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ # @return [String]
76
+ def code
77
+ @code || @data[:code]
78
+ end
79
+ end
80
+
81
+ class TooManyRequestsException < ServiceError
82
+
83
+ # @param [Seahorse::Client::RequestContext] context
84
+ # @param [String] message
85
+ # @param [Aws::SignerData::Types::TooManyRequestsException] data
86
+ def initialize(context, message, data = Aws::EmptyStructure.new)
87
+ super(context, message, data)
88
+ end
89
+
90
+ # @return [String]
91
+ def message
92
+ @message || @data[:message]
93
+ end
94
+
95
+ # @return [String]
96
+ def code
97
+ @code || @data[:code]
98
+ end
99
+ end
100
+
101
+ class ValidationException < ServiceError
102
+
103
+ # @param [Seahorse::Client::RequestContext] context
104
+ # @param [String] message
105
+ # @param [Aws::SignerData::Types::ValidationException] data
106
+ def initialize(context, message, data = Aws::EmptyStructure.new)
107
+ super(context, message, data)
108
+ end
109
+
110
+ # @return [String]
111
+ def message
112
+ @message || @data[:message]
113
+ end
114
+
115
+ # @return [String]
116
+ def code
117
+ @code || @data[:code]
118
+ end
119
+ end
120
+
121
+ end
122
+ end
@@ -0,0 +1,77 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::SignerData
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::SignerData::EndpointProvider',
17
+ rbs_type: 'untyped',
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::SignerData::EndpointParameters`.
22
+ DOCS
23
+ Aws::SignerData::EndpointProvider.new
24
+ end
25
+
26
+ # @api private
27
+ class Handler < Seahorse::Client::Handler
28
+ def call(context)
29
+ unless context[:discovered_endpoint]
30
+ params = Aws::SignerData::Endpoints.parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+
36
+ context[:endpoint_params] = params
37
+ context[:endpoint_properties] = endpoint.properties
38
+ end
39
+
40
+ context[:auth_scheme] =
41
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
+
43
+ with_metrics(context) { @handler.call(context) }
44
+ end
45
+
46
+ private
47
+
48
+ def with_metrics(context, &block)
49
+ metrics = []
50
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
51
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
+ metrics << 'SIGV4A_SIGNING'
53
+ end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
57
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
58
+ end
59
+
60
+ def apply_endpoint_headers(context, headers)
61
+ headers.each do |key, values|
62
+ value = values
63
+ .compact
64
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
65
+ .join(',')
66
+
67
+ context.http_request.headers[key] = value
68
+ end
69
+ end
70
+ end
71
+
72
+ def add_handlers(handlers, _config)
73
+ handlers.add(Handler, step: :build, priority: 75)
74
+ end
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SignerData
11
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,132 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SignerData
11
+ module Types
12
+
13
+ # You do not have sufficient permissions to perform this action.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @!attribute [rw] code
19
+ # @return [String]
20
+ #
21
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-data-2017-08-25/AccessDeniedException AWS API Documentation
22
+ #
23
+ class AccessDeniedException < Struct.new(
24
+ :message,
25
+ :code)
26
+ SENSITIVE = []
27
+ include Aws::Structure
28
+ end
29
+
30
+ # Request structure for checking revocation status.
31
+ #
32
+ # @!attribute [rw] signature_timestamp
33
+ # The timestamp when the artifact was signed, in ISO 8601 format.
34
+ # @return [Time]
35
+ #
36
+ # @!attribute [rw] platform_id
37
+ # The platform identifier for the signing platform used.
38
+ # @return [String]
39
+ #
40
+ # @!attribute [rw] profile_version_arn
41
+ # The ARN of the signing profile version used to sign the artifact.
42
+ # @return [String]
43
+ #
44
+ # @!attribute [rw] job_arn
45
+ # The ARN of the signing job that produced the signature.
46
+ # @return [String]
47
+ #
48
+ # @!attribute [rw] certificate_hashes
49
+ # List of certificate hashes to check for revocation.
50
+ # @return [Array<String>]
51
+ #
52
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-data-2017-08-25/GetRevocationStatusRequest AWS API Documentation
53
+ #
54
+ class GetRevocationStatusRequest < Struct.new(
55
+ :signature_timestamp,
56
+ :platform_id,
57
+ :profile_version_arn,
58
+ :job_arn,
59
+ :certificate_hashes)
60
+ SENSITIVE = []
61
+ include Aws::Structure
62
+ end
63
+
64
+ # Response containing the list of revoked entities.
65
+ #
66
+ # @!attribute [rw] revoked_entities
67
+ # List of entity identifiers that have been revoked. Empty if no
68
+ # revocations found.
69
+ # @return [Array<String>]
70
+ #
71
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-data-2017-08-25/GetRevocationStatusResponse AWS API Documentation
72
+ #
73
+ class GetRevocationStatusResponse < Struct.new(
74
+ :revoked_entities)
75
+ SENSITIVE = []
76
+ include Aws::Structure
77
+ end
78
+
79
+ # An internal service error occurred.
80
+ #
81
+ # @!attribute [rw] message
82
+ # @return [String]
83
+ #
84
+ # @!attribute [rw] code
85
+ # @return [String]
86
+ #
87
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-data-2017-08-25/InternalServiceErrorException AWS API Documentation
88
+ #
89
+ class InternalServiceErrorException < Struct.new(
90
+ :message,
91
+ :code)
92
+ SENSITIVE = []
93
+ include Aws::Structure
94
+ end
95
+
96
+ # The request was denied due to request throttling.
97
+ #
98
+ # @!attribute [rw] message
99
+ # @return [String]
100
+ #
101
+ # @!attribute [rw] code
102
+ # @return [String]
103
+ #
104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-data-2017-08-25/TooManyRequestsException AWS API Documentation
105
+ #
106
+ class TooManyRequestsException < Struct.new(
107
+ :message,
108
+ :code)
109
+ SENSITIVE = []
110
+ include Aws::Structure
111
+ end
112
+
113
+ # The request contains invalid parameters or is malformed.
114
+ #
115
+ # @!attribute [rw] message
116
+ # @return [String]
117
+ #
118
+ # @!attribute [rw] code
119
+ # @return [String]
120
+ #
121
+ # @see http://docs.aws.amazon.com/goto/WebAPI/signer-data-2017-08-25/ValidationException AWS API Documentation
122
+ #
123
+ class ValidationException < Struct.new(
124
+ :message,
125
+ :code)
126
+ SENSITIVE = []
127
+ include Aws::Structure
128
+ end
129
+
130
+ end
131
+ end
132
+
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::SignerData
13
+ module Waiters
14
+ end
15
+ end
@@ -0,0 +1,62 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:signerdata)
15
+
16
+ # This module provides support for AWS Signer Data Plane. This module is available in the
17
+ # `aws-sdk-signerdata` gem.
18
+ #
19
+ # # Client
20
+ #
21
+ # The {Client} class provides one method for each API operation. Operation
22
+ # methods each accept a hash of request parameters and return a response
23
+ # structure.
24
+ #
25
+ # signer_data = Aws::SignerData::Client.new
26
+ # resp = signer_data.get_revocation_status(params)
27
+ #
28
+ # See {Client} for more information.
29
+ #
30
+ # # Errors
31
+ #
32
+ # Errors returned from AWS Signer Data Plane are defined in the
33
+ # {Errors} module and all extend {Errors::ServiceError}.
34
+ #
35
+ # begin
36
+ # # do stuff
37
+ # rescue Aws::SignerData::Errors::ServiceError
38
+ # # rescues all AWS Signer Data Plane API errors
39
+ # end
40
+ #
41
+ # See {Errors} for more information.
42
+ #
43
+ # @!group service
44
+ module Aws::SignerData
45
+ autoload :Types, 'aws-sdk-signerdata/types'
46
+ autoload :ClientApi, 'aws-sdk-signerdata/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-signerdata/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-signerdata/client'
51
+ autoload :Errors, 'aws-sdk-signerdata/errors'
52
+ autoload :Waiters, 'aws-sdk-signerdata/waiters'
53
+ autoload :Resource, 'aws-sdk-signerdata/resource'
54
+ autoload :EndpointParameters, 'aws-sdk-signerdata/endpoint_parameters'
55
+ autoload :EndpointProvider, 'aws-sdk-signerdata/endpoint_provider'
56
+ autoload :Endpoints, 'aws-sdk-signerdata/endpoints'
57
+
58
+ GEM_VERSION = '1.0.0'
59
+
60
+ end
61
+
62
+ require_relative 'aws-sdk-signerdata/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,97 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SignerData
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SignerData/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
58
+ ?token_provider: untyped,
59
+ ?use_dualstack_endpoint: bool,
60
+ ?use_fips_endpoint: bool,
61
+ ?validate_params: bool,
62
+ ?endpoint_provider: untyped,
63
+ ?http_proxy: String,
64
+ ?http_open_timeout: (Float | Integer),
65
+ ?http_read_timeout: (Float | Integer),
66
+ ?http_idle_timeout: (Float | Integer),
67
+ ?http_continue_timeout: (Float | Integer),
68
+ ?ssl_timeout: (Float | Integer | nil),
69
+ ?http_wire_trace: bool,
70
+ ?ssl_verify_peer: bool,
71
+ ?ssl_ca_bundle: String,
72
+ ?ssl_ca_directory: String,
73
+ ?ssl_ca_store: String,
74
+ ?on_chunk_received: Proc,
75
+ ?on_chunk_sent: Proc,
76
+ ?raise_response_errors: bool
77
+ ) -> instance
78
+ | (?Hash[Symbol, untyped]) -> instance
79
+
80
+
81
+ interface _GetRevocationStatusResponseSuccess
82
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRevocationStatusResponse]
83
+ def revoked_entities: () -> ::Array[::String]
84
+ end
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SignerData/Client.html#get_revocation_status-instance_method
86
+ def get_revocation_status: (
87
+ signature_timestamp: ::Time,
88
+ platform_id: ::String,
89
+ profile_version_arn: ::String,
90
+ job_arn: ::String,
91
+ certificate_hashes: Array[::String]
92
+ ) -> _GetRevocationStatusResponseSuccess
93
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRevocationStatusResponseSuccess
94
+ end
95
+ end
96
+ end
97
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,32 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SignerData
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ def code: () -> ::String
17
+ end
18
+ class InternalServiceErrorException < ::Aws::Errors::ServiceError
19
+ def message: () -> ::String
20
+ def code: () -> ::String
21
+ end
22
+ class TooManyRequestsException < ::Aws::Errors::ServiceError
23
+ def message: () -> ::String
24
+ def code: () -> ::String
25
+ end
26
+ class ValidationException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ def code: () -> ::String
29
+ end
30
+ end
31
+ end
32
+ end