aws-sdk-cloudwatchomni 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c35d8a41c846f2c0929a713eac3655b5aaed30205aea6cbc7efb75d948e75bf7
4
- data.tar.gz: c85c400a59de3f8d83b8105cdab94268504c3e9cfe2537a109dc047b2fd2de08
3
+ metadata.gz: 6481381cc6b7c2634197796705b3cd0582ac7f26af2d8cb3b944110abb371690
4
+ data.tar.gz: 6cae560ee5b79233365dbead8e08e704e0a567ad9d4f622f81e5ca8d14d1178c
5
5
  SHA512:
6
- metadata.gz: 8c55de40fb9d72260ebd2d878c2601faaa09a6b47eaa528a9608eb5a3551e5bc7492b810fc73dc4a89f667b337b7f7d6af8cf5e510c4ef286b9ed2bace3d0abc
7
- data.tar.gz: b4abb922cf42a4d21815b010b37831f849e9ecd93c3da24d6b7413dd7d37ef26041d0293d2724f033c2236e9effd085dbfa4dcfe3720c676f2e086e2f64953fe
6
+ metadata.gz: 9fa25e9d7e3c1ac0e97bca504aee271ca8544e64ac0ae601b7d8da5a26858fb509155a5741aa02c117c27be1adf43e0a716c707d7b713bc750cb23a72fbb9e68
7
+ data.tar.gz: 43c2549f398387c11289d6619f4e4aa66c54400e3d39676cf025f78fa9242c3e9d45a1838b27e36c67c4ef0130769fa96579c99f0003c706bd1f1d8fec2c009c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2026-11-10)
5
+ ------------------
6
+
7
+ * Feature - Release of GetSpaceDataAccess API - Used to get temporary credentials, limited to the requested actions, for working with data in a space.
8
+
4
9
  1.9.0 (2026-11-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.10.0
@@ -264,7 +264,8 @@ module Aws::CloudWatchOmni
264
264
  # An integer representing the maximum number attempts that will be made for
265
265
  # a single request, including the initial attempt. For example,
266
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.
267
+ # 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
268
+ # except for DynamoDB and DynamoDB Streams, which default to 4.
268
269
  #
269
270
  # @option options [String] :profile ("default")
270
271
  # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
@@ -327,15 +328,15 @@ module Aws::CloudWatchOmni
327
328
  # used by the default backoff function. This option is only used in the
328
329
  # `legacy` retry mode.
329
330
  #
330
- # @option options [String] :retry_mode ("legacy")
331
+ # @option options [String] :retry_mode ("standard")
331
332
  # Specifies which retry algorithm to use. Values are:
332
333
  #
333
- # * `legacy` - The pre-existing retry behavior. This is the default
334
- # value if no retry mode is provided.
334
+ # * `legacy` - The pre-existing retry behavior.
335
335
  #
336
336
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
337
337
  # This includes support for retry quotas, which limit the number of
338
- # unsuccessful retries a client can make.
338
+ # unsuccessful retries a client can make. This is the default value
339
+ # if no retry mode is provided.
339
340
  #
340
341
  # * `adaptive` - A retry mode that includes all the functionality of
341
342
  # `standard` mode along with automatic client side throttling.
@@ -3665,6 +3666,98 @@ module Aws::CloudWatchOmni
3665
3666
  req.send_request(options)
3666
3667
  end
3667
3668
 
3669
+ # Returns temporary credentials for working with data in a space,
3670
+ # limited to the actions you request.
3671
+ #
3672
+ # The credentials allow only the requested actions that can be granted
3673
+ # in the space and that your access grants allow. Requested actions that
3674
+ # cannot be conferred are ignored rather than rejected.
3675
+ #
3676
+ # @option params [required, String] :space_id
3677
+ # The unique ID of the space to return credentials for.
3678
+ #
3679
+ # @option params [required, Array<Types::DataAccessTarget>] :target_scopes
3680
+ # The actions to include in the credentials, grouped by service.
3681
+ #
3682
+ # @option params [Integer] :duration_seconds
3683
+ # The lifetime of the credentials, in seconds. Defaults to 3600.
3684
+ #
3685
+ # @option params [Hash<String,String>] :audit_context
3686
+ # Caller-supplied key-value pairs that are recorded for auditing. They
3687
+ # do not affect authorization or the permissions of the credentials.
3688
+ #
3689
+ # @return [Types::GetSpaceDataAccessOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3690
+ #
3691
+ # * {Types::GetSpaceDataAccessOutput#credentials #credentials} => Types::AwsCredentials
3692
+ #
3693
+ #
3694
+ # @example Example: Get data credentials for log queries
3695
+ #
3696
+ # # The following example requests credentials that allow running log queries and reading metric data in a space. Payloads
3697
+ # # are shown as JSON; on the wire they are CBOR-encoded.
3698
+ #
3699
+ # resp = client.get_space_data_access({
3700
+ # audit_context: {
3701
+ # "source" => "logs-console",
3702
+ # },
3703
+ # duration_seconds: 3600,
3704
+ # space_id: "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
3705
+ # target_scopes: [
3706
+ # {
3707
+ # actions: [
3708
+ # "logs:StartQuery",
3709
+ # "logs:GetQueryResults",
3710
+ # ],
3711
+ # },
3712
+ # {
3713
+ # actions: [
3714
+ # "cloudwatch:GetMetricData",
3715
+ # ],
3716
+ # },
3717
+ # ],
3718
+ # })
3719
+ #
3720
+ # resp.to_h outputs the following:
3721
+ # {
3722
+ # credentials: {
3723
+ # access_key_id: "ASIAIOSFODNN7EXAMPLE",
3724
+ # expiration: Time.parse("2026-10-20T19:22:31Z"),
3725
+ # secret_access_key: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
3726
+ # session_token: "EXAMPLE-SESSION-TOKEN",
3727
+ # },
3728
+ # }
3729
+ #
3730
+ # @example Request syntax with placeholder values
3731
+ #
3732
+ # resp = client.get_space_data_access({
3733
+ # space_id: "SpaceId", # required
3734
+ # target_scopes: [ # required
3735
+ # {
3736
+ # actions: ["DataAccessActionName"], # required
3737
+ # },
3738
+ # ],
3739
+ # duration_seconds: 1,
3740
+ # audit_context: {
3741
+ # "DataAccessAuditContextKeyString" => "DataAccessAuditContextValueString",
3742
+ # },
3743
+ # })
3744
+ #
3745
+ # @example Response structure
3746
+ #
3747
+ # resp.credentials.access_key_id #=> String
3748
+ # resp.credentials.secret_access_key #=> String
3749
+ # resp.credentials.session_token #=> String
3750
+ # resp.credentials.expiration #=> Time
3751
+ #
3752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudwatchomni-2025-01-01/GetSpaceDataAccess AWS API Documentation
3753
+ #
3754
+ # @overload get_space_data_access(params = {})
3755
+ # @param [Hash] params ({})
3756
+ def get_space_data_access(params = {}, options = {})
3757
+ req = build_request(:get_space_data_access, params)
3758
+ req.send_request(options)
3759
+ end
3760
+
3668
3761
  # Returns the results for the specified query.
3669
3762
  #
3670
3763
  # @option params [required, String] :query_id
@@ -6066,7 +6159,7 @@ module Aws::CloudWatchOmni
6066
6159
  tracer: tracer
6067
6160
  )
