aws-sdk-ram 1.23.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +153 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ram.rb +2 -2
- data/lib/aws-sdk-ram/client.rb +53 -13
- data/lib/aws-sdk-ram/client_api.rb +27 -1
- data/lib/aws-sdk-ram/errors.rb +1 -1
- data/lib/aws-sdk-ram/resource.rb +1 -1
- data/lib/aws-sdk-ram/types.rb +72 -22
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a90a577044bc6d8779ca26387d03eb435ea79e971032dd2d2ce67b38fcc4c24c
|
4
|
+
data.tar.gz: 8a2f33ce9bce47709aa55e1f374eda03ae9cd4c749c549675cf2eea2e4ee7b81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 612b625a39e1ab46852f026fcc05fc25bdde6a2daf2f5fa545cbe11dfd4c46e6021ea2b4b4856ac397efdaf55979a0e83554539c6bad743f8d78d0e1807af5ff
|
7
|
+
data.tar.gz: c957a5c8b421abed3958c53f0149bbeb9dc4db86d43fd28613a68e601fb39ebb19f59b019d474317162462f85fb2d060d83529f56bca38f26c21d97ad220f705
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,153 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.27.0 (2021-07-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.26.0 (2021-06-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - 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
|
13
|
+
|
14
|
+
1.25.0 (2021-04-08)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation updates for AWS RAM resource sharing
|
18
|
+
|
19
|
+
1.24.0 (2021-03-10)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.23.0 (2021-02-02)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.22.0 (2020-09-30)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.21.0 (2020-09-15)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.20.0 (2020-08-25)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.19.0 (2020-06-23)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.18.1 (2020-06-11)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
53
|
+
|
54
|
+
1.18.0 (2020-06-10)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Issue - This version has been yanked. (#2327).
|
58
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
59
|
+
|
60
|
+
1.17.0 (2020-05-28)
|
61
|
+
------------------
|
62
|
+
|
63
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
64
|
+
|
65
|
+
1.16.0 (2020-05-07)
|
66
|
+
------------------
|
67
|
+
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.15.0 (2020-04-23)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - AWS Resource Access Manager (RAM) provides a new ListResourceTypes action. This action lets you list the resource types that can be shared using AWS RAM.
|
74
|
+
|
75
|
+
1.14.0 (2020-03-09)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.13.0 (2019-11-25)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - AWS RAM provides new APIs to view the permissions granted to principals in a resource share. This release also creates corresponding resource shares for supported services that use resource policies, as well as an API to promote them to standard shares that can be managed in RAM.
|
84
|
+
|
85
|
+
1.12.0 (2019-10-23)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.11.0 (2019-09-18)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - AWS RAM provides a new ListPendingInvitationResources API action that lists the resources in a resource share that is shared with you but that the invitation is still pending for
|
94
|
+
|
95
|
+
1.10.0 (2019-07-25)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.9.0 (2019-07-01)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.8.0 (2019-06-17)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.7.0 (2019-05-21)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - API update.
|
114
|
+
|
115
|
+
1.6.0 (2019-05-15)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - API update.
|
119
|
+
|
120
|
+
1.5.0 (2019-05-14)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - API update.
|
124
|
+
|
125
|
+
1.4.0 (2019-03-21)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - API update.
|
129
|
+
|
130
|
+
1.3.0 (2019-03-18)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - API update.
|
134
|
+
|
135
|
+
1.2.0 (2019-03-14)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.1.0 (2018-11-20)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.0.1 (2018-11-16)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Issue - Update version dependency on `aws-sdk-core` to support endpoint discovery.
|
149
|
+
|
150
|
+
1.0.0 (2018-11-15)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - Initial release of `aws-sdk-ram`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.27.0
|
data/lib/aws-sdk-ram.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-ram/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::RAM
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.27.0'
|
52
52
|
|
53
53
|
end
|
data/lib/aws-sdk-ram/client.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -367,6 +367,7 @@ module Aws::RAM
|
|
367
367
|
# resp.resource_share_invitation.resource_share_associations[0].creation_time #=> Time
|
368
368
|
# resp.resource_share_invitation.resource_share_associations[0].last_updated_time #=> Time
|
369
369
|
# resp.resource_share_invitation.resource_share_associations[0].external #=> Boolean
|
370
|
+
# resp.resource_share_invitation.receiver_arn #=> String
|
370
371
|
# resp.client_token #=> String
|
371
372
|
#
|
372
373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AcceptResourceShareInvitation AWS API Documentation
|
@@ -388,7 +389,9 @@ module Aws::RAM
|
|
388
389
|
# The Amazon Resource Names (ARN) of the resources.
|
389
390
|
#
|
390
391
|
# @option params [Array<String>] :principals
|
391
|
-
# The principals.
|
392
|
+
# The principals to associate with the resource share. The possible
|
393
|
+
# values are IDs of AWS accounts, and the ARNs of organizational units
|
394
|
+
# (OU) or organizations from AWS Organizations.
|
392
395
|
#
|
393
396
|
# @option params [String] :client_token
|
394
397
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -437,8 +440,8 @@ module Aws::RAM
|
|
437
440
|
# The Amazon Resource Name (ARN) of the resource share.
|
438
441
|
#
|
439
442
|
# @option params [required, String] :permission_arn
|
440
|
-
# The ARN of the AWS RAM
|
441
|
-
# share.
|
443
|
+
# The Amazon Resource Name (ARN) of the AWS RAM permissions to associate
|
444
|
+
# with the resource share.
|
442
445
|
#
|
443
446
|
# @option params [Boolean] :replace
|
444
447
|
# Indicates whether the permission should replace the permissions that
|
@@ -450,6 +453,10 @@ module Aws::RAM
|
|
450
453
|
# A unique, case-sensitive identifier that you provide to ensure the
|
451
454
|
# idempotency of the request.
|
452
455
|
#
|
456
|
+
# @option params [Integer] :permission_version
|
457
|
+
# The version of the AWS RAM permissions to associate with the resource
|
458
|
+
# share.
|
459
|
+
#
|
453
460
|
# @return [Types::AssociateResourceSharePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
454
461
|
#
|
455
462
|
# * {Types::AssociateResourceSharePermissionResponse#return_value #return_value} => Boolean
|
@@ -462,6 +469,7 @@ module Aws::RAM
|
|
462
469
|
# permission_arn: "String", # required
|
463
470
|
# replace: false,
|
464
471
|
# client_token: "String",
|
472
|
+
# permission_version: 1,
|
465
473
|
# })
|
466
474
|
#
|
467
475
|
# @example Response structure
|
@@ -732,6 +740,7 @@ module Aws::RAM
|
|
732
740
|
# resp.permission.permission #=> String
|
733
741
|
# resp.permission.creation_time #=> Time
|
734
742
|
# resp.permission.last_updated_time #=> Time
|
743
|
+
# resp.permission.is_resource_type_default #=> Boolean
|
735
744
|
#
|
736
745
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission AWS API Documentation
|
737
746
|
#
|
@@ -862,7 +871,7 @@ module Aws::RAM
|
|
862
871
|
req.send_request(options)
|
863
872
|
end
|
864
873
|
|
865
|
-
# Gets the invitations
|
874
|
+
# Gets the invitations that you have received for resource shares.
|
866
875
|
#
|
867
876
|
# @option params [Array<String>] :resource_share_invitation_arns
|
868
877
|
# The Amazon Resource Names (ARN) of the invitations.
|
@@ -914,6 +923,7 @@ module Aws::RAM
|
|
914
923
|
# resp.resource_share_invitations[0].resource_share_associations[0].creation_time #=> Time
|
915
924
|
# resp.resource_share_invitations[0].resource_share_associations[0].last_updated_time #=> Time
|
916
925
|
# resp.resource_share_invitations[0].resource_share_associations[0].external #=> Boolean
|
926
|
+
# resp.resource_share_invitations[0].receiver_arn #=> String
|
917
927
|
# resp.next_token #=> String
|
918
928
|
#
|
919
929
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareInvitations AWS API Documentation
|
@@ -929,7 +939,7 @@ module Aws::RAM
|
|
929
939
|
# shared with you.
|
930
940
|
#
|
931
941
|
# @option params [Array<String>] :resource_share_arns
|
932
|
-
# The
|
942
|
+
# The ARNs of the resource shares.
|
933
943
|
#
|
934
944
|
# @option params [String] :resource_share_status
|
935
945
|
# The status of the resource share.
|
@@ -951,6 +961,10 @@ module Aws::RAM
|
|
951
961
|
# retrieve the remaining results, make another call with the returned
|
952
962
|
# `nextToken` value.
|
953
963
|
#
|
964
|
+
# @option params [String] :permission_arn
|
965
|
+
# The Amazon Resource Name (ARN) of the AWS RAM permission that is
|
966
|
+
# associated with the resource share.
|
967
|
+
#
|
954
968
|
# @return [Types::GetResourceSharesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
955
969
|
#
|
956
970
|
# * {Types::GetResourceSharesResponse#resource_shares #resource_shares} => Array<Types::ResourceShare>
|
@@ -973,6 +987,7 @@ module Aws::RAM
|
|
973
987
|
# ],
|
974
988
|
# next_token: "String",
|
975
989
|
# max_results: 1,
|
990
|
+
# permission_arn: "String",
|
976
991
|
# })
|
977
992
|
#
|
978
993
|
# @example Response structure
|
@@ -1072,6 +1087,8 @@ module Aws::RAM
|
|
1072
1087
|
# * {Types::ListPermissionsResponse#permissions #permissions} => Array<Types::ResourceSharePermissionSummary>
|
1073
1088
|
# * {Types::ListPermissionsResponse#next_token #next_token} => String
|
1074
1089
|
#
|
1090
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1091
|
+
#
|
1075
1092
|
# @example Request syntax with placeholder values
|
1076
1093
|
#
|
1077
1094
|
# resp = client.list_permissions({
|
@@ -1091,6 +1108,7 @@ module Aws::RAM
|
|
1091
1108
|
# resp.permissions[0].status #=> String
|
1092
1109
|
# resp.permissions[0].creation_time #=> Time
|
1093
1110
|
# resp.permissions[0].last_updated_time #=> Time
|
1111
|
+
# resp.permissions[0].is_resource_type_default #=> Boolean
|
1094
1112
|
# resp.next_token #=> String
|
1095
1113
|
#
|
1096
1114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions AWS API Documentation
|
@@ -1117,12 +1135,20 @@ module Aws::RAM
|
|
1117
1135
|
# @option params [String] :resource_type
|
1118
1136
|
# The resource type.
|
1119
1137
|
#
|
1120
|
-
# Valid values: `
|
1121
|
-
# `
|
1138
|
+
# Valid values: `acm-pca:CertificateAuthority` \| `appmesh:Mesh` \|
|
1139
|
+
# `codebuild:Project` \| `codebuild:ReportGroup` \|
|
1140
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \|
|
1141
|
+
# `ec2:LocalGatewayRouteTable` \| `ec2:PrefixList` \| `ec2:Subnet` \|
|
1122
1142
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1123
1143
|
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
1124
|
-
# `imagebuilder:ImageRecipe` \| `
|
1144
|
+
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe` \|
|
1145
|
+
# `glue:Catalog` \| `glue:Database` \| `glue:Table` \|
|
1146
|
+
# `license-manager:LicenseConfiguration` I
|
1147
|
+
# `network-firewall:FirewallPolicy` \|
|
1148
|
+
# `network-firewall:StatefulRuleGroup` \|
|
1149
|
+
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1125
1150
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
1151
|
+
# `route53resolver:ResolverQueryLogConfig` \|
|
1126
1152
|
# `route53resolver:ResolverRule`
|
1127
1153
|
#
|
1128
1154
|
# @option params [Array<String>] :resource_share_arns
|
@@ -1193,6 +1219,8 @@ module Aws::RAM
|
|
1193
1219
|
# * {Types::ListResourceSharePermissionsResponse#permissions #permissions} => Array<Types::ResourceSharePermissionSummary>
|
1194
1220
|
# * {Types::ListResourceSharePermissionsResponse#next_token #next_token} => String
|
1195
1221
|
#
|
1222
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1223
|
+
#
|
1196
1224
|
# @example Request syntax with placeholder values
|
1197
1225
|
#
|
1198
1226
|
# resp = client.list_resource_share_permissions({
|
@@ -1212,6 +1240,7 @@ module Aws::RAM
|
|
1212
1240
|
# resp.permissions[0].status #=> String
|
1213
1241
|
# resp.permissions[0].creation_time #=> Time
|
1214
1242
|
# resp.permissions[0].last_updated_time #=> Time
|
1243
|
+
# resp.permissions[0].is_resource_type_default #=> Boolean
|
1215
1244
|
# resp.next_token #=> String
|
1216
1245
|
#
|
1217
1246
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions AWS API Documentation
|
@@ -1238,6 +1267,8 @@ module Aws::RAM
|
|
1238
1267
|
# * {Types::ListResourceTypesResponse#resource_types #resource_types} => Array<Types::ServiceNameAndResourceType>
|
1239
1268
|
# * {Types::ListResourceTypesResponse#next_token #next_token} => String
|
1240
1269
|
#
|
1270
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1271
|
+
#
|
1241
1272
|
# @example Request syntax with placeholder values
|
1242
1273
|
#
|
1243
1274
|
# resp = client.list_resource_types({
|
@@ -1273,12 +1304,20 @@ module Aws::RAM
|
|
1273
1304
|
# @option params [String] :resource_type
|
1274
1305
|
# The resource type.
|
1275
1306
|
#
|
1276
|
-
# Valid values: `
|
1277
|
-
# `
|
1307
|
+
# Valid values: `acm-pca:CertificateAuthority` \| `appmesh:Mesh` \|
|
1308
|
+
# `codebuild:Project` \| `codebuild:ReportGroup` \|
|
1309
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \|
|
1310
|
+
# `ec2:LocalGatewayRouteTable` \| `ec2:PrefixList` \| `ec2:Subnet` \|
|
1278
1311
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1279
1312
|
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
1280
|
-
# `imagebuilder:ImageRecipe` \| `
|
1313
|
+
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe` \|
|
1314
|
+
# `glue:Catalog` \| `glue:Database` \| `glue:Table` \|
|
1315
|
+
# `license-manager:LicenseConfiguration` I
|
1316
|
+
# `network-firewall:FirewallPolicy` \|
|
1317
|
+
# `network-firewall:StatefulRuleGroup` \|
|
1318
|
+
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1281
1319
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
1320
|
+
# `route53resolver:ResolverQueryLogConfig` \|
|
1282
1321
|
# `route53resolver:ResolverRule`
|
1283
1322
|
#
|
1284
1323
|
# @option params [Array<String>] :resource_arns
|
@@ -1413,6 +1452,7 @@ module Aws::RAM
|
|
1413
1452
|
# resp.resource_share_invitation.resource_share_associations[0].creation_time #=> Time
|
1414
1453
|
# resp.resource_share_invitation.resource_share_associations[0].last_updated_time #=> Time
|
1415
1454
|
# resp.resource_share_invitation.resource_share_associations[0].external #=> Boolean
|
1455
|
+
# resp.resource_share_invitation.receiver_arn #=> String
|
1416
1456
|
# resp.client_token #=> String
|
1417
1457
|
#
|
1418
1458
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/RejectResourceShareInvitation AWS API Documentation
|
@@ -1550,7 +1590,7 @@ module Aws::RAM
|
|
1550
1590
|
params: params,
|
1551
1591
|
config: config)
|
1552
1592
|
context[:gem_name] = 'aws-sdk-ram'
|
1553
|
-
context[:gem_version] = '1.
|
1593
|
+
context[:gem_version] = '1.27.0'
|
1554
1594
|
Seahorse::Client::Request.new(handlers, context)
|
1555
1595
|
end
|
1556
1596
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -137,6 +137,7 @@ module Aws::RAM
|
|
137
137
|
AssociateResourceSharePermissionRequest.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "permissionArn"))
|
138
138
|
AssociateResourceSharePermissionRequest.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "replace"))
|
139
139
|
AssociateResourceSharePermissionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
140
|
+
AssociateResourceSharePermissionRequest.add_member(:permission_version, Shapes::ShapeRef.new(shape: Integer, location_name: "permissionVersion"))
|
140
141
|
AssociateResourceSharePermissionRequest.struct_class = Types::AssociateResourceSharePermissionRequest
|
141
142
|
|
142
143
|
AssociateResourceSharePermissionResponse.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnValue"))
|
@@ -245,6 +246,7 @@ module Aws::RAM
|
|
245
246
|
GetResourceSharesRequest.add_member(:tag_filters, Shapes::ShapeRef.new(shape: TagFilters, location_name: "tagFilters"))
|
246
247
|
GetResourceSharesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
247
248
|
GetResourceSharesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
249
|
+
GetResourceSharesRequest.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, location_name: "permissionArn"))
|
248
250
|
GetResourceSharesRequest.struct_class = Types::GetResourceSharesRequest
|
249
251
|
|
250
252
|
GetResourceSharesResponse.add_member(:resource_shares, Shapes::ShapeRef.new(shape: ResourceShareList, location_name: "resourceShares"))
|
@@ -423,6 +425,7 @@ module Aws::RAM
|
|
423
425
|
ResourceShareInvitation.add_member(:invitation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "invitationTimestamp"))
|
424
426
|
ResourceShareInvitation.add_member(:status, Shapes::ShapeRef.new(shape: ResourceShareInvitationStatus, location_name: "status"))
|
425
427
|
ResourceShareInvitation.add_member(:resource_share_associations, Shapes::ShapeRef.new(shape: ResourceShareAssociationList, deprecated: true, location_name: "resourceShareAssociations", metadata: {"deprecatedMessage"=>"This member has been deprecated. Use ListPendingInvitationResources."}))
|
428
|
+
ResourceShareInvitation.add_member(:receiver_arn, Shapes::ShapeRef.new(shape: String, location_name: "receiverArn"))
|
426
429
|
ResourceShareInvitation.struct_class = Types::ResourceShareInvitation
|
427
430
|
|
428
431
|
ResourceShareInvitationAlreadyAcceptedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -454,6 +457,7 @@ module Aws::RAM
|
|
454
457
|
ResourceSharePermissionDetail.add_member(:permission, Shapes::ShapeRef.new(shape: String, location_name: "permission"))
|
455
458
|
ResourceSharePermissionDetail.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
456
459
|
ResourceSharePermissionDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
460
|
+
ResourceSharePermissionDetail.add_member(:is_resource_type_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "isResourceTypeDefault"))
|
457
461
|
ResourceSharePermissionDetail.struct_class = Types::ResourceSharePermissionDetail
|
458
462
|
|
459
463
|
ResourceSharePermissionList.member = Shapes::ShapeRef.new(shape: ResourceSharePermissionSummary)
|
@@ -466,6 +470,7 @@ module Aws::RAM
|
|
466
470
|
ResourceSharePermissionSummary.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
467
471
|
ResourceSharePermissionSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
468
472
|
ResourceSharePermissionSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
473
|
+
ResourceSharePermissionSummary.add_member(:is_resource_type_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "isResourceTypeDefault"))
|
469
474
|
ResourceSharePermissionSummary.struct_class = Types::ResourceSharePermissionSummary
|
470
475
|
|
471
476
|
ServerInternalException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -665,6 +670,7 @@ module Aws::RAM
|
|
665
670
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
666
671
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
667
672
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateTransitionException)
|
668
674
|
end)
|
669
675
|
|
670
676
|
api.add_operation(:enable_sharing_with_aws_organization, Seahorse::Model::Operation.new.tap do |o|
|
@@ -809,6 +815,12 @@ module Aws::RAM
|
|
809
815
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
810
816
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
811
817
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
818
|
+
o[:pager] = Aws::Pager.new(
|
819
|
+
limit_key: "max_results",
|
820
|
+
tokens: {
|
821
|
+
"next_token" => "next_token"
|
822
|
+
}
|
823
|
+
)
|
812
824
|
end)
|
813
825
|
|
814
826
|
api.add_operation(:list_principals, Seahorse::Model::Operation.new.tap do |o|
|
@@ -844,6 +856,12 @@ module Aws::RAM
|
|
844
856
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
845
857
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
846
858
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
859
|
+
o[:pager] = Aws::Pager.new(
|
860
|
+
limit_key: "max_results",
|
861
|
+
tokens: {
|
862
|
+
"next_token" => "next_token"
|
863
|
+
}
|
864
|
+
)
|
847
865
|
end)
|
848
866
|
|
849
867
|
api.add_operation(:list_resource_types, Seahorse::Model::Operation.new.tap do |o|
|
@@ -856,6 +874,12 @@ module Aws::RAM
|
|
856
874
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
857
875
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
858
876
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
877
|
+
o[:pager] = Aws::Pager.new(
|
878
|
+
limit_key: "max_results",
|
879
|
+
tokens: {
|
880
|
+
"next_token" => "next_token"
|
881
|
+
}
|
882
|
+
)
|
859
883
|
end)
|
860
884
|
|
861
885
|
api.add_operation(:list_resources, Seahorse::Model::Operation.new.tap do |o|
|
@@ -886,6 +910,7 @@ module Aws::RAM
|
|
886
910
|
o.input = Shapes::ShapeRef.new(shape: PromoteResourceShareCreatedFromPolicyRequest)
|
887
911
|
o.output = Shapes::ShapeRef.new(shape: PromoteResourceShareCreatedFromPolicyResponse)
|
888
912
|
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
913
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareLimitExceededException)
|
889
914
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
890
915
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
891
916
|
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
@@ -920,6 +945,7 @@ module Aws::RAM
|
|
920
945
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
921
946
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
922
947
|
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
948
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
923
949
|
o.errors << Shapes::ShapeRef.new(shape: TagLimitExceededException)
|
924
950
|
o.errors << Shapes::ShapeRef.new(shape: ResourceArnNotFoundException)
|
925
951
|
o.errors << Shapes::ShapeRef.new(shape: TagPolicyViolationException)
|
data/lib/aws-sdk-ram/errors.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ram/resource.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ram/types.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -62,6 +62,7 @@ module Aws::RAM
|
|
62
62
|
# permission_arn: "String", # required
|
63
63
|
# replace: false,
|
64
64
|
# client_token: "String",
|
65
|
+
# permission_version: 1,
|
65
66
|
# }
|
66
67
|
#
|
67
68
|
# @!attribute [rw] resource_share_arn
|
@@ -69,8 +70,8 @@ module Aws::RAM
|
|
69
70
|
# @return [String]
|
70
71
|
#
|
71
72
|
# @!attribute [rw] permission_arn
|
72
|
-
# The ARN of the AWS RAM
|
73
|
-
# share.
|
73
|
+
# The Amazon Resource Name (ARN) of the AWS RAM permissions to
|
74
|
+
# associate with the resource share.
|
74
75
|
# @return [String]
|
75
76
|
#
|
76
77
|
# @!attribute [rw] replace
|
@@ -85,13 +86,19 @@ module Aws::RAM
|
|
85
86
|
# idempotency of the request.
|
86
87
|
# @return [String]
|
87
88
|
#
|
89
|
+
# @!attribute [rw] permission_version
|
90
|
+
# The version of the AWS RAM permissions to associate with the
|
91
|
+
# resource share.
|
92
|
+
# @return [Integer]
|
93
|
+
#
|
88
94
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermissionRequest AWS API Documentation
|
89
95
|
#
|
90
96
|
class AssociateResourceSharePermissionRequest < Struct.new(
|
91
97
|
:resource_share_arn,
|
92
98
|
:permission_arn,
|
93
99
|
:replace,
|
94
|
-
:client_token
|
100
|
+
:client_token,
|
101
|
+
:permission_version)
|
95
102
|
SENSITIVE = []
|
96
103
|
include Aws::Structure
|
97
104
|
end
|
@@ -133,7 +140,9 @@ module Aws::RAM
|
|
133
140
|
# @return [Array<String>]
|
134
141
|
#
|
135
142
|
# @!attribute [rw] principals
|
136
|
-
# The principals.
|
143
|
+
# The principals to associate with the resource share. The possible
|
144
|
+
# values are IDs of AWS accounts, and the ARNs of organizational units
|
145
|
+
# (OU) or organizations from AWS Organizations.
|
137
146
|
# @return [Array<String>]
|
138
147
|
#
|
139
148
|
# @!attribute [rw] client_token
|
@@ -671,10 +680,11 @@ module Aws::RAM
|
|
671
680
|
# ],
|
672
681
|
# next_token: "String",
|
673
682
|
# max_results: 1,
|
683
|
+
# permission_arn: "String",
|
674
684
|
# }
|
675
685
|
#
|
676
686
|
# @!attribute [rw] resource_share_arns
|
677
|
-
# The
|
687
|
+
# The ARNs of the resource shares.
|
678
688
|
# @return [Array<String>]
|
679
689
|
#
|
680
690
|
# @!attribute [rw] resource_share_status
|
@@ -703,6 +713,11 @@ module Aws::RAM
|
|
703
713
|
# `nextToken` value.
|
704
714
|
# @return [Integer]
|
705
715
|
#
|
716
|
+
# @!attribute [rw] permission_arn
|
717
|
+
# The Amazon Resource Name (ARN) of the AWS RAM permission that is
|
718
|
+
# associated with the resource share.
|
719
|
+
# @return [String]
|
720
|
+
#
|
706
721
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceSharesRequest AWS API Documentation
|
707
722
|
#
|
708
723
|
class GetResourceSharesRequest < Struct.new(
|
@@ -712,7 +727,8 @@ module Aws::RAM
|
|
712
727
|
:name,
|
713
728
|
:tag_filters,
|
714
729
|
:next_token,
|
715
|
-
:max_results
|
730
|
+
:max_results,
|
731
|
+
:permission_arn)
|
716
732
|
SENSITIVE = []
|
717
733
|
include Aws::Structure
|
718
734
|
end
|
@@ -960,12 +976,20 @@ module Aws::RAM
|
|
960
976
|
# @!attribute [rw] resource_type
|
961
977
|
# The resource type.
|
962
978
|
#
|
963
|
-
# Valid values: `
|
964
|
-
# `
|
979
|
+
# Valid values: `acm-pca:CertificateAuthority` \| `appmesh:Mesh` \|
|
980
|
+
# `codebuild:Project` \| `codebuild:ReportGroup` \|
|
981
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \|
|
982
|
+
# `ec2:LocalGatewayRouteTable` \| `ec2:PrefixList` \| `ec2:Subnet` \|
|
965
983
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
966
984
|
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
967
|
-
# `imagebuilder:ImageRecipe` \| `
|
968
|
-
#
|
985
|
+
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe` \|
|
986
|
+
# `glue:Catalog` \| `glue:Database` \| `glue:Table` \|
|
987
|
+
# `license-manager:LicenseConfiguration` I
|
988
|
+
# `network-firewall:FirewallPolicy` \|
|
989
|
+
# `network-firewall:StatefulRuleGroup` \|
|
990
|
+
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
991
|
+
# `resource-groups:Group` \| `rds:Cluster` \|
|
992
|
+
# `route53resolver:ResolverQueryLogConfig` \|
|
969
993
|
# `route53resolver:ResolverRule`
|
970
994
|
# @return [String]
|
971
995
|
#
|
@@ -1135,12 +1159,20 @@ module Aws::RAM
|
|
1135
1159
|
# @!attribute [rw] resource_type
|
1136
1160
|
# The resource type.
|
1137
1161
|
#
|
1138
|
-
# Valid values: `
|
1139
|
-
# `
|
1162
|
+
# Valid values: `acm-pca:CertificateAuthority` \| `appmesh:Mesh` \|
|
1163
|
+
# `codebuild:Project` \| `codebuild:ReportGroup` \|
|
1164
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \|
|
1165
|
+
# `ec2:LocalGatewayRouteTable` \| `ec2:PrefixList` \| `ec2:Subnet` \|
|
1140
1166
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1141
1167
|
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
1142
|
-
# `imagebuilder:ImageRecipe` \| `
|
1143
|
-
#
|
1168
|
+
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe` \|
|
1169
|
+
# `glue:Catalog` \| `glue:Database` \| `glue:Table` \|
|
1170
|
+
# `license-manager:LicenseConfiguration` I
|
1171
|
+
# `network-firewall:FirewallPolicy` \|
|
1172
|
+
# `network-firewall:StatefulRuleGroup` \|
|
1173
|
+
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1174
|
+
# `resource-groups:Group` \| `rds:Cluster` \|
|
1175
|
+
# `route53resolver:ResolverQueryLogConfig` \|
|
1144
1176
|
# `route53resolver:ResolverRule`
|
1145
1177
|
# @return [String]
|
1146
1178
|
#
|
@@ -1577,6 +1609,11 @@ module Aws::RAM
|
|
1577
1609
|
# [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_ListPendingInvitationResources.html
|
1578
1610
|
# @return [Array<Types::ResourceShareAssociation>]
|
1579
1611
|
#
|
1612
|
+
# @!attribute [rw] receiver_arn
|
1613
|
+
# The Amazon Resource Name (ARN) of the IAM user or IAM role that
|
1614
|
+
# received the invitation.
|
1615
|
+
# @return [String]
|
1616
|
+
#
|
1580
1617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceShareInvitation AWS API Documentation
|
1581
1618
|
#
|
1582
1619
|
class ResourceShareInvitation < Struct.new(
|
@@ -1587,7 +1624,8 @@ module Aws::RAM
|
|
1587
1624
|
:receiver_account_id,
|
1588
1625
|
:invitation_timestamp,
|
1589
1626
|
:status,
|
1590
|
-
:resource_share_associations
|
1627
|
+
:resource_share_associations,
|
1628
|
+
:receiver_arn)
|
1591
1629
|
SENSITIVE = []
|
1592
1630
|
include Aws::Structure
|
1593
1631
|
end
|
@@ -1668,8 +1706,8 @@ module Aws::RAM
|
|
1668
1706
|
# @return [String]
|
1669
1707
|
#
|
1670
1708
|
# @!attribute [rw] default_version
|
1671
|
-
#
|
1672
|
-
# default version.
|
1709
|
+
# Specifies whether the version of the permission is set to the
|
1710
|
+
# default version for this permission.
|
1673
1711
|
# @return [Boolean]
|
1674
1712
|
#
|
1675
1713
|
# @!attribute [rw] name
|
@@ -1695,6 +1733,11 @@ module Aws::RAM
|
|
1695
1733
|
# The date and time when the permission was last updated.
|
1696
1734
|
# @return [Time]
|
1697
1735
|
#
|
1736
|
+
# @!attribute [rw] is_resource_type_default
|
1737
|
+
# Specifies whether the version of the permission is set to the
|
1738
|
+
# default version for this resource type.
|
1739
|
+
# @return [Boolean]
|
1740
|
+
#
|
1698
1741
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionDetail AWS API Documentation
|
1699
1742
|
#
|
1700
1743
|
class ResourceSharePermissionDetail < Struct.new(
|
@@ -1705,7 +1748,8 @@ module Aws::RAM
|
|
1705
1748
|
:resource_type,
|
1706
1749
|
:permission,
|
1707
1750
|
:creation_time,
|
1708
|
-
:last_updated_time
|
1751
|
+
:last_updated_time,
|
1752
|
+
:is_resource_type_default)
|
1709
1753
|
SENSITIVE = []
|
1710
1754
|
include Aws::Structure
|
1711
1755
|
end
|
@@ -1722,8 +1766,8 @@ module Aws::RAM
|
|
1722
1766
|
# @return [String]
|
1723
1767
|
#
|
1724
1768
|
# @!attribute [rw] default_version
|
1725
|
-
#
|
1726
|
-
# default version.
|
1769
|
+
# Specifies whether the version of the permission is set to the
|
1770
|
+
# default version for this permission.
|
1727
1771
|
# @return [Boolean]
|
1728
1772
|
#
|
1729
1773
|
# @!attribute [rw] name
|
@@ -1746,6 +1790,11 @@ module Aws::RAM
|
|
1746
1790
|
# The date and time when the permission was last updated.
|
1747
1791
|
# @return [Time]
|
1748
1792
|
#
|
1793
|
+
# @!attribute [rw] is_resource_type_default
|
1794
|
+
# Specifies whether the version of the permission is set to the
|
1795
|
+
# default version for this resource type.
|
1796
|
+
# @return [Boolean]
|
1797
|
+
#
|
1749
1798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionSummary AWS API Documentation
|
1750
1799
|
#
|
1751
1800
|
class ResourceSharePermissionSummary < Struct.new(
|
@@ -1756,7 +1805,8 @@ module Aws::RAM
|
|
1756
1805
|
:resource_type,
|
1757
1806
|
:status,
|
1758
1807
|
:creation_time,
|
1759
|
-
:last_updated_time
|
1808
|
+
:last_updated_time,
|
1809
|
+
:is_resource_type_default)
|
1760
1810
|
SENSITIVE = []
|
1761
1811
|
include Aws::Structure
|
1762
1812
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.118.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.118.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for AWS Resource Access Manager (RAM). This gem
|
48
48
|
is part of the AWS SDK for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-ram.rb
|
56
59
|
- lib/aws-sdk-ram/client.rb
|
57
60
|
- lib/aws-sdk-ram/client_api.rb
|
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
63
66
|
licenses:
|
64
67
|
- Apache-2.0
|
65
68
|
metadata:
|
66
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
67
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ram
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ram/CHANGELOG.md
|
68
71
|
post_install_message:
|
69
72
|
rdoc_options: []
|
70
73
|
require_paths:
|
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
83
|
- !ruby/object:Gem::Version
|
81
84
|
version: '0'
|
82
85
|
requirements: []
|
83
|
-
|
84
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
85
87
|
signing_key:
|
86
88
|
specification_version: 4
|
87
89
|
summary: AWS SDK for Ruby - RAM
|