aws-sdk-cloudextensions 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,1594 @@
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 'seahorse/client/plugins/content_length'
11
+ require 'aws-sdk-core/plugins/credentials_configuration'
12
+ require 'aws-sdk-core/plugins/logging'
13
+ require 'aws-sdk-core/plugins/param_converter'
14
+ require 'aws-sdk-core/plugins/param_validator'
15
+ require 'aws-sdk-core/plugins/user_agent'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors'
17
+ require 'aws-sdk-core/plugins/retry_errors'
18
+ require 'aws-sdk-core/plugins/global_configuration'
19
+ require 'aws-sdk-core/plugins/regional_endpoint'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern'
22
+ require 'aws-sdk-core/plugins/response_paging'
23
+ require 'aws-sdk-core/plugins/stub_responses'
24
+ require 'aws-sdk-core/plugins/idempotency_token'
25
+ require 'aws-sdk-core/plugins/invocation_id'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin'
29
+ require 'aws-sdk-core/plugins/transfer_encoding'
30
+ require 'aws-sdk-core/plugins/http_checksum'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm'
32
+ require 'aws-sdk-core/plugins/request_compression'
33
+ require 'aws-sdk-core/plugins/defaults_mode'
34
+ require 'aws-sdk-core/plugins/recursion_detection'
35
+ require 'aws-sdk-core/plugins/telemetry'
36
+ require 'aws-sdk-core/plugins/sign'
37
+ require 'aws-sdk-core/plugins/protocols/rest_json'
38
+
39
+ module Aws::CloudExtensions
40
+ # An API client for CloudExtensions. To construct a client, you need to configure a `:region` and `:credentials`.
41
+ #
42
+ # client = Aws::CloudExtensions::Client.new(
43
+ # region: region_name,
44
+ # credentials: credentials,
45
+ # # ...
46
+ # )
47
+ #
48
+ # For details on configuring region and credentials see
49
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
50
+ #
51
+ # See {#initialize} for a full list of supported configuration options.
52
+ class Client < Seahorse::Client::Base
53
+
54
+ include Aws::ClientStubs
55
+
56
+ @identifier = :cloudextensions
57
+
58
+ set_api(ClientApi::API)
59
+
60
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
61
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
62
+ add_plugin(Aws::Plugins::Logging)
63
+ add_plugin(Aws::Plugins::ParamConverter)
64
+ add_plugin(Aws::Plugins::ParamValidator)
65
+ add_plugin(Aws::Plugins::UserAgent)
66
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
67
+ add_plugin(Aws::Plugins::RetryErrors)
68
+ add_plugin(Aws::Plugins::GlobalConfiguration)
69
+ add_plugin(Aws::Plugins::RegionalEndpoint)
70
+ add_plugin(Aws::Plugins::EndpointDiscovery)
71
+ add_plugin(Aws::Plugins::EndpointPattern)
72
+ add_plugin(Aws::Plugins::ResponsePaging)
73
+ add_plugin(Aws::Plugins::StubResponses)
74
+ add_plugin(Aws::Plugins::IdempotencyToken)
75
+ add_plugin(Aws::Plugins::InvocationId)
76
+ add_plugin(Aws::Plugins::JsonvalueConverter)
77
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
78
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
79
+ add_plugin(Aws::Plugins::TransferEncoding)
80
+ add_plugin(Aws::Plugins::HttpChecksum)
81
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
82
+ add_plugin(Aws::Plugins::RequestCompression)
83
+ add_plugin(Aws::Plugins::DefaultsMode)
84
+ add_plugin(Aws::Plugins::RecursionDetection)
85
+ add_plugin(Aws::Plugins::Telemetry)
86
+ add_plugin(Aws::Plugins::Sign)
87
+ add_plugin(Aws::Plugins::Protocols::RestJson)
88
+ add_plugin(Aws::CloudExtensions::Plugins::Endpoints)
89
+
90
+ # @overload initialize(options)
91
+ # @param [Hash] options
92
+ #
93
+ # @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
94
+ # A list of plugins to apply to the client. Each plugin is either a
95
+ # class name or an instance of a plugin class.
96
+ #
97
+ # @option options [required, Aws::CredentialProvider] :credentials
98
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
99
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
100
+ #
101
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
102
+ # credentials.
103
+ #
104
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
105
+ # shared file, such as `~/.aws/config`.
106
+ #
107
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ #
109
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
110
+ # assume a role after providing credentials via the web.
111
+ #
112
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
113
+ # access token generated from `aws login`.
114
+ #
115
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
116
+ # process that outputs to stdout.
117
+ #
118
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
119
+ # from an EC2 IMDS on an EC2 instance.
120
+ #
121
+ # * `Aws::ECSCredentials` - Used for loading credentials from
122
+ # instances running in ECS.
123
+ #
124
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
125
+ # from the Cognito Identity service.
126
+ #
127
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
128
+ #
129
+ # * `Aws.config[:credentials]`
130
+ #
131
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
+ # `:account_id` options.
133
+ #
134
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
135
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
136
+ #
137
+ # * `~/.aws/credentials`
138
+ #
139
+ # * `~/.aws/config`
140
+ #
141
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
142
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
143
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
144
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
145
+ #
146
+ # @option options [required, String] :region
147
+ # The AWS region to connect to. The configured `:region` is
148
+ # used to determine the service `:endpoint`. When not passed,
149
+ # a default `:region` is searched for in the following locations:
150
+ #
151
+ # * `Aws.config[:region]`
152
+ # * `ENV['AWS_REGION']`
153
+ # * `ENV['AMAZON_REGION']`
154
+ # * `ENV['AWS_DEFAULT_REGION']`
155
+ # * `~/.aws/credentials`
156
+ # * `~/.aws/config`
157
+ #
158
+ # @option options [String] :access_key_id
159
+ #
160
+ # @option options [String] :account_id
161
+ #
162
+ # @option options [Boolean] :active_endpoint_cache (false)
163
+ # When set to `true`, a thread polling for endpoints will be running in
164
+ # the background every 60 secs (default). Defaults to `false`.
165
+ #
166
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
167
+ # Used only in `adaptive` retry mode. When true, the request will sleep
168
+ # until there is sufficent client side capacity to retry the request.
169
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
170
+ # not retry instead of sleeping.
171
+ #
172
+ # @option options [Array<String>] :auth_scheme_preference
173
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
174
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
175
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
176
+ #
177
+ # @option options [Boolean] :client_side_monitoring (false)
178
+ # When `true`, client-side metrics will be collected for all API requests from
179
+ # this client.
180
+ #
181
+ # @option options [String] :client_side_monitoring_client_id ("")
182
+ # Allows you to provide an identifier for this client which will be attached to
183
+ # all generated client side metrics. Defaults to an empty string.
184
+ #
185
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
186
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
187
+ # side monitoring agent is running on, where client metrics will be published via UDP.
188
+ #
189
+ # @option options [Integer] :client_side_monitoring_port (31000)
190
+ # Required for publishing client metrics. The port that the client side monitoring
191
+ # agent is running on, where client metrics will be published via UDP.
192
+ #
193
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
194
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
195
+ # will use the Client Side Monitoring Agent Publisher.
196
+ #
197
+ # @option options [Boolean] :convert_params (true)
198
+ # When `true`, an attempt is made to coerce request parameters into
199
+ # the required types.
200
+ #
201
+ # @option options [Boolean] :correct_clock_skew (true)
202
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether
203
+ # to apply a clock skew correction and retry requests with skewed client
204
+ # clocks. Takes effect only when `disable_clock_skew_correction` is not set.
205
+ #
206
+ # @option options [String] :defaults_mode ("legacy")
207
+ # See {Aws::DefaultsModeConfiguration} for a list of the
208
+ # accepted modes and the configuration defaults that are included.
209
+ #
210
+ # @option options [Boolean] :disable_clock_skew_correction
211
+ # Used only in `standard` and `adaptive` retry modes. When `true`, the
212
+ # SDK does not apply a clock skew correction, does not update its stored
213
+ # skew from responses, and does not retry clock skew errors. Clock skew
214
+ # correction is enabled by default.
215
+ #
216
+ # @option options [Boolean] :disable_host_prefix_injection (false)
217
+ # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
218
+ #
219
+ # @option options [Boolean] :disable_request_compression (false)
220
+ # When set to 'true' the request body will not be compressed
221
+ # for supported operations.
222
+ #
223
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
224
+ # Normally you should not configure the `:endpoint` option
225
+ # directly. This is normally constructed from the `:region`
226
+ # option. Configuring `:endpoint` is normally reserved for
227
+ # connecting to test or custom endpoints. The endpoint should
228
+ # be a URI formatted like:
229
+ #
230
+ # 'http://example.com'
231
+ # 'https://example.com'
232
+ # 'http://example.com:123'
233
+ #
234
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
235
+ # Used for the maximum size limit of the LRU cache storing endpoints data
236
+ # for endpoint discovery enabled operations. Defaults to 1000.
237
+ #
238
+ # @option options [Integer] :endpoint_cache_max_threads (10)
239
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
240
+ #
241
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
242
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
243
+ # Use this option to config the time interval in seconds for making
244
+ # requests fetching endpoints information. Defaults to 60 sec.
245
+ #
246
+ # @option options [Boolean] :endpoint_discovery (false)
247
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
248
+ #
249
+ # @option options [Boolean] :ignore_configured_endpoint_urls
250
+ # Setting to true disables use of endpoint URLs provided via environment
251
+ # variables and the shared configuration file.
252
+ #
253
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
254
+ # The log formatter.
255
+ #
256
+ # @option options [Symbol] :log_level (:info)
257
+ # The log level to send messages to the `:logger` at.
258
+ #
259
+ # @option options [Logger] :logger
260
+ # The Logger instance to send log messages to. If this option
261
+ # is not set, logging will be disabled.
262
+ #
263
+ # @option options [Integer] :max_attempts (3)
264
+ # An integer representing the maximum number attempts that will be made for
265
+ # a single request, including the initial attempt. For example,
266
+ # setting this value to 5 will result in a request being retried up to
267
+ # 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
268
+ # except for DynamoDB and DynamoDB Streams, which default to 4.
269
+ #
270
+ # @option options [String] :profile ("default")
271
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
272
+ # When not specified, 'default' is used.
273
+ #
274
+ # @option options [String] :request_checksum_calculation ("when_supported")
275
+ # Determines when a checksum will be calculated for request payloads. Values are:
276
+ #
277
+ # * `when_supported` - (default) When set, a checksum will be
278
+ # calculated for all request payloads of operations modeled with the
279
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
280
+ # `requestAlgorithmMember` is modeled.
281
+ # * `when_required` - When set, a checksum will only be calculated for
282
+ # request payloads of operations modeled with the `httpChecksum` trait where
283
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
284
+ # is modeled and supplied.
285
+ #
286
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
287
+ # The minimum size in bytes that triggers compression for request
288
+ # bodies. The value must be non-negative integer value between 0
289
+ # and 10485780 bytes inclusive.
290
+ #
291
+ # @option options [String] :response_checksum_validation ("when_supported")
292
+ # Determines when checksum validation will be performed on response payloads. Values are:
293
+ #
294
+ # * `when_supported` - (default) When set, checksum validation is performed on all
295
+ # response payloads of operations modeled with the `httpChecksum` trait where
296
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
297
+ # are supported.
298
+ # * `when_required` - When set, checksum validation is not performed on
299
+ # response payloads of operations unless the checksum algorithm is supported and
300
+ # the `requestValidationModeMember` member is set to `ENABLED`.
301
+ #
302
+ # @option options [Proc] :retry_backoff
303
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
304
+ # This option is only used in the `legacy` retry mode.
305
+ #
306
+ # @option options [Float] :retry_base_delay (0.3)
307
+ # The base delay in seconds used by the default backoff function. This option
308
+ # is only used in the `legacy` retry mode.
309
+ #
310
+ # @option options [Symbol] :retry_jitter (:none)
311
+ # A delay randomiser function used by the default backoff function.
312
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
313
+ # otherwise a Proc that takes and returns a number. This option is only used
314
+ # in the `legacy` retry mode.
315
+ #
316
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
317
+ #
318
+ # @option options [Integer] :retry_limit (3)
319
+ # The maximum number of times to retry failed requests. Only
320
+ # ~ 500 level server errors and certain ~ 400 level client errors
321
+ # are retried. Generally, these are throttling errors, data
322
+ # checksum errors, networking errors, timeout errors, auth errors,
323
+ # endpoint discovery, and errors from expired credentials.
324
+ # This option is only used in the `legacy` retry mode.
325
+ #
326
+ # @option options [Integer] :retry_max_delay (0)
327
+ # The maximum number of seconds to delay between retries (0 for no limit)
328
+ # used by the default backoff function. This option is only used in the
329
+ # `legacy` retry mode.
330
+ #
331
+ # @option options [String] :retry_mode ("standard")
332
+ # Specifies which retry algorithm to use. Values are:
333
+ #
334
+ # * `legacy` - The pre-existing retry behavior.
335
+ #
336
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
337
+ # This includes support for retry quotas, which limit the number of
338
+ # unsuccessful retries a client can make. This is the default value
339
+ # if no retry mode is provided.
340
+ #
341
+ # * `adaptive` - A retry mode that includes all the functionality of
342
+ # `standard` mode along with automatic client side throttling.
343
+ #
344
+ # @option options [String] :sdk_ua_app_id
345
+ # A unique and opaque application ID that is appended to the
346
+ # User-Agent header as app/sdk_ua_app_id. It should have a
347
+ # maximum length of 50. This variable is sourced from environment
348
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
349
+ #
350
+ # @option options [String] :secret_access_key
351
+ #
352
+ # @option options [String] :session_token
353
+ #
354
+ # @option options [Array] :sigv4a_signing_region_set
355
+ # A list of regions that should be signed with SigV4a signing. When
356
+ # not passed, a default `:sigv4a_signing_region_set` is searched for
357
+ # in the following locations:
358
+ #
359
+ # * `Aws.config[:sigv4a_signing_region_set]`
360
+ # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
361
+ # * `~/.aws/config`
362
+ #
363
+ # @option options [Boolean] :stub_responses (false)
364
+ # Causes the client to return stubbed responses. By default
365
+ # fake responses are generated and returned. You can specify
366
+ # the response data to return or errors to raise by calling
367
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
368
+ #
369
+ # ** Please note ** When response stubbing is enabled, no HTTP
370
+ # requests are made, and retries are disabled.
371
+ #
372
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
373
+ # Allows you to provide a telemetry provider, which is used to
374
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
375
+ # will not record or emit any telemetry data. The SDK supports the
376
+ # following telemetry providers:
377
+ #
378
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
379
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
380
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
381
+ #
382
+ # @option options [Aws::TokenProvider] :token_provider
383
+ # Your Bearer token used for authentication. This can be any class that includes and implements
384
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
385
+ #
386
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
387
+ # tokens.
388
+ #
389
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
390
+ # access token generated from `aws login`.
391
+ #
392
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
393
+ # will be used to search for tokens configured for your profile in shared configuration files.
394
+ #
395
+ # @option options [Boolean] :use_dualstack_endpoint
396
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
397
+ # will be used if available.
398
+ #
399
+ # @option options [Boolean] :use_fips_endpoint
400
+ # When set to `true`, fips compatible endpoints will be used if available.
401
+ # When a `fips` region is used, the region is normalized and this config
402
+ # is set to `true`.
403
+ #
404
+ # @option options [Boolean] :validate_params (true)
405
+ # When `true`, request parameters are validated before
406
+ # sending the request.
407
+ #
408
+ # @option options [Aws::CloudExtensions::EndpointProvider] :endpoint_provider
409
+ # The endpoint provider used to resolve endpoints. Any object that responds to
410
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
411
+ # `Aws::CloudExtensions::EndpointParameters`.
412
+ #
413
+ # @option options [Float] :http_continue_timeout (1)
414
+ # The number of seconds to wait for a 100-continue response before sending the
415
+ # request body. This option has no effect unless the request has "Expect"
416
+ # header set to "100-continue". Defaults to `nil` which disables this
417
+ # behaviour. This value can safely be set per request on the session.
418
+ #
419
+ # @option options [Float] :http_idle_timeout (5)
420
+ # The number of seconds a connection is allowed to sit idle before it
421
+ # is considered stale. Stale connections are closed and removed from the
422
+ # pool before making a request.
423
+ #
424
+ # @option options [Float] :http_open_timeout (15)
425
+ # The default number of seconds to wait for response data.
426
+ # This value can safely be set per-request on the session.
427
+ #
428
+ # @option options [URI::HTTP,String] :http_proxy
429
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
430
+ #
431
+ # @option options [Float] :http_read_timeout (60)
432
+ # The default number of seconds to wait for response data.
433
+ # This value can safely be set per-request on the session.
434
+ #
435
+ # @option options [Boolean] :http_wire_trace (false)
436
+ # When `true`, HTTP debug output will be sent to the `:logger`.
437
+ #
438
+ # @option options [Proc] :on_chunk_received
439
+ # When a Proc object is provided, it will be used as callback when each chunk
440
+ # of the response body is received. It provides three arguments: the chunk,
441
+ # the number of bytes received, and the total number of
442
+ # bytes in the response (or nil if the server did not send a `content-length`).
443
+ #
444
+ # @option options [Proc] :on_chunk_sent
445
+ # When a Proc object is provided, it will be used as callback when each chunk
446
+ # of the request body is sent. It provides three arguments: the chunk,
447
+ # the number of bytes read from the body, and the total number of
448
+ # bytes in the body.
449
+ #
450
+ # @option options [Boolean] :raise_response_errors (true)
451
+ # When `true`, response errors are raised.
452
+ #
453
+ # @option options [String] :ssl_ca_bundle
454
+ # Full path to the SSL certificate authority bundle file that should be used when
455
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
456
+ # `:ssl_ca_directory` the the system default will be used if available.
457
+ #
458
+ # @option options [String] :ssl_ca_directory
459
+ # Full path of the directory that contains the unbundled SSL certificate
460
+ # authority files for verifying peer certificates. If you do
461
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
462
+ # default will be used if available.
463
+ #
464
+ # @option options [String] :ssl_ca_store
465
+ # Sets the X509::Store to verify peer certificate.
466
+ #
467
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
468
+ # Sets a client certificate when creating http connections.
469
+ #
470
+ # @option options [OpenSSL::PKey] :ssl_key
471
+ # Sets a client key when creating http connections.
472
+ #
473
+ # @option options [Float] :ssl_timeout
474
+ # Sets the SSL timeout in seconds
475
+ #
476
+ # @option options [Boolean] :ssl_verify_peer (true)
477
+ # When `true`, SSL peer certificates are verified when establishing a connection.
478
+ #
479
+ def initialize(*args)
480
+ super
481
+ end
482
+
483
+ # @!group API Operations
484
+
485
+ # Creates a new profile. The profile name must be unique within the
486
+ # account.
487
+ #
488
+ # @option params [String] :client_token
489
+ # A unique, case-sensitive identifier that you provide to ensure the
490
+ # request is processed at most once.
491
+ #
492
+ # **A suitable default value is auto-generated.** You should normally
493
+ # not need to pass this option.**
494
+ #
495
+ # @option params [required, String] :name
496
+ # The name of the profile. Must be unique within the account.
497
+ #
498
+ # @option params [String] :description
499
+ # A human-readable description of the profile's purpose or target
500
+ # environment.
501
+ #
502
+ # @option params [Types::ExtensionDefaults] :extension_defaults
503
+ # Default values used by the extensions in this profile. These can be
504
+ # overridden at the profile entry level.
505
+ #
506
+ # @option params [Hash<String,String>] :tags
507
+ # Tags to assign to the profile.
508
+ #
509
+ # @return [Types::CreateProfileOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
510
+ #
511
+ # * {Types::CreateProfileOutput#id #id} => String
512
+ # * {Types::CreateProfileOutput#name #name} => String
513
+ # * {Types::CreateProfileOutput#arn #arn} => String
514
+ # * {Types::CreateProfileOutput#entry_count #entry_count} => Integer
515
+ # * {Types::CreateProfileOutput#created_at #created_at} => Time
516
+ # * {Types::CreateProfileOutput#updated_at #updated_at} => Time
517
+ # * {Types::CreateProfileOutput#description #description} => String
518
+ # * {Types::CreateProfileOutput#extension_defaults #extension_defaults} => Types::ExtensionDefaults
519
+ #
520
+ # @example Request syntax with placeholder values
521
+ #
522
+ # resp = client.create_profile({
523
+ # client_token: "ClientToken",
524
+ # name: "Name", # required
525
+ # description: "Description_256",
526
+ # extension_defaults: {
527
+ # execution_role: "ClearableRoleArn",
528
+ # interface_defaults: {
529
+ # http: {
530
+ # authentication: {
531
+ # none: false,
532
+ # runtime_credentials: {
533
+ # },
534
+ # extension_key: {
535
+ # access_key_id: "KeyId",
536
+ # secret_key: {
537
+ # literal: "SecretLiteral",
538
+ # reference: "SecretReference",
539
+ # },
540
+ # },
541
+ # },
542
+ # },
543
+ # },
544
+ # },
545
+ # tags: {
546
+ # "TagKey" => "TagValue",
547
+ # },
548
+ # })
549
+ #
550
+ # @example Response structure
551
+ #
552
+ # resp.id #=> String
553
+ # resp.name #=> String
554
+ # resp.arn #=> String
555
+ # resp.entry_count #=> Integer
556
+ # resp.created_at #=> Time
557
+ # resp.updated_at #=> Time
558
+ # resp.description #=> String
559
+ # resp.extension_defaults.execution_role #=> String
560
+ # resp.extension_defaults.interface_defaults.http.authentication.none #=> Boolean
561
+ # resp.extension_defaults.interface_defaults.http.authentication.extension_key.access_key_id #=> String
562
+ # resp.extension_defaults.interface_defaults.http.authentication.extension_key.secret_key.literal #=> String
563
+ # resp.extension_defaults.interface_defaults.http.authentication.extension_key.secret_key.reference #=> String
564
+ #
565
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/CreateProfile AWS API Documentation
566
+ #
567
+ # @overload create_profile(params = {})
568
+ # @param [Hash] params ({})
569
+ def create_profile(params = {}, options = {})
570
+ req = build_request(:create_profile, params)
571
+ req.send_request(options)
572
+ end
573
+
574
+ # Creates a profile entry that binds an extension to a profile. The
575
+ # extension must exist and the profile must not already have an entry
576
+ # for that extension.
577
+ #
578
+ # @option params [required, String] :profile_identifier
579
+ # The identifier (id or name) of the profile to bind the extension to.
580
+ #
581
+ # @option params [String] :client_token
582
+ # A unique, case-sensitive identifier that you provide to ensure the
583
+ # request is processed at most once.
584
+ #
585
+ # **A suitable default value is auto-generated.** You should normally
586
+ # not need to pass this option.**
587
+ #
588
+ # @option params [required, String] :extension_identifier
589
+ # The id of the extension to bind, such as aws:secretsmanager.
590
+ #
591
+ # @option params [String] :name
592
+ # The entry's name, unique within the profile. Defaults to the name in
593
+ # the extension's id.
594
+ #
595
+ # @option params [String] :description
596
+ # A description of the entry's purpose.
597
+ #
598
+ # @option params [Hash<String,Types::InterfaceOptions>] :interfaces
599
+ # Per-interface options, keyed by the id of an interface the extension
600
+ # declares.
601
+ #
602
+ # @option params [String] :execution_role
603
+ # The IAM role an extension assumes when calling AWS services. The role
604
+ # must be assumable by the Cloud Extensions Runtime's principal.
605
+ #
606
+ # @option params [Types::VersionPolicy] :version_policy
607
+ # Controls which extension version this entry tracks and how it adopts
608
+ # new releases.
609
+ #
610
+ # @option params [Hash,Array,String,Numeric,Boolean] :settings
611
+ # The setting values to use for this extension, as free-form JSON. Keys
612
+ # are the extension's setting ids and the values are validated against
613
+ # the extension's settings definitions. A setting that is omitted or
614
+ # null takes its default, if it has one. A null inside an array is
615
+ # rejected.
616
+ #
617
+ # Document type used to carry open content
618
+ # (Hash,Array,String,Numeric,Boolean). A document type value is
619
+ # serialized using the same format as its surroundings and requires no
620
+ # additional encoding or escaping.
621
+ #
622
+ # @option params [Array<String>] :approve
623
+ # A list of capability paths to approve. Each path must correspond to a
624
+ # capability instance declared by the extension.
625
+ #
626
+ # @option params [Hash<String,String>] :tags
627
+ # Tags to assign to the profile entry.
628
+ #
629
+ # @return [Types::CreateProfileEntryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
630
+ #
631
+ # * {Types::CreateProfileEntryOutput#id #id} => String
632
+ # * {Types::CreateProfileEntryOutput#name #name} => String
633
+ # * {Types::CreateProfileEntryOutput#arn #arn} => String
634
+ # * {Types::CreateProfileEntryOutput#profile_id #profile_id} => String
635
+ # * {Types::CreateProfileEntryOutput#profile_name #profile_name} => String
636
+ # * {Types::CreateProfileEntryOutput#extension_id #extension_id} => String
637
+ # * {Types::CreateProfileEntryOutput#extension_display_name #extension_display_name} => String
638
+ # * {Types::CreateProfileEntryOutput#version_policy #version_policy} => Types::VersionPolicy
639
+ # * {Types::CreateProfileEntryOutput#resolved_version #resolved_version} => String
640
+ # * {Types::CreateProfileEntryOutput#latest_version #latest_version} => String
641
+ # * {Types::CreateProfileEntryOutput#created_at #created_at} => Time
642
+ # * {Types::CreateProfileEntryOutput#updated_at #updated_at} => Time
643
+ # * {Types::CreateProfileEntryOutput#execution_role #execution_role} => String
644
+ # * {Types::CreateProfileEntryOutput#description #description} => String
645
+ # * {Types::CreateProfileEntryOutput#effective_settings #effective_settings} => Hash,Array,String,Numeric,Boolean
646
+ # * {Types::CreateProfileEntryOutput#approved_capabilities #approved_capabilities} => Hash&lt;String,Types::CapabilityDefinition&gt;
647
+ # * {Types::CreateProfileEntryOutput#inherited #inherited} => Types::ExtensionDefaults
648
+ # * {Types::CreateProfileEntryOutput#interfaces #interfaces} => Hash&lt;String,Types::InterfaceOptions&gt;
649
+ #
650
+ # @example Request syntax with placeholder values
651
+ #
652
+ # resp = client.create_profile_entry({
653
+ # profile_identifier: "Identifier", # required
654
+ # client_token: "ClientToken",
655
+ # extension_identifier: "ExtensionId", # required
656
+ # name: "Name",
657
+ # description: "Description_256",
658
+ # interfaces: {
659
+ # "InterfaceId" => {
660
+ # http: {
661
+ # authentication: {
662
+ # none: false,
663
+ # runtime_credentials: {
664
+ # },
665
+ # extension_key: {
666
+ # access_key_id: "KeyId",
667
+ # secret_key: {
668
+ # literal: "SecretLiteral",
669
+ # reference: "SecretReference",
670
+ # },
671
+ # },
672
+ # },
673
+ # base_path: "BasePath",
674
+ # },
675
+ # },
676
+ # },
677
+ # execution_role: "RoleArn",
678
+ # version_policy: {
679
+ # update_strategy: "AUTOMATIC", # accepts AUTOMATIC, MANUAL
680
+ # version_selector: "SemanticVersionSelector",
681
+ # },
682
+ # settings: {
683
+ # },
684
+ # approve: ["CapabilityPath"],
685
+ # tags: {
686
+ # "TagKey" => "TagValue",
687
+ # },
688
+ # })
689
+ #
690
+ # @example Response structure
691
+ #
692
+ # resp.id #=> String
693
+ # resp.name #=> String
694
+ # resp.arn #=> String
695
+ # resp.profile_id #=> String
696
+ # resp.profile_name #=> String
697
+ # resp.extension_id #=> String
698
+ # resp.extension_display_name #=> String
699
+ # resp.version_policy.update_strategy #=> String, one of "AUTOMATIC", "MANUAL"
700
+ # resp.version_policy.version_selector #=> String
701
+ # resp.resolved_version #=> String
702
+ # resp.latest_version #=> String
703
+ # resp.created_at #=> Time
704
+ # resp.updated_at #=> Time
705
+ # resp.execution_role #=> String
706
+ # resp.description #=> String
707
+ # resp.approved_capabilities #=> Hash
708
+ # resp.approved_capabilities["CapabilityPath"].filesystem.directory #=> String
709
+ # resp.approved_capabilities["CapabilityPath"].filesystem.paths #=> Array
710
+ # resp.approved_capabilities["CapabilityPath"].filesystem.paths[0] #=> String
711
+ # resp.approved_capabilities["CapabilityPath"].filesystem.access_mode #=> String, one of "READ_ONLY", "READ_WRITE"
712
+ # resp.approved_capabilities["CapabilityPath"].filesystem.create_mode #=> String, one of "PRIVATE", "PUBLIC"
713
+ # resp.approved_capabilities["CapabilityPath"].aws.services #=> Hash
714
+ # resp.approved_capabilities["CapabilityPath"].aws.services["String_1_32"] #=> Array
715
+ # resp.approved_capabilities["CapabilityPath"].aws.services["String_1_32"][0] #=> String
716
+ # resp.approved_capabilities["CapabilityPath"].exec.command #=> String
717
+ # resp.approved_capabilities["CapabilityPath"].exec.args #=> Array
718
+ # resp.approved_capabilities["CapabilityPath"].exec.args[0] #=> String
719
+ # resp.approved_capabilities["CapabilityPath"].exec.timeout_in_seconds #=> Integer
720
+ # resp.inherited.execution_role #=> String
721
+ # resp.inherited.interface_defaults.http.authentication.none #=> Boolean
722
+ # resp.inherited.interface_defaults.http.authentication.extension_key.access_key_id #=> String
723
+ # resp.inherited.interface_defaults.http.authentication.extension_key.secret_key.literal #=> String
724
+ # resp.inherited.interface_defaults.http.authentication.extension_key.secret_key.reference #=> String
725
+ # resp.interfaces #=> Hash
726
+ # resp.interfaces["InterfaceId"].http.authentication.none #=> Boolean
727
+ # resp.interfaces["InterfaceId"].http.authentication.extension_key.access_key_id #=> String
728
+ # resp.interfaces["InterfaceId"].http.authentication.extension_key.secret_key.literal #=> String
729
+ # resp.interfaces["InterfaceId"].http.authentication.extension_key.secret_key.reference #=> String
730
+ # resp.interfaces["InterfaceId"].http.base_path #=> String
731
+ #
732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/CreateProfileEntry AWS API Documentation
733
+ #
734
+ # @overload create_profile_entry(params = {})
735
+ # @param [Hash] params ({})
736
+ def create_profile_entry(params = {}, options = {})
737
+ req = build_request(:create_profile_entry, params)
738
+ req.send_request(options)
739
+ end
740
+
741
+ # Deletes a profile and its profile entries.
742
+ #
743
+ # @option params [required, String] :identifier
744
+ # The identifier (id or name) of the profile to delete.
745
+ #
746
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
747
+ #
748
+ # @example Request syntax with placeholder values
749
+ #
750
+ # resp = client.delete_profile({
751
+ # identifier: "Identifier", # required
752
+ # })
753
+ #
754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/DeleteProfile AWS API Documentation
755
+ #
756
+ # @overload delete_profile(params = {})
757
+ # @param [Hash] params ({})
758
+ def delete_profile(params = {}, options = {})
759
+ req = build_request(:delete_profile, params)
760
+ req.send_request(options)
761
+ end
762
+
763
+ # Removes a profile entry, unbinding the extension from the profile.
764
+ #
765
+ # @option params [required, String] :identifier
766
+ # The identifier of the profile entry.
767
+ #
768
+ # @option params [required, String] :profile_identifier
769
+ # The identifier of the owning profile.
770
+ #
771
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
772
+ #
773
+ # @example Request syntax with placeholder values
774
+ #
775
+ # resp = client.delete_profile_entry({
776
+ # identifier: "Identifier", # required
777
+ # profile_identifier: "Identifier", # required
778
+ # })
779
+ #
780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/DeleteProfileEntry AWS API Documentation
781
+ #
782
+ # @overload delete_profile_entry(params = {})
783
+ # @param [Hash] params ({})
784
+ def delete_profile_entry(params = {}, options = {})
785
+ req = build_request(:delete_profile_entry, params)
786
+ req.send_request(options)
787
+ end
788
+
789
+ # Retrieves a released extension by its id. By default returns the
790
+ # latest version; use the version parameter to retrieve a specific
791
+ # release.
792
+ #
793
+ # @option params [required, String] :identifier
794
+ # The id of the extension, such as aws:secretsmanager.
795
+ #
796
+ # @option params [String] :extension_version
797
+ # The version to retrieve. Omit it to retrieve the latest release.
798
+ #
799
+ # @return [Types::GetExtensionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
800
+ #
801
+ # * {Types::GetExtensionOutput#id #id} => String
802
+ # * {Types::GetExtensionOutput#display_name #display_name} => String
803
+ # * {Types::GetExtensionOutput#arn #arn} => String
804
+ # * {Types::GetExtensionOutput#version #version} => String
805
+ # * {Types::GetExtensionOutput#overview #overview} => String
806
+ # * {Types::GetExtensionOutput#documentation_link #documentation_link} => String
807
+ # * {Types::GetExtensionOutput#release_notes #release_notes} => String
808
+ # * {Types::GetExtensionOutput#released_at #released_at} => Time
809
+ # * {Types::GetExtensionOutput#description #description} => String
810
+ # * {Types::GetExtensionOutput#configuration #configuration} => Types::ExtensionConfiguration
811
+ #
812
+ # @example Request syntax with placeholder values
813
+ #
814
+ # resp = client.get_extension({
815
+ # identifier: "ExtensionId", # required
816
+ # extension_version: "SemanticVersion",
817
+ # })
818
+ #
819
+ # @example Response structure
820
+ #
821
+ # resp.id #=> String
822
+ # resp.display_name #=> String
823
+ # resp.arn #=> String
824
+ # resp.version #=> String
825
+ # resp.overview #=> String
826
+ # resp.documentation_link #=> String
827
+ # resp.release_notes #=> String
828
+ # resp.released_at #=> Time
829
+ # resp.description #=> String
830
+ # resp.configuration.settings #=> Array
831
+ # resp.configuration.settings[0].id #=> String
832
+ # resp.configuration.settings[0].display_name #=> String
833
+ # resp.configuration.settings[0].description #=> String
834
+ # resp.configuration.settings[0].required #=> Boolean
835
+ # resp.configuration.settings[0].active_when #=> String
836
+ # resp.configuration.settings[0].definition.string.default #=> String
837
+ # resp.configuration.settings[0].definition.string.format #=> String, one of "arn", "filepath"
838
+ # resp.configuration.settings[0].definition.string.pattern #=> String
839
+ # resp.configuration.settings[0].definition.string.enum #=> Array
840
+ # resp.configuration.settings[0].definition.string.enum[0] #=> String
841
+ # resp.configuration.settings[0].definition.string.min_length #=> Integer
842
+ # resp.configuration.settings[0].definition.string.max_length #=> Integer
843
+ # resp.configuration.settings[0].definition.integer.default #=> Integer
844
+ # resp.configuration.settings[0].definition.integer.min #=> Integer
845
+ # resp.configuration.settings[0].definition.integer.max #=> Integer
846
+ # resp.configuration.settings[0].definition.float.default #=> Float
847
+ # resp.configuration.settings[0].definition.float.min #=> Float
848
+ # resp.configuration.settings[0].definition.float.max #=> Float
849
+ # resp.configuration.settings[0].definition.boolean.default #=> Boolean
850
+ # resp.configuration.settings[0].definition.array.min_length #=> Integer
851
+ # resp.configuration.settings[0].definition.array.max_length #=> Integer
852
+ # resp.configuration.settings[0].definition.array.item_definition #=> Types::SettingDefinition
853
+ # resp.configuration.settings[0].definition.group.settings #=> Types::SettingList
854
+ # resp.configuration.settings[0].definition.group.capabilities #=> Array
855
+ # resp.configuration.settings[0].definition.group.capabilities[0].id #=> String
856
+ # resp.configuration.settings[0].definition.group.capabilities[0].purpose #=> String
857
+ # resp.configuration.settings[0].definition.group.capabilities[0].required #=> Boolean
858
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.filesystem.directory #=> String
859
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.filesystem.paths #=> Array
860
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.filesystem.paths[0] #=> String
861
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.filesystem.access_mode #=> String, one of "READ_ONLY", "READ_WRITE"
862
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.filesystem.create_mode #=> String, one of "PRIVATE", "PUBLIC"
863
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.aws.services #=> Hash
864
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.aws.services["String_1_32"] #=> Array
865
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.aws.services["String_1_32"][0] #=> String
866
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.exec.command #=> String
867
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.exec.args #=> Array
868
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.exec.args[0] #=> String
869
+ # resp.configuration.settings[0].definition.group.capabilities[0].definition.exec.timeout_in_seconds #=> Integer
870
+ # resp.configuration.capabilities #=> Array
871
+ # resp.configuration.capabilities[0].id #=> String
872
+ # resp.configuration.capabilities[0].purpose #=> String
873
+ # resp.configuration.capabilities[0].required #=> Boolean
874
+ # resp.configuration.capabilities[0].definition.filesystem.directory #=> String
875
+ # resp.configuration.capabilities[0].definition.filesystem.paths #=> Array
876
+ # resp.configuration.capabilities[0].definition.filesystem.paths[0] #=> String
877
+ # resp.configuration.capabilities[0].definition.filesystem.access_mode #=> String, one of "READ_ONLY", "READ_WRITE"
878
+ # resp.configuration.capabilities[0].definition.filesystem.create_mode #=> String, one of "PRIVATE", "PUBLIC"
879
+ # resp.configuration.capabilities[0].definition.aws.services #=> Hash
880
+ # resp.configuration.capabilities[0].definition.aws.services["String_1_32"] #=> Array
881
+ # resp.configuration.capabilities[0].definition.aws.services["String_1_32"][0] #=> String
882
+ # resp.configuration.capabilities[0].definition.exec.command #=> String
883
+ # resp.configuration.capabilities[0].definition.exec.args #=> Array
884
+ # resp.configuration.capabilities[0].definition.exec.args[0] #=> String
885
+ # resp.configuration.capabilities[0].definition.exec.timeout_in_seconds #=> Integer
886
+ # resp.configuration.interfaces #=> Array
887
+ # resp.configuration.interfaces[0].id #=> String
888
+ #
889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/GetExtension AWS API Documentation
890
+ #
891
+ # @overload get_extension(params = {})
892
+ # @param [Hash] params ({})
893
+ def get_extension(params = {}, options = {})
894
+ req = build_request(:get_extension, params)
895
+ req.send_request(options)
896
+ end
897
+
898
+ # Retrieves a profile by its identifier (id or name).
899
+ #
900
+ # @option params [required, String] :identifier
901
+ # The identifier (id or name) of the profile.
902
+ #
903
+ # @return [Types::GetProfileOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
904
+ #
905
+ # * {Types::GetProfileOutput#id #id} => String
906
+ # * {Types::GetProfileOutput#name #name} => String
907
+ # * {Types::GetProfileOutput#arn #arn} => String
908
+ # * {Types::GetProfileOutput#entry_count #entry_count} => Integer
909
+ # * {Types::GetProfileOutput#created_at #created_at} => Time
910
+ # * {Types::GetProfileOutput#updated_at #updated_at} => Time
911
+ # * {Types::GetProfileOutput#description #description} => String
912
+ # * {Types::GetProfileOutput#extension_defaults #extension_defaults} => Types::ExtensionDefaults
913
+ #
914
+ # @example Request syntax with placeholder values
915
+ #
916
+ # resp = client.get_profile({
917
+ # identifier: "Identifier", # required
918
+ # })
919
+ #
920
+ # @example Response structure
921
+ #
922
+ # resp.id #=> String
923
+ # resp.name #=> String
924
+ # resp.arn #=> String
925
+ # resp.entry_count #=> Integer
926
+ # resp.created_at #=> Time
927
+ # resp.updated_at #=> Time
928
+ # resp.description #=> String
929
+ # resp.extension_defaults.execution_role #=> String
930
+ # resp.extension_defaults.interface_defaults.http.authentication.none #=> Boolean
931
+ # resp.extension_defaults.interface_defaults.http.authentication.extension_key.access_key_id #=> String
932
+ # resp.extension_defaults.interface_defaults.http.authentication.extension_key.secret_key.literal #=> String
933
+ # resp.extension_defaults.interface_defaults.http.authentication.extension_key.secret_key.reference #=> String
934
+ #
935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/GetProfile AWS API Documentation
936
+ #
937
+ # @overload get_profile(params = {})
938
+ # @param [Hash] params ({})
939
+ def get_profile(params = {}, options = {})
940
+ req = build_request(:get_profile, params)
941
+ req.send_request(options)
942
+ end
943
+
944
+ # Retrieves a profile entry by its profile identifier and entry
945
+ # identifier.
946
+ #
947
+ # @option params [required, String] :identifier
948
+ # The identifier (id or name) of the profile entry.
949
+ #
950
+ # @option params [required, String] :profile_identifier
951
+ # The identifier of the owning profile.
952
+ #
953
+ # @return [Types::GetProfileEntryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
954
+ #
955
+ # * {Types::GetProfileEntryOutput#id #id} => String
956
+ # * {Types::GetProfileEntryOutput#name #name} => String
957
+ # * {Types::GetProfileEntryOutput#arn #arn} => String
958
+ # * {Types::GetProfileEntryOutput#profile_id #profile_id} => String
959
+ # * {Types::GetProfileEntryOutput#profile_name #profile_name} => String
960
+ # * {Types::GetProfileEntryOutput#extension_id #extension_id} => String
961
+ # * {Types::GetProfileEntryOutput#extension_display_name #extension_display_name} => String
962
+ # * {Types::GetProfileEntryOutput#version_policy #version_policy} => Types::VersionPolicy
963
+ # * {Types::GetProfileEntryOutput#resolved_version #resolved_version} => String
964
+ # * {Types::GetProfileEntryOutput#latest_version #latest_version} => String
965
+ # * {Types::GetProfileEntryOutput#created_at #created_at} => Time
966
+ # * {Types::GetProfileEntryOutput#updated_at #updated_at} => Time
967
+ # * {Types::GetProfileEntryOutput#execution_role #execution_role} => String
968
+ # * {Types::GetProfileEntryOutput#description #description} => String
969
+ # * {Types::GetProfileEntryOutput#effective_settings #effective_settings} => Hash,Array,String,Numeric,Boolean
970
+ # * {Types::GetProfileEntryOutput#approved_capabilities #approved_capabilities} => Hash&lt;String,Types::CapabilityDefinition&gt;
971
+ # * {Types::GetProfileEntryOutput#inherited #inherited} => Types::ExtensionDefaults
972
+ # * {Types::GetProfileEntryOutput#interfaces #interfaces} => Hash&lt;String,Types::InterfaceOptions&gt;
973
+ #
974
+ # @example Request syntax with placeholder values
975
+ #
976
+ # resp = client.get_profile_entry({
977
+ # identifier: "Identifier", # required
978
+ # profile_identifier: "Identifier", # required
979
+ # })
980
+ #
981
+ # @example Response structure
982
+ #
983
+ # resp.id #=> String
984
+ # resp.name #=> String
985
+ # resp.arn #=> String
986
+ # resp.profile_id #=> String
987
+ # resp.profile_name #=> String
988
+ # resp.extension_id #=> String
989
+ # resp.extension_display_name #=> String
990
+ # resp.version_policy.update_strategy #=> String, one of "AUTOMATIC", "MANUAL"
991
+ # resp.version_policy.version_selector #=> String
992
+ # resp.resolved_version #=> String
993
+ # resp.latest_version #=> String
994
+ # resp.created_at #=> Time
995
+ # resp.updated_at #=> Time
996
+ # resp.execution_role #=> String
997
+ # resp.description #=> String
998
+ # resp.approved_capabilities #=> Hash
999
+ # resp.approved_capabilities["CapabilityPath"].filesystem.directory #=> String
1000
+ # resp.approved_capabilities["CapabilityPath"].filesystem.paths #=> Array
1001
+ # resp.approved_capabilities["CapabilityPath"].filesystem.paths[0] #=> String
1002
+ # resp.approved_capabilities["CapabilityPath"].filesystem.access_mode #=> String, one of "READ_ONLY", "READ_WRITE"
1003
+ # resp.approved_capabilities["CapabilityPath"].filesystem.create_mode #=> String, one of "PRIVATE", "PUBLIC"
1004
+ # resp.approved_capabilities["CapabilityPath"].aws.services #=> Hash
1005
+ # resp.approved_capabilities["CapabilityPath"].aws.services["String_1_32"] #=> Array
1006
+ # resp.approved_capabilities["CapabilityPath"].aws.services["String_1_32"][0] #=> String
1007
+ # resp.approved_capabilities["CapabilityPath"].exec.command #=> String
1008
+ # resp.approved_capabilities["CapabilityPath"].exec.args #=> Array
1009
+ # resp.approved_capabilities["CapabilityPath"].exec.args[0] #=> String
1010
+ # resp.approved_capabilities["CapabilityPath"].exec.timeout_in_seconds #=> Integer
1011
+ # resp.inherited.execution_role #=> String
1012
+ # resp.inherited.interface_defaults.http.authentication.none #=> Boolean
1013
+ # resp.inherited.interface_defaults.http.authentication.extension_key.access_key_id #=> String
1014
+ # resp.inherited.interface_defaults.http.authentication.extension_key.secret_key.literal #=> String
1015
+ # resp.inherited.interface_defaults.http.authentication.extension_key.secret_key.reference #=> String
1016
+ # resp.interfaces #=> Hash
1017
+ # resp.interfaces["InterfaceId"].http.authentication.none #=> Boolean
1018
+ # resp.interfaces["InterfaceId"].http.authentication.extension_key.access_key_id #=> String
1019
+ # resp.interfaces["InterfaceId"].http.authentication.extension_key.secret_key.literal #=> String
1020
+ # resp.interfaces["InterfaceId"].http.authentication.extension_key.secret_key.reference #=> String
1021
+ # resp.interfaces["InterfaceId"].http.base_path #=> String
1022
+ #
1023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/GetProfileEntry AWS API Documentation
1024
+ #
1025
+ # @overload get_profile_entry(params = {})
1026
+ # @param [Hash] params ({})
1027
+ def get_profile_entry(params = {}, options = {})
1028
+ req = build_request(:get_profile_entry, params)
1029
+ req.send_request(options)
1030
+ end
1031
+
1032
+ # Lists the released versions of an extension, newest first, optionally
1033
+ # filtered by a version selector.
1034
+ #
1035
+ # @option params [required, String] :identifier
1036
+ # The id of the extension whose versions to list.
1037
+ #
1038
+ # @option params [String] :version_selector
1039
+ # Optional selector that limits the results to matching versions, such
1040
+ # as `1.x.x`.
1041
+ #
1042
+ # @option params [Integer] :max_results
1043
+ # The maximum number of versions to return in one page.
1044
+ #
1045
+ # @option params [String] :next_token
1046
+ # The token returned by a previous call, to retrieve the next page of
1047
+ # results.
1048
+ #
1049
+ # @return [Types::ListExtensionVersionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1050
+ #
1051
+ # * {Types::ListExtensionVersionsOutput#items #items} => Array&lt;Types::ExtensionSummary&gt;
1052
+ # * {Types::ListExtensionVersionsOutput#next_token #next_token} => String
1053
+ #
1054
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1055
+ #
1056
+ # @example Request syntax with placeholder values
1057
+ #
1058
+ # resp = client.list_extension_versions({
1059
+ # identifier: "ExtensionId", # required
1060
+ # version_selector: "SemanticVersionSelector",
1061
+ # max_results: 1,
1062
+ # next_token: "NextToken",
1063
+ # })
1064
+ #
1065
+ # @example Response structure
1066
+ #
1067
+ # resp.items #=> Array
1068
+ # resp.items[0].id #=> String
1069
+ # resp.items[0].display_name #=> String
1070
+ # resp.items[0].arn #=> String
1071
+ # resp.items[0].version #=> String
1072
+ # resp.items[0].overview #=> String
1073
+ # resp.items[0].documentation_link #=> String
1074
+ # resp.items[0].release_notes #=> String
1075
+ # resp.items[0].released_at #=> Time
1076
+ # resp.next_token #=> String
1077
+ #
1078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/ListExtensionVersions AWS API Documentation
1079
+ #
1080
+ # @overload list_extension_versions(params = {})
1081
+ # @param [Hash] params ({})
1082
+ def list_extension_versions(params = {}, options = {})
1083
+ req = build_request(:list_extension_versions, params)
1084
+ req.send_request(options)
1085
+ end
1086
+
1087
+ # Lists released extensions. Returns the latest version of each
1088
+ # extension.
1089
+ #
1090
+ # @option params [Integer] :max_results
1091
+ # The maximum number of extensions to return in one page.
1092
+ #
1093
+ # @option params [String] :next_token
1094
+ # The token returned by a previous call, to retrieve the next page of
1095
+ # results.
1096
+ #
1097
+ # @return [Types::ListExtensionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1098
+ #
1099
+ # * {Types::ListExtensionsOutput#items #items} => Array&lt;Types::ExtensionSummary&gt;
1100
+ # * {Types::ListExtensionsOutput#next_token #next_token} => String
1101
+ #
1102
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1103
+ #
1104
+ # @example Request syntax with placeholder values
1105
+ #
1106
+ # resp = client.list_extensions({
1107
+ # max_results: 1,
1108
+ # next_token: "NextToken",
1109
+ # })
1110
+ #
1111
+ # @example Response structure
1112
+ #
1113
+ # resp.items #=> Array
1114
+ # resp.items[0].id #=> String
1115
+ # resp.items[0].display_name #=> String
1116
+ # resp.items[0].arn #=> String
1117
+ # resp.items[0].version #=> String
1118
+ # resp.items[0].overview #=> String
1119
+ # resp.items[0].documentation_link #=> String
1120
+ # resp.items[0].release_notes #=> String
1121
+ # resp.items[0].released_at #=> Time
1122
+ # resp.next_token #=> String
1123
+ #
1124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/ListExtensions AWS API Documentation
1125
+ #
1126
+ # @overload list_extensions(params = {})
1127
+ # @param [Hash] params ({})
1128
+ def list_extensions(params = {}, options = {})
1129
+ req = build_request(:list_extensions, params)
1130
+ req.send_request(options)
1131
+ end
1132
+
1133
+ # Lists profile entries for a given profile.
1134
+ #
1135
+ # @option params [required, String] :profile_identifier
1136
+ # The identifier of the profile whose entries to list.
1137
+ #
1138
+ # @option params [Integer] :max_results
1139
+ # The maximum number of profile entries to return in one page.
1140
+ #
1141
+ # @option params [String] :next_token
1142
+ # The token returned by a previous call, to retrieve the next page of
1143
+ # results.
1144
+ #
1145
+ # @return [Types::ListProfileEntriesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1146
+ #
1147
+ # * {Types::ListProfileEntriesOutput#items #items} => Array&lt;Types::ProfileEntrySummary&gt;
1148
+ # * {Types::ListProfileEntriesOutput#next_token #next_token} => String
1149
+ #
1150
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1151
+ #
1152
+ # @example Request syntax with placeholder values
1153
+ #
1154
+ # resp = client.list_profile_entries({
1155
+ # profile_identifier: "Identifier", # required
1156
+ # max_results: 1,
1157
+ # next_token: "NextToken",
1158
+ # })
1159
+ #
1160
+ # @example Response structure
1161
+ #
1162
+ # resp.items #=> Array
1163
+ # resp.items[0].id #=> String
1164
+ # resp.items[0].name #=> String
1165
+ # resp.items[0].arn #=> String
1166
+ # resp.items[0].profile_id #=> String
1167
+ # resp.items[0].profile_name #=> String
1168
+ # resp.items[0].extension_id #=> String
1169
+ # resp.items[0].extension_display_name #=> String
1170
+ # resp.items[0].version_policy.update_strategy #=> String, one of "AUTOMATIC", "MANUAL"
1171
+ # resp.items[0].version_policy.version_selector #=> String
1172
+ # resp.items[0].resolved_version #=> String
1173
+ # resp.items[0].latest_version #=> String
1174
+ # resp.items[0].created_at #=> Time
1175
+ # resp.items[0].updated_at #=> Time
1176
+ # resp.next_token #=> String
1177
+ #
1178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/ListProfileEntries AWS API Documentation
1179
+ #
1180
+ # @overload list_profile_entries(params = {})
1181
+ # @param [Hash] params ({})
1182
+ def list_profile_entries(params = {}, options = {})
1183
+ req = build_request(:list_profile_entries, params)
1184
+ req.send_request(options)
1185
+ end
1186
+
1187
+ # Lists profiles in the account, optionally filtered by name.
1188
+ #
1189
+ # @option params [String] :name
1190
+ # Optional filter to match profiles by name.
1191
+ #
1192
+ # @option params [Integer] :max_results
1193
+ # The maximum number of profiles to return in one page.
1194
+ #
1195
+ # @option params [String] :next_token
1196
+ # The token returned by a previous call, to retrieve the next page of
1197
+ # results.
1198
+ #
1199
+ # @return [Types::ListProfilesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1200
+ #
1201
+ # * {Types::ListProfilesOutput#items #items} => Array&lt;Types::ProfileSummary&gt;
1202
+ # * {Types::ListProfilesOutput#next_token #next_token} => String
1203
+ #
1204
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1205
+ #
1206
+ # @example Request syntax with placeholder values
1207
+ #
1208
+ # resp = client.list_profiles({
1209
+ # name: "String_1_32",
1210
+ # max_results: 1,
1211
+ # next_token: "NextToken",
1212
+ # })
1213
+ #
1214
+ # @example Response structure
1215
+ #
1216
+ # resp.items #=> Array
1217
+ # resp.items[0].id #=> String
1218
+ # resp.items[0].name #=> String
1219
+ # resp.items[0].arn #=> String
1220
+ # resp.items[0].entry_count #=> Integer
1221
+ # resp.items[0].created_at #=> Time
1222
+ # resp.items[0].updated_at #=> Time
1223
+ # resp.next_token #=> String
1224
+ #
1225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/ListProfiles AWS API Documentation
1226
+ #
1227
+ # @overload list_profiles(params = {})
1228
+ # @param [Hash] params ({})
1229
+ def list_profiles(params = {}, options = {})
1230
+ req = build_request(:list_profiles, params)
1231
+ req.send_request(options)
1232
+ end
1233
+
1234
+ # Lists the tags on a profile or profile entry.
1235
+ #
1236
+ # @option params [required, String] :resource_arn
1237
+ # The ARN of the profile or profile entry whose tags to list.
1238
+ #
1239
+ # @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1240
+ #
1241
+ # * {Types::ListTagsForResourceOutput#tags #tags} => Hash&lt;String,String&gt;
1242
+ #
1243
+ # @example Request syntax with placeholder values
1244
+ #
1245
+ # resp = client.list_tags_for_resource({
1246
+ # resource_arn: "Arn", # required
1247
+ # })
1248
+ #
1249
+ # @example Response structure
1250
+ #
1251
+ # resp.tags #=> Hash
1252
+ # resp.tags["TagKey"] #=> String
1253
+ #
1254
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/ListTagsForResource AWS API Documentation
1255
+ #
1256
+ # @overload list_tags_for_resource(params = {})
1257
+ # @param [Hash] params ({})
1258
+ def list_tags_for_resource(params = {}, options = {})
1259
+ req = build_request(:list_tags_for_resource, params)
1260
+ req.send_request(options)
1261
+ end
1262
+
1263
+ # Adds tags to a profile or profile entry. A tag whose key the resource
1264
+ # already has replaces that tag's value.
1265
+ #
1266
+ # @option params [required, String] :resource_arn
1267
+ # The ARN of the profile or profile entry to tag.
1268
+ #
1269
+ # @option params [required, Hash<String,String>] :tags
1270
+ # The tags to add or replace.
1271
+ #
1272
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1273
+ #
1274
+ # @example Request syntax with placeholder values
1275
+ #
1276
+ # resp = client.tag_resource({
1277
+ # resource_arn: "Arn", # required
1278
+ # tags: { # required
1279
+ # "TagKey" => "TagValue",
1280
+ # },
1281
+ # })
1282
+ #
1283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/TagResource AWS API Documentation
1284
+ #
1285
+ # @overload tag_resource(params = {})
1286
+ # @param [Hash] params ({})
1287
+ def tag_resource(params = {}, options = {})
1288
+ req = build_request(:tag_resource, params)
1289
+ req.send_request(options)
1290
+ end
1291
+
1292
+ # Removes tags from a profile or profile entry.
1293
+ #
1294
+ # @option params [required, String] :resource_arn
1295
+ # The ARN of the profile or profile entry to remove tags from.
1296
+ #
1297
+ # @option params [required, Array<String>] :tag_keys
1298
+ # The keys of the tags to remove.
1299
+ #
1300
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1301
+ #
1302
+ # @example Request syntax with placeholder values
1303
+ #
1304
+ # resp = client.untag_resource({
1305
+ # resource_arn: "Arn", # required
1306
+ # tag_keys: ["TagKey"], # required
1307
+ # })
1308
+ #
1309
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/UntagResource AWS API Documentation
1310
+ #
1311
+ # @overload untag_resource(params = {})
1312
+ # @param [Hash] params ({})
1313
+ def untag_resource(params = {}, options = {})
1314
+ req = build_request(:untag_resource, params)
1315
+ req.send_request(options)
1316
+ end
1317
+
1318
+ # Updates a profile's mutable properties. Only provided fields are
1319
+ # changed; omitted fields remain unchanged.
1320
+ #
1321
+ # @option params [required, String] :identifier
1322
+ # The identifier (id or name) of the profile to update.
1323
+ #
1324
+ # @option params [String] :name
1325
+ # The new name of the profile. Must be unique within the account.
1326
+ #
1327
+ # @option params [String] :description
1328
+ # A human-readable description of the profile's purpose or target
1329
+ # environment. An empty string removes the description.
1330
+ #
1331
+ # @option params [Types::ExtensionDefaults] :extension_defaults
1332
+ # Default values used by the extensions in this profile. These can be
1333
+ # overridden at the profile entry level.
1334
+ #
1335
+ # @return [Types::UpdateProfileOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1336
+ #
1337
+ # * {Types::UpdateProfileOutput#id #id} => String
1338
+ # * {Types::UpdateProfileOutput#name #name} => String
1339
+ # * {Types::UpdateProfileOutput#arn #arn} => String
1340
+ # * {Types::UpdateProfileOutput#entry_count #entry_count} => Integer
1341
+ # * {Types::UpdateProfileOutput#created_at #created_at} => Time
1342
+ # * {Types::UpdateProfileOutput#updated_at #updated_at} => Time
1343
+ # * {Types::UpdateProfileOutput#description #description} => String
1344
+ # * {Types::UpdateProfileOutput#extension_defaults #extension_defaults} => Types::ExtensionDefaults
1345
+ #
1346
+ # @example Request syntax with placeholder values
1347
+ #
1348
+ # resp = client.update_profile({
1349
+ # identifier: "Identifier", # required
1350
+ # name: "Name",
1351
+ # description: "ClearableDescription_256",
1352
+ # extension_defaults: {
1353
+ # execution_role: "ClearableRoleArn",
1354
+ # interface_defaults: {
1355
+ # http: {
1356
+ # authentication: {
1357
+ # none: false,
1358
+ # runtime_credentials: {
1359
+ # },
1360
+ # extension_key: {
1361
+ # access_key_id: "KeyId",
1362
+ # secret_key: {
1363
+ # literal: "SecretLiteral",
1364
+ # reference: "SecretReference",
1365
+ # },
1366
+ # },
1367
+ # },
1368
+ # },
1369
+ # },
1370
+ # },
1371
+ # })
1372
+ #
1373
+ # @example Response structure
1374
+ #
1375
+ # resp.id #=> String
1376
+ # resp.name #=> String
1377
+ # resp.arn #=> String
1378
+ # resp.entry_count #=> Integer
1379
+ # resp.created_at #=> Time
1380
+ # resp.updated_at #=> Time
1381
+ # resp.description #=> String
1382
+ # resp.extension_defaults.execution_role #=> String
1383
+ # resp.extension_defaults.interface_defaults.http.authentication.none #=> Boolean
1384
+ # resp.extension_defaults.interface_defaults.http.authentication.extension_key.access_key_id #=> String
1385
+ # resp.extension_defaults.interface_defaults.http.authentication.extension_key.secret_key.literal #=> String
1386
+ # resp.extension_defaults.interface_defaults.http.authentication.extension_key.secret_key.reference #=> String
1387
+ #
1388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/UpdateProfile AWS API Documentation
1389
+ #
1390
+ # @overload update_profile(params = {})
1391
+ # @param [Hash] params ({})
1392
+ def update_profile(params = {}, options = {})
1393
+ req = build_request(:update_profile, params)
1394
+ req.send_request(options)
1395
+ end
1396
+
1397
+ # Updates a profile entry's configuration. Only provided fields are
1398
+ # changed; omitted fields remain unchanged.
1399
+ #
1400
+ # @option params [required, String] :identifier
1401
+ # The identifier of the profile entry
1402
+ #
1403
+ # @option params [required, String] :profile_identifier
1404
+ # The identifier of the owning profile.
1405
+ #
1406
+ # @option params [String] :name
1407
+ # A new name for the entry, unique within the profile.
1408
+ #
1409
+ # @option params [String] :description
1410
+ # A new description of the entry's purpose. An empty string removes the
1411
+ # description.
1412
+ #
1413
+ # @option params [Hash<String,Types::InterfaceOptions>] :interfaces
1414
+ # Per-interface options, keyed by the id of an interface the extension
1415
+ # declares.
1416
+ #
1417
+ # @option params [String] :execution_role
1418
+ # The IAM role an extension assumes when calling AWS services. The role
1419
+ # must be assumable by the Cloud Extensions Runtime's principal. An
1420
+ # empty string removes the entry's role, so the profile's default
1421
+ # applies.
1422
+ #
1423
+ # @option params [Types::VersionPolicy] :version_policy
1424
+ # Controls which extension version this entry tracks and how it adopts
1425
+ # new releases.
1426
+ #
1427
+ # @option params [Hash,Array,String,Numeric,Boolean] :settings
1428
+ # Changes to the entry's setting values, applied as a JSON merge patch
1429
+ # (RFC 7396). An omitted setting is unchanged, null removes a setting so
1430
+ # it takes its default if it has one, an object merges into a group's
1431
+ # stored values, and any other value replaces the stored one. An array
1432
+ # replaces the whole stored array, and a null inside an array is
1433
+ # rejected. Keys are the extension's setting ids and the merged values
1434
+ # are validated against the extension's settings definitions.
1435
+ #
1436
+ # Document type used to carry open content
1437
+ # (Hash,Array,String,Numeric,Boolean). A document type value is
1438
+ # serialized using the same format as its surroundings and requires no
1439
+ # additional encoding or escaping.
1440
+ #
1441
+ # @option params [Array<String>] :approve
1442
+ # The complete list of capability paths to approve, replacing the
1443
+ # entry's current approvals. A capability left out of the list is no
1444
+ # longer approved. Omit approve to keep the current approvals.
1445
+ #
1446
+ # @return [Types::UpdateProfileEntryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1447
+ #
1448
+ # * {Types::UpdateProfileEntryOutput#id #id} => String
1449
+ # * {Types::UpdateProfileEntryOutput#name #name} => String
1450
+ # * {Types::UpdateProfileEntryOutput#arn #arn} => String
1451
+ # * {Types::UpdateProfileEntryOutput#profile_id #profile_id} => String
1452
+ # * {Types::UpdateProfileEntryOutput#profile_name #profile_name} => String
1453
+ # * {Types::UpdateProfileEntryOutput#extension_id #extension_id} => String
1454
+ # * {Types::UpdateProfileEntryOutput#extension_display_name #extension_display_name} => String
1455
+ # * {Types::UpdateProfileEntryOutput#version_policy #version_policy} => Types::VersionPolicy
1456
+ # * {Types::UpdateProfileEntryOutput#resolved_version #resolved_version} => String
1457
+ # * {Types::UpdateProfileEntryOutput#latest_version #latest_version} => String
1458
+ # * {Types::UpdateProfileEntryOutput#created_at #created_at} => Time
1459
+ # * {Types::UpdateProfileEntryOutput#updated_at #updated_at} => Time
1460
+ # * {Types::UpdateProfileEntryOutput#execution_role #execution_role} => String
1461
+ # * {Types::UpdateProfileEntryOutput#description #description} => String
1462
+ # * {Types::UpdateProfileEntryOutput#effective_settings #effective_settings} => Hash,Array,String,Numeric,Boolean
1463
+ # * {Types::UpdateProfileEntryOutput#approved_capabilities #approved_capabilities} => Hash&lt;String,Types::CapabilityDefinition&gt;
1464
+ # * {Types::UpdateProfileEntryOutput#inherited #inherited} => Types::ExtensionDefaults
1465
+ # * {Types::UpdateProfileEntryOutput#interfaces #interfaces} => Hash&lt;String,Types::InterfaceOptions&gt;
1466
+ #
1467
+ # @example Request syntax with placeholder values
1468
+ #
1469
+ # resp = client.update_profile_entry({
1470
+ # identifier: "Identifier", # required
1471
+ # profile_identifier: "Identifier", # required
1472
+ # name: "Name",
1473
+ # description: "ClearableDescription_256",
1474
+ # interfaces: {
1475
+ # "InterfaceId" => {
1476
+ # http: {
1477
+ # authentication: {
1478
+ # none: false,
1479
+ # runtime_credentials: {
1480
+ # },
1481
+ # extension_key: {
1482
+ # access_key_id: "KeyId",
1483
+ # secret_key: {
1484
+ # literal: "SecretLiteral",
1485
+ # reference: "SecretReference",
1486
+ # },
1487
+ # },
1488
+ # },
1489
+ # base_path: "BasePath",
1490
+ # },
1491
+ # },
1492
+ # },
1493
+ # execution_role: "ClearableRoleArn",
1494
+ # version_policy: {
1495
+ # update_strategy: "AUTOMATIC", # accepts AUTOMATIC, MANUAL
1496
+ # version_selector: "SemanticVersionSelector",
1497
+ # },
1498
+ # settings: {
1499
+ # },
1500
+ # approve: ["CapabilityPath"],
1501
+ # })
1502
+ #
1503
+ # @example Response structure
1504
+ #
1505
+ # resp.id #=> String
1506
+ # resp.name #=> String
1507
+ # resp.arn #=> String
1508
+ # resp.profile_id #=> String
1509
+ # resp.profile_name #=> String
1510
+ # resp.extension_id #=> String
1511
+ # resp.extension_display_name #=> String
1512
+ # resp.version_policy.update_strategy #=> String, one of "AUTOMATIC", "MANUAL"
1513
+ # resp.version_policy.version_selector #=> String
1514
+ # resp.resolved_version #=> String
1515
+ # resp.latest_version #=> String
1516
+ # resp.created_at #=> Time
1517
+ # resp.updated_at #=> Time
1518
+ # resp.execution_role #=> String
1519
+ # resp.description #=> String
1520
+ # resp.approved_capabilities #=> Hash
1521
+ # resp.approved_capabilities["CapabilityPath"].filesystem.directory #=> String
1522
+ # resp.approved_capabilities["CapabilityPath"].filesystem.paths #=> Array
1523
+ # resp.approved_capabilities["CapabilityPath"].filesystem.paths[0] #=> String
1524
+ # resp.approved_capabilities["CapabilityPath"].filesystem.access_mode #=> String, one of "READ_ONLY", "READ_WRITE"
1525
+ # resp.approved_capabilities["CapabilityPath"].filesystem.create_mode #=> String, one of "PRIVATE", "PUBLIC"
1526
+ # resp.approved_capabilities["CapabilityPath"].aws.services #=> Hash
1527
+ # resp.approved_capabilities["CapabilityPath"].aws.services["String_1_32"] #=> Array
1528
+ # resp.approved_capabilities["CapabilityPath"].aws.services["String_1_32"][0] #=> String
1529
+ # resp.approved_capabilities["CapabilityPath"].exec.command #=> String
1530
+ # resp.approved_capabilities["CapabilityPath"].exec.args #=> Array
1531
+ # resp.approved_capabilities["CapabilityPath"].exec.args[0] #=> String
1532
+ # resp.approved_capabilities["CapabilityPath"].exec.timeout_in_seconds #=> Integer
1533
+ # resp.inherited.execution_role #=> String
1534
+ # resp.inherited.interface_defaults.http.authentication.none #=> Boolean
1535
+ # resp.inherited.interface_defaults.http.authentication.extension_key.access_key_id #=> String
1536
+ # resp.inherited.interface_defaults.http.authentication.extension_key.secret_key.literal #=> String
1537
+ # resp.inherited.interface_defaults.http.authentication.extension_key.secret_key.reference #=> String
1538
+ # resp.interfaces #=> Hash
1539
+ # resp.interfaces["InterfaceId"].http.authentication.none #=> Boolean
1540
+ # resp.interfaces["InterfaceId"].http.authentication.extension_key.access_key_id #=> String
1541
+ # resp.interfaces["InterfaceId"].http.authentication.extension_key.secret_key.literal #=> String
1542
+ # resp.interfaces["InterfaceId"].http.authentication.extension_key.secret_key.reference #=> String
1543
+ # resp.interfaces["InterfaceId"].http.base_path #=> String
1544
+ #
1545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/UpdateProfileEntry AWS API Documentation
1546
+ #
1547
+ # @overload update_profile_entry(params = {})
1548
+ # @param [Hash] params ({})
1549
+ def update_profile_entry(params = {}, options = {})
1550
+ req = build_request(:update_profile_entry, params)
1551
+ req.send_request(options)
1552
+ end
1553
+
1554
+ # @!endgroup
1555
+
1556
+ # @param params ({})
1557
+ # @api private
1558
+ def build_request(operation_name, params = {})
1559
+ handlers = @handlers.for(operation_name)
1560
+ tracer = config.telemetry_provider.tracer_provider.tracer(
1561
+ Aws::Telemetry.module_to_tracer_name('Aws::CloudExtensions')
1562
+ )
1563
+ context = Seahorse::Client::RequestContext.new(
1564
+ operation_name: operation_name,
1565
+ operation: config.api.operation(operation_name),
1566
+ client: self,
1567
+ params: params,
1568
+ config: config,
1569
+ tracer: tracer
1570
+ )
1571
+ context[:gem_name] = 'aws-sdk-cloudextensions'
1572
+ context[:gem_version] = '1.0.0'
1573
+ Seahorse::Client::Request.new(handlers, context)
1574
+ end
1575
+
1576
+ # @api private
1577
+ # @deprecated
1578
+ def waiter_names
1579
+ []
1580
+ end
1581
+
1582
+ class << self
1583
+
1584
+ # @api private
1585
+ attr_reader :identifier
1586
+
1587
+ # @api private
1588
+ def errors_module
1589
+ Errors
1590
+ end
1591
+
1592
+ end
1593
+ end
1594
+ end