6068
6161
  context[:gem_name] = 'aws-sdk-cloudwatchomni'
6069
- context[:gem_version] = '1.9.0'
6162
+ context[:gem_version] = '1.10.0'
6070
6163
  Seahorse::Client::Request.new(handlers, context)
6071
6164
  end
6072
6165
 
@@ -112,6 +112,13 @@ module Aws::CloudWatchOmni
112
112
  CreateViewRequestClientTokenString = Shapes::StringShape.new(name: 'CreateViewRequestClientTokenString')
113
113
  CreateViewResponse = Shapes::StructureShape.new(name: 'CreateViewResponse')
114
114
  DashboardId = Shapes::StringShape.new(name: 'DashboardId')
115
+ DataAccessActionList = Shapes::ListShape.new(name: 'DataAccessActionList')
116
+ DataAccessActionName = Shapes::StringShape.new(name: 'DataAccessActionName')
117
+ DataAccessAuditContext = Shapes::MapShape.new(name: 'DataAccessAuditContext')
118
+ DataAccessAuditContextKeyString = Shapes::StringShape.new(name: 'DataAccessAuditContextKeyString')
119
+ DataAccessAuditContextValueString = Shapes::StringShape.new(name: 'DataAccessAuditContextValueString')
120
+ DataAccessTarget = Shapes::StructureShape.new(name: 'DataAccessTarget')
121
+ DataAccessTargetList = Shapes::ListShape.new(name: 'DataAccessTargetList')
115
122
  DeepLinkCode = Shapes::StringShape.new(name: 'DeepLinkCode')
