aws-sdk-marketplacedeployment 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,291 @@
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::MarketplaceDeployment
11
+ module Types
12
+
13
+ # You do not have sufficient access to perform this action.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/AccessDeniedException AWS API Documentation
19
+ #
20
+ class AccessDeniedException < Struct.new(
21
+ :message)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
25
+
26
+ # The request configuration has conflicts. For details, see the
27
+ # accompanying error message.
28
+ #
29
+ # @!attribute [rw] message
30
+ # @return [String]
31
+ #
32
+ # @!attribute [rw] resource_id
33
+ # The unique identifier for the resource associated with the error.
34
+ # @return [String]
35
+ #
36
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/ConflictException AWS API Documentation
37
+ #
38
+ class ConflictException < Struct.new(
39
+ :message,
40
+ :resource_id)
41
+ SENSITIVE = []
42
+ include Aws::Structure
43
+ end
44
+
45
+ # The shape containing the requested deployment parameter name and
46
+ # secretString.
47
+ #
48
+ # @!attribute [rw] name
49
+ # The desired name of the deployment parameter. This is the identifier
50
+ # on which deployment parameters are keyed for a given buyer and
51
+ # product. If this name matches an existing deployment parameter, this
52
+ # request will update the existing resource.
53
+ # @return [String]
54
+ #
55
+ # @!attribute [rw] secret_string
56
+ # The text to encrypt and store in the secret.
57
+ # @return [String]
58
+ #
59
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/DeploymentParameterInput AWS API Documentation
60
+ #
61
+ class DeploymentParameterInput < Struct.new(
62
+ :name,
63
+ :secret_string)
64
+ SENSITIVE = [:secret_string]
65
+ include Aws::Structure
66
+ end
67
+
68
+ # There was an internal service exception.
69
+ #
70
+ # @!attribute [rw] message
71
+ # @return [String]
72
+ #
73
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/InternalServerException AWS API Documentation
74
+ #
75
+ class InternalServerException < Struct.new(
76
+ :message)
77
+ SENSITIVE = []
78
+ include Aws::Structure
79
+ end
80
+
81
+ # @!attribute [rw] resource_arn
82
+ # The Amazon Resource Name (ARN) associated with the deployment
83
+ # parameter resource you want to list tags on.
84
+ # @return [String]
85
+ #
86
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/ListTagsForResourceRequest AWS API Documentation
87
+ #
88
+ class ListTagsForResourceRequest < Struct.new(
89
+ :resource_arn)
90
+ SENSITIVE = []
91
+ include Aws::Structure
92
+ end
93
+
94
+ # @!attribute [rw] tags
95
+ # A map of key-value pairs, where each pair represents a tag present
96
+ # on the resource.
97
+ # @return [Hash<String,String>]
98
+ #
99
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/ListTagsForResourceResponse AWS API Documentation
100
+ #
101
+ class ListTagsForResourceResponse < Struct.new(
102
+ :tags)
103
+ SENSITIVE = []
104
+ include Aws::Structure
105
+ end
106
+
107
+ # @!attribute [rw] agreement_id
108
+ # The unique identifier of the agreement.
109
+ # @return [String]
110
+ #
111
+ # @!attribute [rw] catalog
112
+ # The catalog related to the request. Fixed value: `AWS Marketplace`
113
+ # @return [String]
114
+ #
115
+ # @!attribute [rw] client_token
116
+ # The idempotency token for deployment parameters. A unique identifier
117
+ # for the new version.
118
+ #
119
+ # **A suitable default value is auto-generated.** You should normally
120
+ # not need to pass this option.
121
+ # @return [String]
122
+ #
123
+ # @!attribute [rw] deployment_parameter
124
+ # The deployment parameter targeted to the acceptor of an agreement
125
+ # for which to create the AWS Secret Manager resource.
126
+ # @return [Types::DeploymentParameterInput]
127
+ #
128
+ # @!attribute [rw] expiration_date
129
+ # The date when deployment parameters expire and are scheduled for
130
+ # deletion.
131
+ # @return [Time]
132
+ #
133
+ # @!attribute [rw] product_id
134
+ # The product for which AWS Marketplace will save secrets for the
135
+ # buyer’s account.
136
+ # @return [String]
137
+ #
138
+ # @!attribute [rw] tags
139
+ # A map of key-value pairs, where each pair represents a tag saved to
140
+ # the resource. Tags will only be applied for create operations, and
141
+ # they'll be ignored if the resource already exists.
142
+ # @return [Hash<String,String>]
143
+ #
144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/PutDeploymentParameterRequest AWS API Documentation
145
+ #
146
+ class PutDeploymentParameterRequest < Struct.new(
147
+ :agreement_id,
148
+ :catalog,
149
+ :client_token,
150
+ :deployment_parameter,
151
+ :expiration_date,
152
+ :product_id,
153
+ :tags)
154
+ SENSITIVE = []
155
+ include Aws::Structure
156
+ end
157
+
158
+ # @!attribute [rw] agreement_id
159
+ # The unique identifier of the agreement.
160
+ # @return [String]
161
+ #
162
+ # @!attribute [rw] deployment_parameter_id
163
+ # The unique identifier of the deployment parameter.
164
+ # @return [String]
165
+ #
166
+ # @!attribute [rw] resource_arn
167
+ # The Amazon Resource Name (ARN) associated with the deployment
168
+ # parameter resource you want to create or update.
169
+ # @return [String]
170
+ #
171
+ # @!attribute [rw] tags
172
+ # A map of key-value pairs, where each pair represents a tag saved to
173
+ # the resource. Tags will only be applied for create operations, and
174
+ # they'll be ignored if the resource already exists.
175
+ # @return [Hash<String,String>]
176
+ #
177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/PutDeploymentParameterResponse AWS API Documentation
178
+ #
179
+ class PutDeploymentParameterResponse < Struct.new(
180
+ :agreement_id,
181
+ :deployment_parameter_id,
182
+ :resource_arn,
183
+ :tags)
184
+ SENSITIVE = []
185
+ include Aws::Structure
186
+ end
187
+
188
+ # The specified resource wasn't found.
189
+ #
190
+ # @!attribute [rw] message
191
+ # @return [String]
192
+ #
193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/ResourceNotFoundException AWS API Documentation
194
+ #
195
+ class ResourceNotFoundException < Struct.new(
196
+ :message)
197
+ SENSITIVE = []
198
+ include Aws::Structure
199
+ end
200
+
201
+ # The maximum number of requests per account has been exceeded.
202
+ #
203
+ # @!attribute [rw] message
204
+ # @return [String]
205
+ #
206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/ServiceQuotaExceededException AWS API Documentation
207
+ #
208
+ class ServiceQuotaExceededException < Struct.new(
209
+ :message)
210
+ SENSITIVE = []
211
+ include Aws::Structure
212
+ end
213
+
214
+ # @!attribute [rw] resource_arn
215
+ # The Amazon Resource Name (ARN) associated with the resource you want
216
+ # to tag.
217
+ # @return [String]
218
+ #
219
+ # @!attribute [rw] tags
220
+ # A map of key-value pairs, where each pair represents a tag present
221
+ # on the resource.
222
+ # @return [Hash<String,String>]
223
+ #
224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/TagResourceRequest AWS API Documentation
225
+ #
226
+ class TagResourceRequest < Struct.new(
227
+ :resource_arn,
228
+ :tags)
229
+ SENSITIVE = []
230
+ include Aws::Structure
231
+ end
232
+
233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/TagResourceResponse AWS API Documentation
234
+ #
235
+ class TagResourceResponse < Aws::EmptyStructure; end
236
+
237
+ # Too many requests.
238
+ #
239
+ # @!attribute [rw] message
240
+ # @return [String]
241
+ #
242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/ThrottlingException AWS API Documentation
243
+ #
244
+ class ThrottlingException < Struct.new(
245
+ :message)
246
+ SENSITIVE = []
247
+ include Aws::Structure
248
+ end
249
+
250
+ # @!attribute [rw] resource_arn
251
+ # The Amazon Resource Name (ARN) associated with the resource you want
252
+ # to remove the tag from.
253
+ # @return [String]
254
+ #
255
+ # @!attribute [rw] tag_keys
256
+ # A list of key names of tags to be removed.
257
+ # @return [Array<String>]
258
+ #
259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/UntagResourceRequest AWS API Documentation
260
+ #
261
+ class UntagResourceRequest < Struct.new(
262
+ :resource_arn,
263
+ :tag_keys)
264
+ SENSITIVE = []
265
+ include Aws::Structure
266
+ end
267
+
268
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/UntagResourceResponse AWS API Documentation
269
+ #
270
+ class UntagResourceResponse < Aws::EmptyStructure; end
271
+
272
+ # An error occurred during validation.
273
+ #
274
+ # @!attribute [rw] field_name
275
+ # The field name associated with the error.
276
+ # @return [String]
277
+ #
278
+ # @!attribute [rw] message
279
+ # @return [String]
280
+ #
281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-deployment-2023-01-25/ValidationException AWS API Documentation
282
+ #
283
+ class ValidationException < Struct.new(
284
+ :field_name,
285
+ :message)
286
+ SENSITIVE = []
287
+ include Aws::Structure
288
+ end
289
+
290
+ end
291
+ end
@@ -0,0 +1,57 @@
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
+ require_relative 'aws-sdk-marketplacedeployment/types'
15
+ require_relative 'aws-sdk-marketplacedeployment/client_api'
16
+ require_relative 'aws-sdk-marketplacedeployment/plugins/endpoints.rb'
17
+ require_relative 'aws-sdk-marketplacedeployment/client'
18
+ require_relative 'aws-sdk-marketplacedeployment/errors'
19
+ require_relative 'aws-sdk-marketplacedeployment/resource'
20
+ require_relative 'aws-sdk-marketplacedeployment/endpoint_parameters'
21
+ require_relative 'aws-sdk-marketplacedeployment/endpoint_provider'
22
+ require_relative 'aws-sdk-marketplacedeployment/endpoints'
23
+ require_relative 'aws-sdk-marketplacedeployment/customizations'
24
+
25
+ # This module provides support for AWS Marketplace Deployment Service. This module is available in the
26
+ # `aws-sdk-marketplacedeployment` gem.
27
+ #
28
+ # # Client
29
+ #
30
+ # The {Client} class provides one method for each API operation. Operation
31
+ # methods each accept a hash of request parameters and return a response
32
+ # structure.
33
+ #
34
+ # marketplace_deployment = Aws::MarketplaceDeployment::Client.new
35
+ # resp = marketplace_deployment.list_tags_for_resource(params)
36
+ #
37
+ # See {Client} for more information.
38
+ #
39
+ # # Errors
40
+ #
41
+ # Errors returned from AWS Marketplace Deployment Service are defined in the
42
+ # {Errors} module and all extend {Errors::ServiceError}.
43
+ #
44
+ # begin
45
+ # # do stuff
46
+ # rescue Aws::MarketplaceDeployment::Errors::ServiceError
47
+ # # rescues all AWS Marketplace Deployment Service API errors
48
+ # end
49
+ #
50
+ # See {Errors} for more information.
51
+ #
52
+ # @!group service
53
+ module Aws::MarketplaceDeployment
54
+
55
+ GEM_VERSION = '1.0.0'
56
+
57
+ end
metadata ADDED
@@ -0,0 +1,94 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aws-sdk-marketplacedeployment
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Amazon Web Services
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aws-sdk-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.188.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.188.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: aws-sigv4
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.1'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.1'
47
+ description: Official AWS Ruby gem for AWS Marketplace Deployment Service. This gem
48
+ is part of the AWS SDK for Ruby.
49
+ email:
50
+ - aws-dr-rubygems@amazon.com
51
+ executables: []
52
+ extensions: []
53
+ extra_rdoc_files: []
54
+ files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
58
+ - lib/aws-sdk-marketplacedeployment.rb
59
+ - lib/aws-sdk-marketplacedeployment/client.rb
60
+ - lib/aws-sdk-marketplacedeployment/client_api.rb
61
+ - lib/aws-sdk-marketplacedeployment/customizations.rb
62
+ - lib/aws-sdk-marketplacedeployment/endpoint_parameters.rb
63
+ - lib/aws-sdk-marketplacedeployment/endpoint_provider.rb
64
+ - lib/aws-sdk-marketplacedeployment/endpoints.rb
65
+ - lib/aws-sdk-marketplacedeployment/errors.rb
66
+ - lib/aws-sdk-marketplacedeployment/plugins/endpoints.rb
67
+ - lib/aws-sdk-marketplacedeployment/resource.rb
68
+ - lib/aws-sdk-marketplacedeployment/types.rb
69
+ homepage: https://github.com/aws/aws-sdk-ruby
70
+ licenses:
71
+ - Apache-2.0
72
+ metadata:
73
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-marketplacedeployment
74
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-marketplacedeployment/CHANGELOG.md
75
+ post_install_message:
76
+ rdoc_options: []
77
+ require_paths:
78
+ - lib
79
+ required_ruby_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '2.5'
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ requirements: []
90
+ rubygems_version: 3.1.6
91
+ signing_key:
92
+ specification_version: 4
93
+ summary: AWS SDK for Ruby - AWS Marketplace Deployment Service
94
+ test_files: []