Skip to content

Commit 3690015

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: Support added for AMI sharing with organizations and organizational units in ModifyImageAttribute API
1 parent bd90ffe commit 3690015

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic Compute Cloud",
4+
"contributor": "",
5+
"description": "Support added for AMI sharing with organizations and organizational units in ModifyImageAttribute API"
6+
}

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

+38-4
Original file line numberDiff line numberDiff line change
@@ -16079,7 +16079,7 @@
1607916079
"members":{
1608016080
"ExecutableUsers":{
1608116081
"shape":"ExecutableByStringList",
16082-
"documentation":"<p>Scopes the images by users with explicit launch permissions. Specify an Amazon Web Services account ID, <code>self</code> (the sender of the request), or <code>all</code> (public AMIs).</p>",
16082+
"documentation":"<p>Scopes the images by users with explicit launch permissions. Specify an Amazon Web Services account ID, <code>self</code> (the sender of the request), or <code>all</code> (public AMIs).</p> <ul> <li> <p>If you specify an Amazon Web Services account ID that is not your own, only AMIs shared with that specific Amazon Web Services account ID are returned. However, AMIs that are shared with the account’s organization or organizational unit (OU) are not returned.</p> </li> <li> <p>If you specify <code>self</code> or your own Amazon Web Services account ID, AMIs shared with your account are returned. In addition, AMIs that are shared with the organization or OU of which you are member are also returned. </p> </li> <li> <p>If you specify <code>all</code>, all public AMIs are returned.</p> </li> </ul>",
1608316083
"locationName":"ExecutableBy"
1608416084
},
1608516085
"Filters":{
@@ -27753,7 +27753,7 @@
2775327753
},
2775427754
"ExcludedInstanceTypes":{
2775527755
"shape":"ExcludedInstanceTypeSet",
27756-
"documentation":"<p>The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (<code>*</code>), to exclude an instance type, size, or generation. The following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>, <code>r*</code>, <code>*3*</code>.</p> <p>For example, if you specify <code>c5*.*</code>, Amazon EC2 will exclude the entire C5 instance family (all C5a and C5n instance types). If you specify <code>c5a.*</code>, Amazon EC2 excludes all the C5a instance types, but does not exclude the C5n instance types.</p> <p>Default: No excluded instance types</p>",
27756+
"documentation":"<p>The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (<code>*</code>), to exclude an instance type, size, or generation. The following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>, <code>r*</code>, <code>*3*</code>.</p> <p>For example, if you specify <code>c5*</code>,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify <code>m5a.*</code>, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.</p> <p>Default: No excluded instance types</p>",
2775727757
"locationName":"excludedInstanceTypeSet"
2775827758
},
2775927759
"InstanceGenerations":{
@@ -27865,7 +27865,7 @@
2786527865
},
2786627866
"ExcludedInstanceTypes":{
2786727867
"shape":"ExcludedInstanceTypeSet",
27868-
"documentation":"<p>The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (<code>*</code>), to exclude an instance family, type, size, or generation. The following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>, <code>r*</code>, <code>*3*</code>.</p> <p>For example, if you specify <code>c5*.*</code>, Amazon EC2 will exclude the entire C5 instance family (all C5a and C5n instance types). If you specify <code>c5a.*</code>, Amazon EC2 excludes all the C5a instance types, but does not exclude the C5n instance types.</p> <p>Default: No excluded instance types</p>",
27868+
"documentation":"<p>The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (<code>*</code>), to exclude an instance family, type, size, or generation. The following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>, <code>r*</code>, <code>*3*</code>.</p> <p>For example, if you specify <code>c5*</code>,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify <code>m5a.*</code>, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.</p> <p>Default: No excluded instance types</p>",
2786927869
"locationName":"ExcludedInstanceType"
2787027870
},
2787127871
"InstanceGenerations":{
@@ -29413,6 +29413,16 @@
2941329413
"shape":"String",
2941429414
"documentation":"<p>The Amazon Web Services account ID.</p> <p>Constraints: Up to 10 000 account IDs can be specified in a single request.</p>",
2941529415
"locationName":"userId"
29416+
},
29417+
"OrganizationArn":{
29418+
"shape":"String",
29419+
"documentation":"<p>The Amazon Resource Name (ARN) of an organization.</p>",
29420+
"locationName":"organizationArn"
29421+
},
29422+
"OrganizationalUnitArn":{
29423+
"shape":"String",
29424+
"documentation":"<p>The Amazon Resource Name (ARN) of an organizational unit (OU).</p>",
29425+
"locationName":"organizationalUnitArn"
2941629426
}
2941729427
},
2941829428
"documentation":"<p>Describes a launch permission.</p>"
@@ -31829,7 +31839,7 @@
3182931839
"members":{
3183031840
"Attribute":{
3183131841
"shape":"String",
31832-
"documentation":"<p>The name of the attribute to modify. The valid values are <code>description</code> and <code>launchPermission</code>.</p>"
31842+
"documentation":"<p>The name of the attribute to modify.</p> <p>Valid values: <code>description</code> | <code>launchPermission</code> </p>"
3183331843
},
3183431844
"Description":{
3183531845
"shape":"AttributeValue",
@@ -31870,6 +31880,16 @@
3187031880
"shape":"Boolean",
3187131881
"documentation":"<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
3187231882
"locationName":"dryRun"
31883+
},
31884+
"OrganizationArns":{
31885+
"shape":"OrganizationArnStringList",
31886+
"documentation":"<p>The Amazon Resource Name (ARN) of an organization. This parameter can be used only when the <code>Attribute</code> parameter is <code>launchPermission</code>.</p>",
31887+
"locationName":"OrganizationArn"
31888+
},
31889+
"OrganizationalUnitArns":{
31890+
"shape":"OrganizationalUnitArnStringList",
31891+
"documentation":"<p>The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the <code>Attribute</code> parameter is <code>launchPermission</code>.</p>",
31892+
"locationName":"OrganizationalUnitArn"
3187331893
}
3187431894
},
3187531895
"documentation":"<p>Contains the parameters for ModifyImageAttribute.</p>"
@@ -34568,6 +34588,20 @@
3456834588
"remove"
3456934589
]
3457034590
},
34591+
"OrganizationArnStringList":{
34592+
"type":"list",
34593+
"member":{
34594+
"shape":"String",
34595+
"locationName":"OrganizationArn"
34596+
}
34597+
},
34598+
"OrganizationalUnitArnStringList":{
34599+
"type":"list",
34600+
"member":{
34601+
"shape":"String",
34602+
"locationName":"OrganizationalUnitArn"
34603+
}
34604+
},
3457134605
"OutpostArn":{
3457234606
"type":"string",
3457334607
"pattern":"^arn:aws([a-z-]+)?:outposts:[a-z\\d-]+:\\d{12}:outpost/op-[a-f0-9]{17}$"

0 commit comments

Comments
 (0)