116
123
  DeepLinkUrl = Shapes::StringShape.new(name: 'DeepLinkUrl')
117
124
  DeleteAccessGrantInput = Shapes::StructureShape.new(name: 'DeleteAccessGrantInput')
@@ -183,6 +190,9 @@ module Aws::CloudWatchOmni
183
190
  GetOmniDashboardOutput = Shapes::StructureShape.new(name: 'GetOmniDashboardOutput')
184
191
  GetSpaceCredentialsForOrganizationInput = Shapes::StructureShape.new(name: 'GetSpaceCredentialsForOrganizationInput')
185
192
  GetSpaceCredentialsForOrganizationOutput = Shapes::StructureShape.new(name: 'GetSpaceCredentialsForOrganizationOutput')
193
+ GetSpaceDataAccessInput = Shapes::StructureShape.new(name: 'GetSpaceDataAccessInput')
194
+ GetSpaceDataAccessInputDurationSecondsInteger = Shapes::IntegerShape.new(name: 'GetSpaceDataAccessInputDurationSecondsInteger')
195
+ GetSpaceDataAccessOutput = Shapes::StructureShape.new(name: 'GetSpaceDataAccessOutput')
186
196
  GetSpaceInput = Shapes::StructureShape.new(name: 'GetSpaceInput')
187
197
  GetSpaceOutput = Shapes::StructureShape.new(name: 'GetSpaceOutput')
188
198
  GetTelemetryQueryResultsRequest = Shapes::StructureShape.new(name: 'GetTelemetryQueryResultsRequest')
@@ -307,6 +317,7 @@ module Aws::CloudWatchOmni
307
317
  OrganizationPrincipalId = Shapes::StringShape.new(name: 'OrganizationPrincipalId')
308
318
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
309
319
  PartialResults = Shapes::StructureShape.new(name: 'PartialResults')
320
+ PolicyTooLargeException = Shapes::StructureShape.new(name: 'PolicyTooLargeException')
310
321
  PrincipalId = Shapes::StringShape.new(name: 'PrincipalId')
311
322
  PrincipalSearchResult = Shapes::StructureShape.new(name: 'PrincipalSearchResult')
312
323
  PrincipalSearchResultList = Shapes::ListShape.new(name: 'PrincipalSearchResultList')
@@ -714,6 +725,16 @@ module Aws::CloudWatchOmni
714
725
  CreateViewResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
715
726
  CreateViewResponse.struct_class = Types::CreateViewResponse
716
727
 
728
+ DataAccessActionList.member = Shapes::ShapeRef.new(shape: DataAccessActionName)
729
+
730
+ DataAccessAuditContext.key = Shapes::ShapeRef.new(shape: DataAccessAuditContextKeyString)
731
+ DataAccessAuditContext.value = Shapes::ShapeRef.new(shape: DataAccessAuditContextValueString)
732
+
733
+ DataAccessTarget.add_member(:actions, Shapes::ShapeRef.new(shape: DataAccessActionList, required: true, location_name: "actions"))
734
+ DataAccessTarget.struct_class = Types::DataAccessTarget
735
+
736
+ DataAccessTargetList.member = Shapes::ShapeRef.new(shape: DataAccessTarget)
737
+
717
738
  DeleteAccessGrantInput.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantId, required: true, location_name: "grantId"))
