aws-sdk-deadline 1.62.0 → 1.63.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-deadline/client.rb +106 -1
- data/lib/aws-sdk-deadline/client_api.rb +56 -0
- data/lib/aws-sdk-deadline/types.rb +114 -0
- data/lib/aws-sdk-deadline.rb +1 -1
- data/sig/client.rbs +16 -0
- data/sig/types.rbs +36 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c0d962d16a487f033b77bbb888a8e9d2c8f3f3d0d22ffa4054c3b95b905fcdcf
|
|
4
|
+
data.tar.gz: 2938c502887edfb62d8a6f69ad03913a0f93bbde260e9d7e7328afc6ea9064df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f86f29a344bd47b1e4ecdab3f42f5cef6b05029c191c1dd0ba80335c5b9836e23715348df84b0ca2fb42bc71c592ec199ebbaa8a46bc5ce81892f1bc61021497
|
|
7
|
+
data.tar.gz: 2ef1ab43aac06887c92dbebd751cc4ea9916c7373a6417133a1f2ad8fbe588b87d77bdc4499593a97b32273088dfab9885ac74389e4f5ba1467adf897d4d1754
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.63.0 (2026-10-09)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - The new ListMemberships API enables users to discover their memberships across Deadline Cloud resources, enabling scoped users of Deadline resources to discover and interact with the resources they have been provided scoped access to.
|
|
8
|
+
|
|
4
9
|
1.62.0 (2026-09-29)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.63.0
|
|
@@ -5522,6 +5522,111 @@ module Aws::Deadline
|
|
|
5522
5522
|
req.send_request(options)
|
|
5523
5523
|
end
|
|
5524
5524
|
|
|
5525
|
+
# Lists the Deadline Cloud resource memberships associated with a
|
|
5526
|
+
# specified IAM Identity Center principal, optionally filtered by the
|
|
5527
|
+
# requested resource types.
|
|
5528
|
+
#
|
|
5529
|
+
# @option params [String] :next_token
|
|
5530
|
+
# The token for the next set of results, or `null` to start from the
|
|
5531
|
+
# beginning.
|
|
5532
|
+
#
|
|
5533
|
+
# @option params [Integer] :max_results
|
|
5534
|
+
# The maximum number of results to return. Use this parameter with
|
|
5535
|
+
# `NextToken` to get results as a set of sequential pages.
|
|
5536
|
+
#
|
|
5537
|
+
# @option params [required, String] :principal_id
|
|
5538
|
+
# The ID of the IAM Identity Center principal whose Deadline Cloud
|
|
5539
|
+
# resource memberships you want to list.
|
|
5540
|
+
#
|
|
5541
|
+
# @option params [String] :identity_store_id
|
|
5542
|
+
# The identity store ID that contains the principal. This parameter is
|
|
5543
|
+
# required for callers that do not use a monitor session.
|
|
5544
|
+
#
|
|
5545
|
+
# @option params [String] :identity_center_region
|
|
5546
|
+
# The Region of the IAM Identity Center instance. If not provided, the
|
|
5547
|
+
# service defaults to the Amazon Web Services Region in which you make
|
|
5548
|
+
# the request.
|
|
5549
|
+
#
|
|
5550
|
+
# @option params [Array<String>] :resource_types
|
|
5551
|
+
# The resource types to include when listing the principal's
|
|
5552
|
+
# memberships. If not specified, memberships for all supported resource
|
|
5553
|
+
# types are returned.
|
|
5554
|
+
#
|
|
5555
|
+
# @return [Types::ListMembershipsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5556
|
+
#
|
|
5557
|
+
# * {Types::ListMembershipsResponse#memberships #memberships} => Array<Types::MembershipSummary>
|
|
5558
|
+
# * {Types::ListMembershipsResponse#next_token #next_token} => String
|
|
5559
|
+
#
|
|
5560
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
5561
|
+
#
|
|
5562
|
+
#
|
|
5563
|
+
# @example Example: List memberships using a cross-region identity store
|
|
5564
|
+
#
|
|
5565
|
+
# resp = client.list_memberships({
|
|
5566
|
+
# identity_center_region: "us-east-1",
|
|
5567
|
+
# identity_store_id: "d-1234567890",
|
|
5568
|
+
# principal_id: "12345678-1234-1234-1234-123456789abc",
|
|
5569
|
+
# resource_types: [
|
|
5570
|
+
# "QUEUE",
|
|
5571
|
+
# "JOB",
|
|
5572
|
+
# ],
|
|
5573
|
+
# })
|
|
5574
|
+
#
|
|
5575
|
+
# @example Example: List a Monitor user's memberships of every resource type
|
|
5576
|
+
#
|
|
5577
|
+
# resp = client.list_memberships({
|
|
5578
|
+
# principal_id: "12345678-1234-1234-1234-123456789abc",
|
|
5579
|
+
# })
|
|
5580
|
+
#
|
|
5581
|
+
# @example Request syntax with placeholder values
|
|
5582
|
+
#
|
|
5583
|
+
# resp = client.list_memberships({
|
|
5584
|
+
# next_token: "NextToken",
|
|
5585
|
+
# max_results: 1,
|
|
5586
|
+
# principal_id: "IdentityCenterPrincipalId", # required
|
|
5587
|
+
# identity_store_id: "IdentityStoreId",
|
|
5588
|
+
# identity_center_region: "Region",
|
|
5589
|
+
# resource_types: ["FARM"], # accepts FARM, QUEUE, FLEET, JOB
|
|
5590
|
+
# })
|
|
5591
|
+
#
|
|
5592
|
+
# @example Response structure
|
|
5593
|
+
#
|
|
5594
|
+
# resp.memberships #=> Array
|
|
5595
|
+
# resp.memberships[0].farm.farm_id #=> String
|
|
5596
|
+
# resp.memberships[0].farm.principal_id #=> String
|
|
5597
|
+
# resp.memberships[0].farm.principal_type #=> String, one of "USER", "GROUP"
|
|
5598
|
+
# resp.memberships[0].farm.identity_store_id #=> String
|
|
5599
|
+
# resp.memberships[0].farm.membership_level #=> String, one of "VIEWER", "CONTRIBUTOR", "OWNER", "MANAGER"
|
|
5600
|
+
# resp.memberships[0].queue.farm_id #=> String
|
|
5601
|
+
# resp.memberships[0].queue.queue_id #=> String
|
|
5602
|
+
# resp.memberships[0].queue.principal_id #=> String
|
|
5603
|
+
# resp.memberships[0].queue.principal_type #=> String, one of "USER", "GROUP"
|
|
5604
|
+
# resp.memberships[0].queue.identity_store_id #=> String
|
|
5605
|
+
# resp.memberships[0].queue.membership_level #=> String, one of "VIEWER", "CONTRIBUTOR", "OWNER", "MANAGER"
|
|
5606
|
+
# resp.memberships[0].fleet.farm_id #=> String
|
|
5607
|
+
# resp.memberships[0].fleet.fleet_id #=> String
|
|
5608
|
+
# resp.memberships[0].fleet.principal_id #=> String
|
|
5609
|
+
# resp.memberships[0].fleet.principal_type #=> String, one of "USER", "GROUP"
|
|
5610
|
+
# resp.memberships[0].fleet.identity_store_id #=> String
|
|
5611
|
+
# resp.memberships[0].fleet.membership_level #=> String, one of "VIEWER", "CONTRIBUTOR", "OWNER", "MANAGER"
|
|
5612
|
+
# resp.memberships[0].job.farm_id #=> String
|
|
5613
|
+
# resp.memberships[0].job.queue_id #=> String
|
|
5614
|
+
# resp.memberships[0].job.job_id #=> String
|
|
5615
|
+
# resp.memberships[0].job.principal_id #=> String
|
|
5616
|
+
# resp.memberships[0].job.principal_type #=> String, one of "USER", "GROUP"
|
|
5617
|
+
# resp.memberships[0].job.identity_store_id #=> String
|
|
5618
|
+
# resp.memberships[0].job.membership_level #=> String, one of "VIEWER", "CONTRIBUTOR", "OWNER", "MANAGER"
|
|
5619
|
+
# resp.next_token #=> String
|
|
5620
|
+
#
|
|
5621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListMemberships AWS API Documentation
|
|
5622
|
+
#
|
|
5623
|
+
# @overload list_memberships(params = {})
|
|
5624
|
+
# @param [Hash] params ({})
|
|
5625
|
+
def list_memberships(params = {}, options = {})
|
|
5626
|
+
req = build_request(:list_memberships, params)
|
|
5627
|
+
req.send_request(options)
|
|
5628
|
+
end
|
|
5629
|
+
|
|
5525
5630
|
# Lists metered products.
|
|
5526
5631
|
#
|
|
5527
5632
|
# @option params [required, String] :license_endpoint_id
|
|
@@ -8466,7 +8571,7 @@ module Aws::Deadline
|
|
|
8466
8571
|
tracer: tracer
|
|
8467
8572
|
)
|
|
8468
8573
|
context[:gem_name] = 'aws-sdk-deadline'
|
|
8469
|
-
context[:gem_version] = '1.
|
|
8574
|
+
context[:gem_version] = '1.63.0'
|
|
8470
8575
|
Seahorse::Client::Request.new(handlers, context)
|
|
8471
8576
|
end
|
|
8472
8577
|
|
|
@@ -429,6 +429,8 @@ module Aws::Deadline
|
|
|
429
429
|
ListLicenseEndpointsResponse = Shapes::StructureShape.new(name: 'ListLicenseEndpointsResponse')
|
|
430
430
|
ListLimitsRequest = Shapes::StructureShape.new(name: 'ListLimitsRequest')
|
|
431
431
|
ListLimitsResponse = Shapes::StructureShape.new(name: 'ListLimitsResponse')
|
|
432
|
+
ListMembershipsRequest = Shapes::StructureShape.new(name: 'ListMembershipsRequest')
|
|
433
|
+
ListMembershipsResponse = Shapes::StructureShape.new(name: 'ListMembershipsResponse')
|
|
432
434
|
ListMeteredProductsRequest = Shapes::StructureShape.new(name: 'ListMeteredProductsRequest')
|
|
433
435
|
ListMeteredProductsResponse = Shapes::StructureShape.new(name: 'ListMeteredProductsResponse')
|
|
434
436
|
ListMonitorsRequest = Shapes::StructureShape.new(name: 'ListMonitorsRequest')
|
|
@@ -487,6 +489,10 @@ module Aws::Deadline
|
|
|
487
489
|
MaxRetriesPerTask = Shapes::IntegerShape.new(name: 'MaxRetriesPerTask')
|
|
488
490
|
MaxWorkerCount = Shapes::IntegerShape.new(name: 'MaxWorkerCount')
|
|
489
491
|
MembershipLevel = Shapes::StringShape.new(name: 'MembershipLevel')
|
|
492
|
+
MembershipResourceType = Shapes::StringShape.new(name: 'MembershipResourceType')
|
|
493
|
+
MembershipResourceTypes = Shapes::ListShape.new(name: 'MembershipResourceTypes')
|
|
494
|
+
MembershipSummaries = Shapes::ListShape.new(name: 'MembershipSummaries')
|
|
495
|
+
MembershipSummary = Shapes::UnionShape.new(name: 'MembershipSummary')
|
|
490
496
|
MemoryAmountMiB = Shapes::IntegerShape.new(name: 'MemoryAmountMiB')
|
|
491
497
|
MemoryMiBRange = Shapes::StructureShape.new(name: 'MemoryMiBRange')
|
|
492
498
|
MeteredProductId = Shapes::StringShape.new(name: 'MeteredProductId')
|
|
@@ -2537,6 +2543,18 @@ module Aws::Deadline
|
|
|
2537
2543
|
ListLimitsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
2538
2544
|
ListLimitsResponse.struct_class = Types::ListLimitsResponse
|
|
2539
2545
|
|
|
2546
|
+
ListMembershipsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
2547
|
+
ListMembershipsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
2548
|
+
ListMembershipsRequest.add_member(:principal_id, Shapes::ShapeRef.new(shape: IdentityCenterPrincipalId, required: true, location: "querystring", location_name: "principalId"))
|
|
2549
|
+
ListMembershipsRequest.add_member(:identity_store_id, Shapes::ShapeRef.new(shape: IdentityStoreId, location: "querystring", location_name: "identityStoreId"))
|
|
2550
|
+
ListMembershipsRequest.add_member(:identity_center_region, Shapes::ShapeRef.new(shape: Region, location: "querystring", location_name: "identityCenterRegion"))
|
|
2551
|
+
ListMembershipsRequest.add_member(:resource_types, Shapes::ShapeRef.new(shape: MembershipResourceTypes, location: "querystring", location_name: "resourceTypes"))
|
|
2552
|
+
ListMembershipsRequest.struct_class = Types::ListMembershipsRequest
|
|
2553
|
+
|
|
2554
|
+
ListMembershipsResponse.add_member(:memberships, Shapes::ShapeRef.new(shape: MembershipSummaries, required: true, location_name: "memberships"))
|
|
2555
|
+
ListMembershipsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
2556
|
+
ListMembershipsResponse.struct_class = Types::ListMembershipsResponse
|
|
2557
|
+
|
|
2540
2558
|
ListMeteredProductsRequest.add_member(:license_endpoint_id, Shapes::ShapeRef.new(shape: LicenseEndpointId, required: true, location: "uri", location_name: "licenseEndpointId"))
|
|
2541
2559
|
ListMeteredProductsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
2542
2560
|
ListMeteredProductsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
@@ -2758,6 +2776,22 @@ module Aws::Deadline
|
|
|
2758
2776
|
|
|
2759
2777
|
ManifestPropertiesList.member = Shapes::ShapeRef.new(shape: ManifestProperties)
|
|
2760
2778
|
|
|
2779
|
+
MembershipResourceTypes.member = Shapes::ShapeRef.new(shape: MembershipResourceType)
|
|
2780
|
+
|
|
2781
|
+
MembershipSummaries.member = Shapes::ShapeRef.new(shape: MembershipSummary)
|
|
2782
|
+
|
|
2783
|
+
MembershipSummary.add_member(:farm, Shapes::ShapeRef.new(shape: FarmMember, location_name: "farm"))
|
|
2784
|
+
MembershipSummary.add_member(:queue, Shapes::ShapeRef.new(shape: QueueMember, location_name: "queue"))
|
|
2785
|
+
MembershipSummary.add_member(:fleet, Shapes::ShapeRef.new(shape: FleetMember, location_name: "fleet"))
|
|
2786
|
+
MembershipSummary.add_member(:job, Shapes::ShapeRef.new(shape: JobMember, location_name: "job"))
|
|
2787
|
+
MembershipSummary.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2788
|
+
MembershipSummary.add_member_subclass(:farm, Types::MembershipSummary::Farm)
|
|
2789
|
+
MembershipSummary.add_member_subclass(:queue, Types::MembershipSummary::Queue)
|
|
2790
|
+
MembershipSummary.add_member_subclass(:fleet, Types::MembershipSummary::Fleet)
|
|
2791
|
+
MembershipSummary.add_member_subclass(:job, Types::MembershipSummary::Job)
|
|
2792
|
+
MembershipSummary.add_member_subclass(:unknown, Types::MembershipSummary::Unknown)
|
|
2793
|
+
MembershipSummary.struct_class = Types::MembershipSummary
|
|
2794
|
+
|
|
2761
2795
|
MemoryMiBRange.add_member(:min, Shapes::ShapeRef.new(shape: MemoryAmountMiB, required: true, location_name: "min"))
|
|
2762
2796
|
MemoryMiBRange.add_member(:max, Shapes::ShapeRef.new(shape: MemoryAmountMiB, location_name: "max"))
|
|
2763
2797
|
MemoryMiBRange.struct_class = Types::MemoryMiBRange
|
|
@@ -5126,6 +5160,28 @@ module Aws::Deadline
|
|
|
5126
5160
|
)
|
|
5127
5161
|
end)
|
|
5128
5162
|
|
|
5163
|
+
api.add_operation(:list_memberships, Seahorse::Model::Operation.new.tap do |o|
|
|
5164
|
+
o.name = "ListMemberships"
|
|
5165
|
+
o.http_method = "GET"
|
|
5166
|
+
o.http_request_uri = "/2023-10-12/memberships"
|
|
5167
|
+
o.endpoint_pattern = {
|
|
5168
|
+
"hostPrefix" => "management.",
|
|
5169
|
+
}
|
|
5170
|
+
o.input = Shapes::ShapeRef.new(shape: ListMembershipsRequest)
|
|
5171
|
+
o.output = Shapes::ShapeRef.new(shape: ListMembershipsResponse)
|
|
5172
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
5173
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
5174
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
5175
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
5176
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
5177
|
+
o[:pager] = Aws::Pager.new(
|
|
5178
|
+
limit_key: "max_results",
|
|
5179
|
+
tokens: {
|
|
5180
|
+
"next_token" => "next_token"
|
|
5181
|
+
}
|
|
5182
|
+
)
|
|
5183
|
+
end)
|
|
5184
|
+
|
|
5129
5185
|
api.add_operation(:list_metered_products, Seahorse::Model::Operation.new.tap do |o|
|
|
5130
5186
|
o.name = "ListMeteredProducts"
|
|
5131
5187
|
o.http_method = "GET"
|
|
@@ -8096,6 +8096,79 @@ module Aws::Deadline
|
|
|
8096
8096
|
include Aws::Structure
|
|
8097
8097
|
end
|
|
8098
8098
|
|
|
8099
|
+
# Shared pagination fields for List operation inputs (nextToken +
|
|
8100
|
+
# maxResults).
|
|
8101
|
+
#
|
|
8102
|
+
# @!attribute [rw] next_token
|
|
8103
|
+
# The token for the next set of results, or `null` to start from the
|
|
8104
|
+
# beginning.
|
|
8105
|
+
# @return [String]
|
|
8106
|
+
#
|
|
8107
|
+
# @!attribute [rw] max_results
|
|
8108
|
+
# The maximum number of results to return. Use this parameter with
|
|
8109
|
+
# `NextToken` to get results as a set of sequential pages.
|
|
8110
|
+
# @return [Integer]
|
|
8111
|
+
#
|
|
8112
|
+
# @!attribute [rw] principal_id
|
|
8113
|
+
# The ID of the IAM Identity Center principal whose Deadline Cloud
|
|
8114
|
+
# resource memberships you want to list.
|
|
8115
|
+
# @return [String]
|
|
8116
|
+
#
|
|
8117
|
+
# @!attribute [rw] identity_store_id
|
|
8118
|
+
# The identity store ID that contains the principal. This parameter is
|
|
8119
|
+
# required for callers that do not use a monitor session.
|
|
8120
|
+
# @return [String]
|
|
8121
|
+
#
|
|
8122
|
+
# @!attribute [rw] identity_center_region
|
|
8123
|
+
# The Region of the IAM Identity Center instance. If not provided, the
|
|
8124
|
+
# service defaults to the Amazon Web Services Region in which you make
|
|
8125
|
+
# the request.
|
|
8126
|
+
# @return [String]
|
|
8127
|
+
#
|
|
8128
|
+
# @!attribute [rw] resource_types
|
|
8129
|
+
# The resource types to include when listing the principal's
|
|
8130
|
+
# memberships. If not specified, memberships for all supported
|
|
8131
|
+
# resource types are returned.
|
|
8132
|
+
# @return [Array<String>]
|
|
8133
|
+
#
|
|
8134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListMembershipsRequest AWS API Documentation
|
|
8135
|
+
#
|
|
8136
|
+
class ListMembershipsRequest < Struct.new(
|
|
8137
|
+
:next_token,
|
|
8138
|
+
:max_results,
|
|
8139
|
+
:principal_id,
|
|
8140
|
+
:identity_store_id,
|
|
8141
|
+
:identity_center_region,
|
|
8142
|
+
:resource_types)
|
|
8143
|
+
SENSITIVE = []
|
|
8144
|
+
include Aws::Structure
|
|
8145
|
+
end
|
|
8146
|
+
|
|
8147
|
+
# Shared pagination field for List operation outputs (nextToken).
|
|
8148
|
+
#
|
|
8149
|
+
# @!attribute [rw] memberships
|
|
8150
|
+
# The memberships associated with the specified principal.
|
|
8151
|
+
# @return [Array<Types::MembershipSummary>]
|
|
8152
|
+
#
|
|
8153
|
+
# @!attribute [rw] next_token
|
|
8154
|
+
# If Deadline Cloud returns `nextToken`, then there are more results
|
|
8155
|
+
# available. The value of `nextToken` is a unique pagination token for
|
|
8156
|
+
# each page. To retrieve the next page, call the operation again using
|
|
8157
|
+
# the returned token. Keep all other arguments unchanged. If no
|
|
8158
|
+
# results remain, then `nextToken` is set to `null`. Each pagination
|
|
8159
|
+
# token expires after 24 hours. If you provide a token that isn't
|
|
8160
|
+
# valid, then you receive an HTTP 400 `ValidationException` error.
|
|
8161
|
+
# @return [String]
|
|
8162
|
+
#
|
|
8163
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListMembershipsResponse AWS API Documentation
|
|
8164
|
+
#
|
|
8165
|
+
class ListMembershipsResponse < Struct.new(
|
|
8166
|
+
:memberships,
|
|
8167
|
+
:next_token)
|
|
8168
|
+
SENSITIVE = []
|
|
8169
|
+
include Aws::Structure
|
|
8170
|
+
end
|
|
8171
|
+
|
|
8099
8172
|
# Shared pagination fields for List operation inputs (nextToken +
|
|
8100
8173
|
# maxResults).
|
|
8101
8174
|
#
|
|
@@ -9275,6 +9348,47 @@ module Aws::Deadline
|
|
|
9275
9348
|
include Aws::Structure
|
|
9276
9349
|
end
|
|
9277
9350
|
|
|
9351
|
+
# A membership record for a principal on a single Deadline Cloud
|
|
9352
|
+
# resource. The summary identifies the resource that the principal is a
|
|
9353
|
+
# member of and the principal's membership level for that resource.
|
|
9354
|
+
#
|
|
9355
|
+
# @note MembershipSummary is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of MembershipSummary corresponding to the set member.
|
|
9356
|
+
#
|
|
9357
|
+
# @!attribute [rw] farm
|
|
9358
|
+
# A membership on a farm.
|
|
9359
|
+
# @return [Types::FarmMember]
|
|
9360
|
+
#
|
|
9361
|
+
# @!attribute [rw] queue
|
|
9362
|
+
# A membership on a queue.
|
|
9363
|
+
# @return [Types::QueueMember]
|
|
9364
|
+
#
|
|
9365
|
+
# @!attribute [rw] fleet
|
|
9366
|
+
# A membership on a fleet.
|
|
9367
|
+
# @return [Types::FleetMember]
|
|
9368
|
+
#
|
|
9369
|
+
# @!attribute [rw] job
|
|
9370
|
+
# A membership on a job.
|
|
9371
|
+
# @return [Types::JobMember]
|
|
9372
|
+
#
|
|
9373
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/MembershipSummary AWS API Documentation
|
|
9374
|
+
#
|
|
9375
|
+
class MembershipSummary < Struct.new(
|
|
9376
|
+
:farm,
|
|
9377
|
+
:queue,
|
|
9378
|
+
:fleet,
|
|
9379
|
+
:job,
|
|
9380
|
+
:unknown)
|
|
9381
|
+
SENSITIVE = []
|
|
9382
|
+
include Aws::Structure
|
|
9383
|
+
include Aws::Structure::Union
|
|
9384
|
+
|
|
9385
|
+
class Farm < MembershipSummary; end
|
|
9386
|
+
class Queue < MembershipSummary; end
|
|
9387
|
+
class Fleet < MembershipSummary; end
|
|
9388
|
+
class Job < MembershipSummary; end
|
|
9389
|
+
class Unknown < MembershipSummary; end
|
|
9390
|
+
end
|
|
9391
|
+
|
|
9278
9392
|
# The range of memory in MiB.
|
|
9279
9393
|
#
|
|
9280
9394
|
# @!attribute [rw] min
|
data/lib/aws-sdk-deadline.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1456,6 +1456,22 @@ module Aws
|
|
|
1456
1456
|
) -> _ListLimitsResponseSuccess
|
|
1457
1457
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLimitsResponseSuccess
|
|
1458
1458
|
|
|
1459
|
+
interface _ListMembershipsResponseSuccess
|
|
1460
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMembershipsResponse]
|
|
1461
|
+
def memberships: () -> ::Array[Types::MembershipSummary]
|
|
1462
|
+
def next_token: () -> ::String
|
|
1463
|
+
end
|
|
1464
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Deadline/Client.html#list_memberships-instance_method
|
|
1465
|
+
def list_memberships: (
|
|
1466
|
+
?next_token: ::String,
|
|
1467
|
+
?max_results: ::Integer,
|
|
1468
|
+
principal_id: ::String,
|
|
1469
|
+
?identity_store_id: ::String,
|
|
1470
|
+
?identity_center_region: ::String,
|
|
1471
|
+
?resource_types: Array[("FARM" | "QUEUE" | "FLEET" | "JOB")]
|
|
1472
|
+
) -> _ListMembershipsResponseSuccess
|
|
1473
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMembershipsResponseSuccess
|
|
1474
|
+
|
|
1459
1475
|
interface _ListMeteredProductsResponseSuccess
|
|
1460
1476
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListMeteredProductsResponse]
|
|
1461
1477
|
def metered_products: () -> ::Array[Types::MeteredProductSummary]
|
data/sig/types.rbs
CHANGED
|
@@ -2137,6 +2137,22 @@ module Aws::Deadline
|
|
|
2137
2137
|
SENSITIVE: []
|
|
2138
2138
|
end
|
|
2139
2139
|
|
|
2140
|
+
class ListMembershipsRequest
|
|
2141
|
+
attr_accessor next_token: ::String
|
|
2142
|
+
attr_accessor max_results: ::Integer
|
|
2143
|
+
attr_accessor principal_id: ::String
|
|
2144
|
+
attr_accessor identity_store_id: ::String
|
|
2145
|
+
attr_accessor identity_center_region: ::String
|
|
2146
|
+
attr_accessor resource_types: ::Array[("FARM" | "QUEUE" | "FLEET" | "JOB")]
|
|
2147
|
+
SENSITIVE: []
|
|
2148
|
+
end
|
|
2149
|
+
|
|
2150
|
+
class ListMembershipsResponse
|
|
2151
|
+
attr_accessor memberships: ::Array[Types::MembershipSummary]
|
|
2152
|
+
attr_accessor next_token: ::String
|
|
2153
|
+
SENSITIVE: []
|
|
2154
|
+
end
|
|
2155
|
+
|
|
2140
2156
|
class ListMeteredProductsRequest
|
|
2141
2157
|
attr_accessor license_endpoint_id: ::String
|
|
2142
2158
|
attr_accessor next_token: ::String
|
|
@@ -2428,6 +2444,26 @@ module Aws::Deadline
|
|
|
2428
2444
|
SENSITIVE: []
|
|
2429
2445
|
end
|
|
2430
2446
|
|
|
2447
|
+
class MembershipSummary
|
|
2448
|
+
attr_accessor farm: Types::FarmMember
|
|
2449
|
+
attr_accessor queue: Types::QueueMember
|
|
2450
|
+
attr_accessor fleet: Types::FleetMember
|
|
2451
|
+
attr_accessor job: Types::JobMember
|
|
2452
|
+
attr_accessor unknown: untyped
|
|
2453
|
+
SENSITIVE: []
|
|
2454
|
+
|
|
2455
|
+
class Farm < MembershipSummary
|
|
2456
|
+
end
|
|
2457
|
+
class Queue < MembershipSummary
|
|
2458
|
+
end
|
|
2459
|
+
class Fleet < MembershipSummary
|
|
2460
|
+
end
|
|
2461
|
+
class Job < MembershipSummary
|
|
2462
|
+
end
|
|
2463
|
+
class Unknown < MembershipSummary
|
|
2464
|
+
end
|
|
2465
|
+
end
|
|
2466
|
+
|
|
2431
2467
|
class MemoryMiBRange
|
|
2432
2468
|
attr_accessor min: ::Integer
|
|
2433
2469
|
attr_accessor max: ::Integer
|