Skip to content

Commit e52fdfe

Browse files
author
AWS
committed
AWS Resource Access Manager Update: AWS Resource Access Manager (RAM) is releasing new field isResourceTypeDefault in ListPermissions and GetPermission response, and adding permissionArn parameter to GetResourceShare request to filter by permission attached
1 parent 6164711 commit e52fdfe

File tree

3 files changed

+52
-8
lines changed

3 files changed

+52
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Resource Access Manager",
4+
"contributor": "",
5+
"description": "AWS Resource Access Manager (RAM) is releasing new field isResourceTypeDefault in ListPermissions and GetPermission response, and adding permissionArn parameter to GetResourceShare request to filter by permission attached"
6+
}

services/ram/src/main/resources/codegen-resources/paginators-1.json

+15
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,26 @@
2525
"output_token": "nextToken",
2626
"limit_key": "maxResults"
2727
},
28+
"ListPermissions": {
29+
"input_token": "nextToken",
30+
"output_token": "nextToken",
31+
"limit_key": "maxResults"
32+
},
2833
"ListPrincipals": {
2934
"input_token": "nextToken",
3035
"output_token": "nextToken",
3136
"limit_key": "maxResults"
3237
},
38+
"ListResourceSharePermissions": {
39+
"input_token": "nextToken",
40+
"output_token": "nextToken",
41+
"limit_key": "maxResults"
42+
},
43+
"ListResourceTypes": {
44+
"input_token": "nextToken",
45+
"output_token": "nextToken",
46+
"limit_key": "maxResults"
47+
},
3348
"ListResources": {
3449
"input_token": "nextToken",
3550
"output_token": "nextToken",

services/ram/src/main/resources/codegen-resources/service-2.json

+31-8
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@
158158
{"shape":"InvalidClientTokenException"},
159159
{"shape":"ServerInternalException"},
160160
{"shape":"ServiceUnavailableException"},
161-
{"shape":"OperationNotPermittedException"}
161+
{"shape":"OperationNotPermittedException"},
162+
{"shape":"InvalidStateTransitionException"}
162163
],
163164
"documentation":"<p>Disassociates an AWS RAM permission from a resource share.</p>"
164165
},
@@ -250,7 +251,7 @@
250251
{"shape":"ServerInternalException"},
251252
{"shape":"ServiceUnavailableException"}
252253
],
253-
"documentation":"<p>Gets the invitations for resource sharing that you've received.</p>"
254+
"documentation":"<p>Gets the invitations that you have received for resource shares.</p>"
254255
},
255256
"GetResourceShares":{
256257
"name":"GetResourceShares",
@@ -390,6 +391,7 @@
390391
"output":{"shape":"PromoteResourceShareCreatedFromPolicyResponse"},
391392
"errors":[
392393
{"shape":"MalformedArnException"},
394+
{"shape":"ResourceShareLimitExceededException"},
393395
{"shape":"OperationNotPermittedException"},
394396
{"shape":"InvalidParameterException"},
395397
{"shape":"MissingRequiredParameterException"},
@@ -432,6 +434,7 @@
432434
"errors":[
433435
{"shape":"InvalidParameterException"},
434436
{"shape":"MalformedArnException"},
437+
{"shape":"UnknownResourceException"},
435438
{"shape":"TagLimitExceededException"},
436439
{"shape":"ResourceArnNotFoundException"},
437440
{"shape":"TagPolicyViolationException"},
@@ -518,7 +521,7 @@
518521
},
519522
"permissionArn":{
520523
"shape":"String",
521-
"documentation":"<p>The ARN of the AWS RAM permission to associate with the resource share.</p>"
524+
"documentation":"<p>The Amazon Resource Name (ARN) of the AWS RAM permissions to associate with the resource share.</p>"
522525
},
523526
"replace":{
524527
"shape":"Boolean",
@@ -527,6 +530,10 @@
527530
"clientToken":{
528531
"shape":"String",
529532
"documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
533+
},
534+
"permissionVersion":{
535+
"shape":"Integer",
536+
"documentation":"<p>The version of the AWS RAM permissions to associate with the resource share.</p>"
530537
}
531538
}
532539
},
@@ -886,7 +893,7 @@
886893
"members":{
887894
"resourceShareArns":{
888895
"shape":"ResourceShareArnList",
889-
"documentation":"<p>The Amazon Resource Names (ARN) of the resource shares.</p>"
896+
"documentation":"<p>The ARNs of the resource shares.</p>"
890897
},
891898
"resourceShareStatus":{
892899
"shape":"ResourceShareStatus",
@@ -911,6 +918,10 @@
911918
"maxResults":{
912919
"shape":"MaxResults",
913920
"documentation":"<p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
921+
},
922+
"permissionArn":{
923+
"shape":"String",
924+
"documentation":"<p>The Amazon Resource Name (ARN) of the AWS RAM permission that is associated with the resource share.</p>"
914925
}
915926
}
916927
},
@@ -1077,7 +1088,7 @@
10771088
},
10781089
"resourceType":{
10791090
"shape":"String",
1080-
"documentation":"<p>The resource type.</p> <p>Valid values: <code>acm-pca:CertificateAuthority</code> | <code>appmesh:Mesh</code> | <code>codebuild:Project</code> | <code>codebuild:ReportGroup</code> | <code>ec2:CapacityReservation</code> | <code>ec2:DedicatedHost</code> | <code>ec2:LocalGatewayRouteTable</code> | <code>ec2:PrefixList</code> | <code>ec2:Subnet</code> | <code>ec2:TrafficMirrorTarget</code> | <code>ec2:TransitGateway</code> | <code>imagebuilder:Component</code> | <code>imagebuilder:Image</code> | <code>imagebuilder:ImageRecipe</code> | <code>imagebuilder:ContainerRecipe</code> | <code>glue:Catalog</code> | <code>glue:Database</code> | <code>glue:Table</code> | <code>license-manager:LicenseConfiguration</code> I <code>network-firewall:FirewallPolicy</code> | <code>network-firewall:StatefulRuleGroup</code> | <code>network-firewall:StatelessRuleGroup</code> | <code>outposts:Outpost</code> | <code>resource-groups:Group</code> | <code>rds:Cluster</code> | <code>route53resolver:FirewallRuleGroup</code> |<code>route53resolver:ResolverQueryLogConfig</code> | <code>route53resolver:ResolverRule</code> </p>"
1091+
"documentation":"<p>The resource type.</p> <p>Valid values: <code>acm-pca:CertificateAuthority</code> | <code>appmesh:Mesh</code> | <code>codebuild:Project</code> | <code>codebuild:ReportGroup</code> | <code>ec2:CapacityReservation</code> | <code>ec2:DedicatedHost</code> | <code>ec2:LocalGatewayRouteTable</code> | <code>ec2:PrefixList</code> | <code>ec2:Subnet</code> | <code>ec2:TrafficMirrorTarget</code> | <code>ec2:TransitGateway</code> | <code>imagebuilder:Component</code> | <code>imagebuilder:Image</code> | <code>imagebuilder:ImageRecipe</code> | <code>imagebuilder:ContainerRecipe</code> | <code>glue:Catalog</code> | <code>glue:Database</code> | <code>glue:Table</code> | <code>license-manager:LicenseConfiguration</code> I <code>network-firewall:FirewallPolicy</code> | <code>network-firewall:StatefulRuleGroup</code> | <code>network-firewall:StatelessRuleGroup</code> | <code>outposts:Outpost</code> | <code>resource-groups:Group</code> | <code>rds:Cluster</code> | <code>route53resolver:ResolverQueryLogConfig</code> | <code>route53resolver:ResolverRule</code> </p>"
10811092
},
10821093
"resourceShareArns":{
10831094
"shape":"ResourceShareArnList",
@@ -1177,7 +1188,7 @@
11771188
},
11781189
"resourceType":{
11791190
"shape":"String",
1180-
"documentation":"<p>The resource type.</p> <p>Valid values: <code>acm-pca:CertificateAuthority</code> | <code>appmesh:Mesh</code> | <code>codebuild:Project</code> | <code>codebuild:ReportGroup</code> | <code>ec2:CapacityReservation</code> | <code>ec2:DedicatedHost</code> | <code>ec2:LocalGatewayRouteTable</code> | <code>ec2:PrefixList</code> | <code>ec2:Subnet</code> | <code>ec2:TrafficMirrorTarget</code> | <code>ec2:TransitGateway</code> | <code>imagebuilder:Component</code> | <code>imagebuilder:Image</code> | <code>imagebuilder:ImageRecipe</code> | <code>imagebuilder:ContainerRecipe</code> | <code>glue:Catalog</code> | <code>glue:Database</code> | <code>glue:Table</code> | <code>license-manager:LicenseConfiguration</code> I <code>network-firewall:FirewallPolicy</code> | <code>network-firewall:StatefulRuleGroup</code> | <code>network-firewall:StatelessRuleGroup</code> | <code>outposts:Outpost</code> | <code>resource-groups:Group</code> | <code>rds:Cluster</code> | <code>route53resolver:FirewallRuleGroup</code> |<code>route53resolver:ResolverQueryLogConfig</code> | <code>route53resolver:ResolverRule</code> </p>"
1191+
"documentation":"<p>The resource type.</p> <p>Valid values: <code>acm-pca:CertificateAuthority</code> | <code>appmesh:Mesh</code> | <code>codebuild:Project</code> | <code>codebuild:ReportGroup</code> | <code>ec2:CapacityReservation</code> | <code>ec2:DedicatedHost</code> | <code>ec2:LocalGatewayRouteTable</code> | <code>ec2:PrefixList</code> | <code>ec2:Subnet</code> | <code>ec2:TrafficMirrorTarget</code> | <code>ec2:TransitGateway</code> | <code>imagebuilder:Component</code> | <code>imagebuilder:Image</code> | <code>imagebuilder:ImageRecipe</code> | <code>imagebuilder:ContainerRecipe</code> | <code>glue:Catalog</code> | <code>glue:Database</code> | <code>glue:Table</code> | <code>license-manager:LicenseConfiguration</code> I <code>network-firewall:FirewallPolicy</code> | <code>network-firewall:StatefulRuleGroup</code> | <code>network-firewall:StatelessRuleGroup</code> | <code>outposts:Outpost</code> | <code>resource-groups:Group</code> | <code>rds:Cluster</code> | <code>route53resolver:ResolverQueryLogConfig</code> | <code>route53resolver:ResolverRule</code> </p>"
11811192
},
11821193
"resourceArns":{
11831194
"shape":"ResourceArnList",
@@ -1556,6 +1567,10 @@
15561567
"documentation":"<p>To view the resources associated with a pending resource share invitation, use <a href=\"https://docs.aws.amazon.com/ram/latest/APIReference/API_ListPendingInvitationResources.html\"> ListPendingInvitationResources</a>.</p>",
15571568
"deprecated":true,
15581569
"deprecatedMessage":"This member has been deprecated. Use ListPendingInvitationResources."
1570+
},
1571+
"receiverArn":{
1572+
"shape":"String",
1573+
"documentation":"<p>The Amazon Resource Name (ARN) of the IAM user or IAM role that received the invitation.</p>"
15591574
}
15601575
},
15611576
"documentation":"<p>Describes an invitation to join a resource share.</p>"
@@ -1644,7 +1659,7 @@
16441659
},
16451660
"defaultVersion":{
16461661
"shape":"Boolean",
1647-
"documentation":"<p>The identifier for the version of the permission that is set as the default version.</p>"
1662+
"documentation":"<p>Specifies whether the version of the permission is set to the default version for this permission.</p>"
16481663
},
16491664
"name":{
16501665
"shape":"String",
@@ -1665,6 +1680,10 @@
16651680
"lastUpdatedTime":{
16661681
"shape":"DateTime",
16671682
"documentation":"<p>The date and time when the permission was last updated.</p>"
1683+
},
1684+
"isResourceTypeDefault":{
1685+
"shape":"Boolean",
1686+
"documentation":"<p>Specifies whether the version of the permission is set to the default version for this resource type.</p>"
16681687
}
16691688
},
16701689
"documentation":"<p>Information about an AWS RAM permission.</p>"
@@ -1686,7 +1705,7 @@
16861705
},
16871706
"defaultVersion":{
16881707
"shape":"Boolean",
1689-
"documentation":"<p>The identifier for the version of the permission that is set as the default version.</p>"
1708+
"documentation":"<p>Specifies whether the version of the permission is set to the default version for this permission.</p>"
16901709
},
16911710
"name":{
16921711
"shape":"String",
@@ -1707,6 +1726,10 @@
17071726
"lastUpdatedTime":{
17081727
"shape":"DateTime",
17091728
"documentation":"<p>The date and time when the permission was last updated.</p>"
1729+
},
1730+
"isResourceTypeDefault":{
1731+
"shape":"Boolean",
1732+
"documentation":"<p>Specifies whether the version of the permission is set to the default version for this resource type.</p>"
17101733
}
17111734
},
17121735
"documentation":"<p>Information about a permission that is associated with a resource share.</p>"

0 commit comments

Comments
 (0)