718
739
  DeleteAccessGrantInput.struct_class = Types::DeleteAccessGrantInput
719
740
 
@@ -929,6 +950,15 @@ module Aws::CloudWatchOmni
929
950
  GetSpaceCredentialsForOrganizationOutput.add_member(:credentials, Shapes::ShapeRef.new(shape: AwsCredentials, required: true, location_name: "credentials"))
930
951
  GetSpaceCredentialsForOrganizationOutput.struct_class = Types::GetSpaceCredentialsForOrganizationOutput
931
952
 
953
+ GetSpaceDataAccessInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
954
+ GetSpaceDataAccessInput.add_member(:target_scopes, Shapes::ShapeRef.new(shape: DataAccessTargetList, required: true, location_name: "targetScopes"))
955
+ GetSpaceDataAccessInput.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: GetSpaceDataAccessInputDurationSecondsInteger, location_name: "durationSeconds"))
956
+ GetSpaceDataAccessInput.add_member(:audit_context, Shapes::ShapeRef.new(shape: DataAccessAuditContext, location_name: "auditContext"))
957
+ GetSpaceDataAccessInput.struct_class = Types::GetSpaceDataAccessInput
958
+
959
+ GetSpaceDataAccessOutput.add_member(:credentials, Shapes::ShapeRef.new(shape: AwsCredentials, required: true, location_name: "credentials"))
960
+ GetSpaceDataAccessOutput.struct_class = Types::GetSpaceDataAccessOutput
961
+
932
962
  GetSpaceInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
933
963
  GetSpaceInput.struct_class = Types::GetSpaceInput
934
964
 
@@ -1327,6 +1357,9 @@ module Aws::CloudWatchOmni
1327
1357
  PartialResults.add_member(:partial_results_detected, Shapes::ShapeRef.new(shape: Boolean, location_name: "partialResultsDetected"))
1328
1358
  PartialResults.struct_class = Types::PartialResults
1329
1359
 
1360
+ PolicyTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1361
+ PolicyTooLargeException.struct_class = Types::PolicyTooLargeException
1362
+
1330
1363
  PrincipalSearchResult.add_member(:principal_id, Shapes::ShapeRef.new(shape: PrincipalId, required: true, location_name: "principalId"))
1331
1364
  PrincipalSearchResult.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, required: true, location_name: "principalType"))
1332
1365
  PrincipalSearchResult.add_member(:display_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "displayName"))
@@ -2077,6 +2110,20 @@ module Aws::CloudWatchOmni
2077
2110
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2078
2111
  end)
2079
2112
 
2113
+ api.add_operation(:get_space_data_access, Seahorse::Model::Operation.new.tap do |o|
2114
+ o.name = "GetSpaceDataAccess"
2115
+ o.http_method = "POST"
2116
+ o.http_request_uri = "/"
2117
+ o.input = Shapes::ShapeRef.new(shape: GetSpaceDataAccessInput)
2118
+ o.output = Shapes::ShapeRef.new(shape: GetSpaceDataAccessOutput)
2119
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2120
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2121
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2122
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2123
+ o.errors << Shapes::ShapeRef.new(shape: PolicyTooLargeException)
2124
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2125
+ end)
2126
+
2080
2127
  api.add_operation(:get_telemetry_query_results, Seahorse::Model::Operation.new.tap do |o|
2081
2128
  o.name = "GetTelemetryQueryResults"
2082
2129
  o.http_method = "POST"
@@ -30,6 +30,7 @@ module Aws::CloudWatchOmni
30
30
  # * {AccessDeniedException}
31
31
  # * {ConflictException}
32
32
  # * {InternalServerException}
33
+ # * {PolicyTooLargeException}
33
34
  # * {ResourceNotFoundException}
34
35
  # * {ServiceQuotaExceededException}
35
36
  # * {ThrottlingException}
@@ -115,6 +116,21 @@ module Aws::CloudWatchOmni
115
116
  end
116
117
  end
117
118
 
119
+ class PolicyTooLargeException < ServiceError
120
+
121
+ # @param [Seahorse::Client::RequestContext] context
122
+ # @param [String] message
123
+ # @param [Aws::CloudWatchOmni::Types::PolicyTooLargeException] data
124
+ def initialize(context, message, data = Aws::EmptyStructure.new)
125
+ super(context, message, data)
126
+ end
127
+
128
+ # @return [String]
129
+ def message
130
+ @message || @data[:message]
131
+ end
132
+ end
133
+
118
134
  class ResourceNotFoundException < ServiceError
119
135
 
120
136
  # @param [Seahorse::Client::RequestContext] context
@@ -1396,6 +1396,23 @@ module Aws::CloudWatchOmni
1396
1396
  include Aws::Structure
1397
1397
  end
1398
1398
 
1399
+ # One requested scope: an explicit list of actions for one service. All
1400
+ # actions in an entry share one service prefix. The same service may
1401
+ # appear in more than one entry.
1402
+ #
1403
+ # @!attribute [rw] actions
1404
+ # The actions of one service, each with its service prefix, for
1405
+ # example "logs:StartQuery".
1406
+ # @return [Array<String>]
1407
+ #
1408
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudwatchomni-2025-01-01/DataAccessTarget AWS API Documentation
1409
+ #
1410
+ class DataAccessTarget < Struct.new(
1411
+ :actions)
1412
+ SENSITIVE = []
1413
+ include Aws::Structure
1414
+ end
1415
+
1399
1416
  # @!attribute [rw] grant_id
1400
1417
  # The ID of the access grant to delete.
1401
1418
  # @return [String]
@@ -2332,6 +2349,46 @@ module Aws::CloudWatchOmni
2332
2349
  include Aws::Structure
2333
2350
  end
2334
2351
 
2352
+ # @!attribute [rw] space_id
2353
+ # The unique ID of the space to return credentials for.
2354
+ # @return [String]
2355
+ #
2356
+ # @!attribute [rw] target_scopes
2357
+ # The actions to include in the credentials, grouped by service.
2358
+ # @return [Array<Types::DataAccessTarget>]
2359
+ #
2360
+ # @!attribute [rw] duration_seconds
2361
+ # The lifetime of the credentials, in seconds. Defaults to 3600.
2362
+ # @return [Integer]
2363
+ #
2364
+ # @!attribute [rw] audit_context
2365
+ # Caller-supplied key-value pairs that are recorded for auditing. They
2366
+ # do not affect authorization or the permissions of the credentials.
2367
+ # @return [Hash<String,String>]
2368
+ #
2369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudwatchomni-2025-01-01/GetSpaceDataAccessInput AWS API Documentation
2370
+ #
2371
+ class GetSpaceDataAccessInput < Struct.new(
2372
+ :space_id,
2373
+ :target_scopes,
2374
+ :duration_seconds,
2375
+ :audit_context)
2376
+ SENSITIVE = []
2377
+ include Aws::Structure
2378
+ end
2379
+
2380
+ # @!attribute [rw] credentials
2381
+ # The temporary AWS credentials for the space.
2382
+ # @return [Types::AwsCredentials]
2383
+ #
2384
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudwatchomni-2025-01-01/GetSpaceDataAccessOutput AWS API Documentation
2385
+ #
2386
+ class GetSpaceDataAccessOutput < Struct.new(
2387
+ :credentials)
2388
+ SENSITIVE = [:credentials]
2389
+ include Aws::Structure
2390
+ end
2391
+
2335
2392
  # @!attribute [rw] space_id
2336
2393
  # The unique ID of the space.
2337
2394
  # @return [String]
@@ -4099,6 +4156,21 @@ module Aws::CloudWatchOmni
4099
4156
  include Aws::Structure
4100
4157
  end
4101
4158
 
4159
+ # The requested actions produce a credential that exceeds the maximum
4160
+ # size. Request fewer actions.
4161
+ #
4162
+ # @!attribute [rw] message
4163
+ # A description of the error.
4164
+ # @return [String]
4165
+ #
4166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudwatchomni-2025-01-01/PolicyTooLargeException AWS API Documentation
4167
+ #
4168
+ class PolicyTooLargeException < Struct.new(
4169
+ :message)
4170
+ SENSITIVE = []
4171
+ include Aws::Structure
4172
+ end
4173
+
4102
4174
  # A user or group matched by SearchPrincipals.
4103
4175
  #
4104
4176
  # @!attribute [rw] principal_id
@@ -54,7 +54,7 @@ module Aws::CloudWatchOmni
54
54
  autoload :EndpointProvider, 'aws-sdk-cloudwatchomni/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-cloudwatchomni/endpoints'
56
56
 
57
- GEM_VERSION = '1.9.0'
57
+ GEM_VERSION = '1.10.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -583,6 +583,23 @@ module Aws
583
583
  ) -> _GetSpaceCredentialsForOrganizationResponseSuccess
584
584
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSpaceCredentialsForOrganizationResponseSuccess
585
585
 
586
+ interface _GetSpaceDataAccessResponseSuccess
587
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSpaceDataAccessOutput]
588
+ def credentials: () -> Types::AwsCredentials
589
+ end
590
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchOmni/Client.html#get_space_data_access-instance_method
591
+ def get_space_data_access: (
592
+ space_id: ::String,
593
+ target_scopes: Array[
594
+ {
595
+ actions: Array[::String]
596
+ }
597
+ ],
598
+ ?duration_seconds: ::Integer,
599
+ ?audit_context: Hash[::String, ::String]
600
+ ) -> _GetSpaceDataAccessResponseSuccess
601
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSpaceDataAccessResponseSuccess
602
+
586
603
  interface _GetTelemetryQueryResultsResponseSuccess
587
604
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryQueryResultsResponse]
588
605
  def status: () -> ("Running" | "Failed" | "Complete" | "Cancelled")
data/sig/errors.rbs CHANGED
@@ -25,6 +25,9 @@ module Aws
25
25
  def message: () -> ::String
26
26
  def error_code: () -> ::String
27
27
  end
28
+ class PolicyTooLargeException < ServiceError
29
+ def message: () -> ::String
30
+ end
28
31
  class ResourceNotFoundException < ServiceError
29
32
  def message: () -> ::String
30
33
  def resource_type: () -> ::String
data/sig/types.rbs CHANGED
@@ -354,6 +354,11 @@ module Aws::CloudWatchOmni
354
354
  SENSITIVE: []
355
355
  end
356
356
 
357
+ class DataAccessTarget
358
+ attr_accessor actions: ::Array[::String]
359
+ SENSITIVE: []
360
+ end
361
+
357
362
  class DeleteAccessGrantInput
358
363
  attr_accessor grant_id: ::String
359
364
  SENSITIVE: []
@@ -650,6 +655,19 @@ module Aws::CloudWatchOmni
650
655
  SENSITIVE: [:credentials]
651
656
  end
652
657
 
658
+ class GetSpaceDataAccessInput
659
+ attr_accessor space_id: ::String
660
+ attr_accessor target_scopes: ::Array[Types::DataAccessTarget]
661
+ attr_accessor duration_seconds: ::Integer
662
+ attr_accessor audit_context: ::Hash[::String, ::String]
663
+ SENSITIVE: []
664
+ end
665
+
666
+ class GetSpaceDataAccessOutput
667
+ attr_accessor credentials: Types::AwsCredentials
668
+ SENSITIVE: [:credentials]
669
+ end
670
+
653
671
  class GetSpaceInput
654
672
  attr_accessor space_id: ::String
655
673
  SENSITIVE: []
@@ -1132,6 +1150,11 @@ module Aws::CloudWatchOmni
1132
1150
  SENSITIVE: []
1133
1151
  end
1134
1152
 
1153
+ class PolicyTooLargeException
1154
+ attr_accessor message: ::String
1155
+ SENSITIVE: []
1156
+ end
1157
+
1135
1158
  class PrincipalSearchResult
1136
1159
  attr_accessor principal_id: ::String
1137
1160
  attr_accessor principal_type: ("USER" | "GROUP")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchomni
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.266.0
21
+ version: 3.267.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.266.0
31
+ version: 3.267.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement