aws-sdk 2.749.0 → 2.750.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.
- package/CHANGELOG.md +6 -1
- package/README.md +1 -1
- package/apis/cloudfront-2020-05-31.min.json +3 -0
- package/apis/metadata.json +4 -0
- package/apis/s3-2006-03-01.examples.json +117 -117
- package/apis/s3-2006-03-01.min.json +431 -83
- package/apis/sso-admin-2020-07-20.examples.json +5 -0
- package/apis/sso-admin-2020-07-20.min.json +759 -0
- package/apis/sso-admin-2020-07-20.paginators.json +63 -0
- package/clients/all.d.ts +1 -0
- package/clients/all.js +2 -1
- package/clients/cloudfront.d.ts +11 -7
- package/clients/ebs.d.ts +7 -7
- package/clients/s3.d.ts +389 -41
- package/clients/ssoadmin.d.ts +1059 -0
- package/clients/ssoadmin.js +18 -0
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +43 -6
- package/dist/aws-sdk.js +441 -86
- package/dist/aws-sdk.min.js +70 -69
- package/lib/config_service_placeholders.d.ts +2 -0
- package/lib/core.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1059 @@
|
|
|
1
|
+
import {Request} from '../lib/request';
|
|
2
|
+
import {Response} from '../lib/response';
|
|
3
|
+
import {AWSError} from '../lib/error';
|
|
4
|
+
import {Service} from '../lib/service';
|
|
5
|
+
import {ServiceConfigurationOptions} from '../lib/service';
|
|
6
|
+
import {ConfigBase as Config} from '../lib/config-base';
|
|
7
|
+
interface Blob {}
|
|
8
|
+
declare class SSOAdmin extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* Constructs a service object. This object has one method for each API operation.
|
|
11
|
+
*/
|
|
12
|
+
constructor(options?: SSOAdmin.Types.ClientConfiguration)
|
|
13
|
+
config: Config & SSOAdmin.Types.ClientConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* Attaches an IAM managed policy ARN to a permission set.
|
|
16
|
+
*/
|
|
17
|
+
attachManagedPolicyToPermissionSet(params: SSOAdmin.Types.AttachManagedPolicyToPermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.AttachManagedPolicyToPermissionSetResponse) => void): Request<SSOAdmin.Types.AttachManagedPolicyToPermissionSetResponse, AWSError>;
|
|
18
|
+
/**
|
|
19
|
+
* Attaches an IAM managed policy ARN to a permission set.
|
|
20
|
+
*/
|
|
21
|
+
attachManagedPolicyToPermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.AttachManagedPolicyToPermissionSetResponse) => void): Request<SSOAdmin.Types.AttachManagedPolicyToPermissionSetResponse, AWSError>;
|
|
22
|
+
/**
|
|
23
|
+
* Assigns access to a principal for a specified AWS account using a specified permission set. The term principal here refers to a user or group that is defined in AWS SSO.
|
|
24
|
+
*/
|
|
25
|
+
createAccountAssignment(params: SSOAdmin.Types.CreateAccountAssignmentRequest, callback?: (err: AWSError, data: SSOAdmin.Types.CreateAccountAssignmentResponse) => void): Request<SSOAdmin.Types.CreateAccountAssignmentResponse, AWSError>;
|
|
26
|
+
/**
|
|
27
|
+
* Assigns access to a principal for a specified AWS account using a specified permission set. The term principal here refers to a user or group that is defined in AWS SSO.
|
|
28
|
+
*/
|
|
29
|
+
createAccountAssignment(callback?: (err: AWSError, data: SSOAdmin.Types.CreateAccountAssignmentResponse) => void): Request<SSOAdmin.Types.CreateAccountAssignmentResponse, AWSError>;
|
|
30
|
+
/**
|
|
31
|
+
* Creates a permission set within a specified SSO instance.
|
|
32
|
+
*/
|
|
33
|
+
createPermissionSet(params: SSOAdmin.Types.CreatePermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.CreatePermissionSetResponse) => void): Request<SSOAdmin.Types.CreatePermissionSetResponse, AWSError>;
|
|
34
|
+
/**
|
|
35
|
+
* Creates a permission set within a specified SSO instance.
|
|
36
|
+
*/
|
|
37
|
+
createPermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.CreatePermissionSetResponse) => void): Request<SSOAdmin.Types.CreatePermissionSetResponse, AWSError>;
|
|
38
|
+
/**
|
|
39
|
+
* Deletes a principal's access from a specified AWS account using a specified permission set.
|
|
40
|
+
*/
|
|
41
|
+
deleteAccountAssignment(params: SSOAdmin.Types.DeleteAccountAssignmentRequest, callback?: (err: AWSError, data: SSOAdmin.Types.DeleteAccountAssignmentResponse) => void): Request<SSOAdmin.Types.DeleteAccountAssignmentResponse, AWSError>;
|
|
42
|
+
/**
|
|
43
|
+
* Deletes a principal's access from a specified AWS account using a specified permission set.
|
|
44
|
+
*/
|
|
45
|
+
deleteAccountAssignment(callback?: (err: AWSError, data: SSOAdmin.Types.DeleteAccountAssignmentResponse) => void): Request<SSOAdmin.Types.DeleteAccountAssignmentResponse, AWSError>;
|
|
46
|
+
/**
|
|
47
|
+
* Deletes the inline policy from a specified permission set.
|
|
48
|
+
*/
|
|
49
|
+
deleteInlinePolicyFromPermissionSet(params: SSOAdmin.Types.DeleteInlinePolicyFromPermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.DeleteInlinePolicyFromPermissionSetResponse) => void): Request<SSOAdmin.Types.DeleteInlinePolicyFromPermissionSetResponse, AWSError>;
|
|
50
|
+
/**
|
|
51
|
+
* Deletes the inline policy from a specified permission set.
|
|
52
|
+
*/
|
|
53
|
+
deleteInlinePolicyFromPermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.DeleteInlinePolicyFromPermissionSetResponse) => void): Request<SSOAdmin.Types.DeleteInlinePolicyFromPermissionSetResponse, AWSError>;
|
|
54
|
+
/**
|
|
55
|
+
* Deletes the specified permission set.
|
|
56
|
+
*/
|
|
57
|
+
deletePermissionSet(params: SSOAdmin.Types.DeletePermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.DeletePermissionSetResponse) => void): Request<SSOAdmin.Types.DeletePermissionSetResponse, AWSError>;
|
|
58
|
+
/**
|
|
59
|
+
* Deletes the specified permission set.
|
|
60
|
+
*/
|
|
61
|
+
deletePermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.DeletePermissionSetResponse) => void): Request<SSOAdmin.Types.DeletePermissionSetResponse, AWSError>;
|
|
62
|
+
/**
|
|
63
|
+
* Describes the status of the assignment creation request.
|
|
64
|
+
*/
|
|
65
|
+
describeAccountAssignmentCreationStatus(params: SSOAdmin.Types.DescribeAccountAssignmentCreationStatusRequest, callback?: (err: AWSError, data: SSOAdmin.Types.DescribeAccountAssignmentCreationStatusResponse) => void): Request<SSOAdmin.Types.DescribeAccountAssignmentCreationStatusResponse, AWSError>;
|
|
66
|
+
/**
|
|
67
|
+
* Describes the status of the assignment creation request.
|
|
68
|
+
*/
|
|
69
|
+
describeAccountAssignmentCreationStatus(callback?: (err: AWSError, data: SSOAdmin.Types.DescribeAccountAssignmentCreationStatusResponse) => void): Request<SSOAdmin.Types.DescribeAccountAssignmentCreationStatusResponse, AWSError>;
|
|
70
|
+
/**
|
|
71
|
+
* Describes the status of the assignment deletion request.
|
|
72
|
+
*/
|
|
73
|
+
describeAccountAssignmentDeletionStatus(params: SSOAdmin.Types.DescribeAccountAssignmentDeletionStatusRequest, callback?: (err: AWSError, data: SSOAdmin.Types.DescribeAccountAssignmentDeletionStatusResponse) => void): Request<SSOAdmin.Types.DescribeAccountAssignmentDeletionStatusResponse, AWSError>;
|
|
74
|
+
/**
|
|
75
|
+
* Describes the status of the assignment deletion request.
|
|
76
|
+
*/
|
|
77
|
+
describeAccountAssignmentDeletionStatus(callback?: (err: AWSError, data: SSOAdmin.Types.DescribeAccountAssignmentDeletionStatusResponse) => void): Request<SSOAdmin.Types.DescribeAccountAssignmentDeletionStatusResponse, AWSError>;
|
|
78
|
+
/**
|
|
79
|
+
* Gets the details of the permission set.
|
|
80
|
+
*/
|
|
81
|
+
describePermissionSet(params: SSOAdmin.Types.DescribePermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.DescribePermissionSetResponse) => void): Request<SSOAdmin.Types.DescribePermissionSetResponse, AWSError>;
|
|
82
|
+
/**
|
|
83
|
+
* Gets the details of the permission set.
|
|
84
|
+
*/
|
|
85
|
+
describePermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.DescribePermissionSetResponse) => void): Request<SSOAdmin.Types.DescribePermissionSetResponse, AWSError>;
|
|
86
|
+
/**
|
|
87
|
+
* Describes the status for the given permission set provisioning request.
|
|
88
|
+
*/
|
|
89
|
+
describePermissionSetProvisioningStatus(params: SSOAdmin.Types.DescribePermissionSetProvisioningStatusRequest, callback?: (err: AWSError, data: SSOAdmin.Types.DescribePermissionSetProvisioningStatusResponse) => void): Request<SSOAdmin.Types.DescribePermissionSetProvisioningStatusResponse, AWSError>;
|
|
90
|
+
/**
|
|
91
|
+
* Describes the status for the given permission set provisioning request.
|
|
92
|
+
*/
|
|
93
|
+
describePermissionSetProvisioningStatus(callback?: (err: AWSError, data: SSOAdmin.Types.DescribePermissionSetProvisioningStatusResponse) => void): Request<SSOAdmin.Types.DescribePermissionSetProvisioningStatusResponse, AWSError>;
|
|
94
|
+
/**
|
|
95
|
+
* Detaches the attached IAM managed policy ARN from the specified permission set.
|
|
96
|
+
*/
|
|
97
|
+
detachManagedPolicyFromPermissionSet(params: SSOAdmin.Types.DetachManagedPolicyFromPermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.DetachManagedPolicyFromPermissionSetResponse) => void): Request<SSOAdmin.Types.DetachManagedPolicyFromPermissionSetResponse, AWSError>;
|
|
98
|
+
/**
|
|
99
|
+
* Detaches the attached IAM managed policy ARN from the specified permission set.
|
|
100
|
+
*/
|
|
101
|
+
detachManagedPolicyFromPermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.DetachManagedPolicyFromPermissionSetResponse) => void): Request<SSOAdmin.Types.DetachManagedPolicyFromPermissionSetResponse, AWSError>;
|
|
102
|
+
/**
|
|
103
|
+
* Obtains the inline policy assigned to the permission set.
|
|
104
|
+
*/
|
|
105
|
+
getInlinePolicyForPermissionSet(params: SSOAdmin.Types.GetInlinePolicyForPermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.GetInlinePolicyForPermissionSetResponse) => void): Request<SSOAdmin.Types.GetInlinePolicyForPermissionSetResponse, AWSError>;
|
|
106
|
+
/**
|
|
107
|
+
* Obtains the inline policy assigned to the permission set.
|
|
108
|
+
*/
|
|
109
|
+
getInlinePolicyForPermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.GetInlinePolicyForPermissionSetResponse) => void): Request<SSOAdmin.Types.GetInlinePolicyForPermissionSetResponse, AWSError>;
|
|
110
|
+
/**
|
|
111
|
+
* Lists the status of the AWS account assignment creation requests for a specified SSO instance.
|
|
112
|
+
*/
|
|
113
|
+
listAccountAssignmentCreationStatus(params: SSOAdmin.Types.ListAccountAssignmentCreationStatusRequest, callback?: (err: AWSError, data: SSOAdmin.Types.ListAccountAssignmentCreationStatusResponse) => void): Request<SSOAdmin.Types.ListAccountAssignmentCreationStatusResponse, AWSError>;
|
|
114
|
+
/**
|
|
115
|
+
* Lists the status of the AWS account assignment creation requests for a specified SSO instance.
|
|
116
|
+
*/
|
|
117
|
+
listAccountAssignmentCreationStatus(callback?: (err: AWSError, data: SSOAdmin.Types.ListAccountAssignmentCreationStatusResponse) => void): Request<SSOAdmin.Types.ListAccountAssignmentCreationStatusResponse, AWSError>;
|
|
118
|
+
/**
|
|
119
|
+
* Lists the status of the AWS account assignment deletion requests for a specified SSO instance.
|
|
120
|
+
*/
|
|
121
|
+
listAccountAssignmentDeletionStatus(params: SSOAdmin.Types.ListAccountAssignmentDeletionStatusRequest, callback?: (err: AWSError, data: SSOAdmin.Types.ListAccountAssignmentDeletionStatusResponse) => void): Request<SSOAdmin.Types.ListAccountAssignmentDeletionStatusResponse, AWSError>;
|
|
122
|
+
/**
|
|
123
|
+
* Lists the status of the AWS account assignment deletion requests for a specified SSO instance.
|
|
124
|
+
*/
|
|
125
|
+
listAccountAssignmentDeletionStatus(callback?: (err: AWSError, data: SSOAdmin.Types.ListAccountAssignmentDeletionStatusResponse) => void): Request<SSOAdmin.Types.ListAccountAssignmentDeletionStatusResponse, AWSError>;
|
|
126
|
+
/**
|
|
127
|
+
* Lists the assignee of the specified AWS account with the specified permission set.
|
|
128
|
+
*/
|
|
129
|
+
listAccountAssignments(params: SSOAdmin.Types.ListAccountAssignmentsRequest, callback?: (err: AWSError, data: SSOAdmin.Types.ListAccountAssignmentsResponse) => void): Request<SSOAdmin.Types.ListAccountAssignmentsResponse, AWSError>;
|
|
130
|
+
/**
|
|
131
|
+
* Lists the assignee of the specified AWS account with the specified permission set.
|
|
132
|
+
*/
|
|
133
|
+
listAccountAssignments(callback?: (err: AWSError, data: SSOAdmin.Types.ListAccountAssignmentsResponse) => void): Request<SSOAdmin.Types.ListAccountAssignmentsResponse, AWSError>;
|
|
134
|
+
/**
|
|
135
|
+
* Lists all the AWS accounts where the specified permission set is provisioned.
|
|
136
|
+
*/
|
|
137
|
+
listAccountsForProvisionedPermissionSet(params: SSOAdmin.Types.ListAccountsForProvisionedPermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.ListAccountsForProvisionedPermissionSetResponse) => void): Request<SSOAdmin.Types.ListAccountsForProvisionedPermissionSetResponse, AWSError>;
|
|
138
|
+
/**
|
|
139
|
+
* Lists all the AWS accounts where the specified permission set is provisioned.
|
|
140
|
+
*/
|
|
141
|
+
listAccountsForProvisionedPermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.ListAccountsForProvisionedPermissionSetResponse) => void): Request<SSOAdmin.Types.ListAccountsForProvisionedPermissionSetResponse, AWSError>;
|
|
142
|
+
/**
|
|
143
|
+
* Lists the SSO instances that the caller has access to.
|
|
144
|
+
*/
|
|
145
|
+
listInstances(params: SSOAdmin.Types.ListInstancesRequest, callback?: (err: AWSError, data: SSOAdmin.Types.ListInstancesResponse) => void): Request<SSOAdmin.Types.ListInstancesResponse, AWSError>;
|
|
146
|
+
/**
|
|
147
|
+
* Lists the SSO instances that the caller has access to.
|
|
148
|
+
*/
|
|
149
|
+
listInstances(callback?: (err: AWSError, data: SSOAdmin.Types.ListInstancesResponse) => void): Request<SSOAdmin.Types.ListInstancesResponse, AWSError>;
|
|
150
|
+
/**
|
|
151
|
+
* Lists the IAM managed policy that is attached to a specified permission set.
|
|
152
|
+
*/
|
|
153
|
+
listManagedPoliciesInPermissionSet(params: SSOAdmin.Types.ListManagedPoliciesInPermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.ListManagedPoliciesInPermissionSetResponse) => void): Request<SSOAdmin.Types.ListManagedPoliciesInPermissionSetResponse, AWSError>;
|
|
154
|
+
/**
|
|
155
|
+
* Lists the IAM managed policy that is attached to a specified permission set.
|
|
156
|
+
*/
|
|
157
|
+
listManagedPoliciesInPermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.ListManagedPoliciesInPermissionSetResponse) => void): Request<SSOAdmin.Types.ListManagedPoliciesInPermissionSetResponse, AWSError>;
|
|
158
|
+
/**
|
|
159
|
+
* Lists the status of the permission set provisioning requests for a specified SSO instance.
|
|
160
|
+
*/
|
|
161
|
+
listPermissionSetProvisioningStatus(params: SSOAdmin.Types.ListPermissionSetProvisioningStatusRequest, callback?: (err: AWSError, data: SSOAdmin.Types.ListPermissionSetProvisioningStatusResponse) => void): Request<SSOAdmin.Types.ListPermissionSetProvisioningStatusResponse, AWSError>;
|
|
162
|
+
/**
|
|
163
|
+
* Lists the status of the permission set provisioning requests for a specified SSO instance.
|
|
164
|
+
*/
|
|
165
|
+
listPermissionSetProvisioningStatus(callback?: (err: AWSError, data: SSOAdmin.Types.ListPermissionSetProvisioningStatusResponse) => void): Request<SSOAdmin.Types.ListPermissionSetProvisioningStatusResponse, AWSError>;
|
|
166
|
+
/**
|
|
167
|
+
* Lists the PermissionSets in an SSO instance.
|
|
168
|
+
*/
|
|
169
|
+
listPermissionSets(params: SSOAdmin.Types.ListPermissionSetsRequest, callback?: (err: AWSError, data: SSOAdmin.Types.ListPermissionSetsResponse) => void): Request<SSOAdmin.Types.ListPermissionSetsResponse, AWSError>;
|
|
170
|
+
/**
|
|
171
|
+
* Lists the PermissionSets in an SSO instance.
|
|
172
|
+
*/
|
|
173
|
+
listPermissionSets(callback?: (err: AWSError, data: SSOAdmin.Types.ListPermissionSetsResponse) => void): Request<SSOAdmin.Types.ListPermissionSetsResponse, AWSError>;
|
|
174
|
+
/**
|
|
175
|
+
* Lists all the permission sets that are provisioned to a specified AWS account.
|
|
176
|
+
*/
|
|
177
|
+
listPermissionSetsProvisionedToAccount(params: SSOAdmin.Types.ListPermissionSetsProvisionedToAccountRequest, callback?: (err: AWSError, data: SSOAdmin.Types.ListPermissionSetsProvisionedToAccountResponse) => void): Request<SSOAdmin.Types.ListPermissionSetsProvisionedToAccountResponse, AWSError>;
|
|
178
|
+
/**
|
|
179
|
+
* Lists all the permission sets that are provisioned to a specified AWS account.
|
|
180
|
+
*/
|
|
181
|
+
listPermissionSetsProvisionedToAccount(callback?: (err: AWSError, data: SSOAdmin.Types.ListPermissionSetsProvisionedToAccountResponse) => void): Request<SSOAdmin.Types.ListPermissionSetsProvisionedToAccountResponse, AWSError>;
|
|
182
|
+
/**
|
|
183
|
+
* Lists the tags that are attached to a specified resource.
|
|
184
|
+
*/
|
|
185
|
+
listTagsForResource(params: SSOAdmin.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: SSOAdmin.Types.ListTagsForResourceResponse) => void): Request<SSOAdmin.Types.ListTagsForResourceResponse, AWSError>;
|
|
186
|
+
/**
|
|
187
|
+
* Lists the tags that are attached to a specified resource.
|
|
188
|
+
*/
|
|
189
|
+
listTagsForResource(callback?: (err: AWSError, data: SSOAdmin.Types.ListTagsForResourceResponse) => void): Request<SSOAdmin.Types.ListTagsForResourceResponse, AWSError>;
|
|
190
|
+
/**
|
|
191
|
+
* The process by which a specified permission set is provisioned to the specified target.
|
|
192
|
+
*/
|
|
193
|
+
provisionPermissionSet(params: SSOAdmin.Types.ProvisionPermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.ProvisionPermissionSetResponse) => void): Request<SSOAdmin.Types.ProvisionPermissionSetResponse, AWSError>;
|
|
194
|
+
/**
|
|
195
|
+
* The process by which a specified permission set is provisioned to the specified target.
|
|
196
|
+
*/
|
|
197
|
+
provisionPermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.ProvisionPermissionSetResponse) => void): Request<SSOAdmin.Types.ProvisionPermissionSetResponse, AWSError>;
|
|
198
|
+
/**
|
|
199
|
+
* Attaches an IAM inline policy to a permission set.
|
|
200
|
+
*/
|
|
201
|
+
putInlinePolicyToPermissionSet(params: SSOAdmin.Types.PutInlinePolicyToPermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.PutInlinePolicyToPermissionSetResponse) => void): Request<SSOAdmin.Types.PutInlinePolicyToPermissionSetResponse, AWSError>;
|
|
202
|
+
/**
|
|
203
|
+
* Attaches an IAM inline policy to a permission set.
|
|
204
|
+
*/
|
|
205
|
+
putInlinePolicyToPermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.PutInlinePolicyToPermissionSetResponse) => void): Request<SSOAdmin.Types.PutInlinePolicyToPermissionSetResponse, AWSError>;
|
|
206
|
+
/**
|
|
207
|
+
* Associates a set of tags with a specified resource.
|
|
208
|
+
*/
|
|
209
|
+
tagResource(params: SSOAdmin.Types.TagResourceRequest, callback?: (err: AWSError, data: SSOAdmin.Types.TagResourceResponse) => void): Request<SSOAdmin.Types.TagResourceResponse, AWSError>;
|
|
210
|
+
/**
|
|
211
|
+
* Associates a set of tags with a specified resource.
|
|
212
|
+
*/
|
|
213
|
+
tagResource(callback?: (err: AWSError, data: SSOAdmin.Types.TagResourceResponse) => void): Request<SSOAdmin.Types.TagResourceResponse, AWSError>;
|
|
214
|
+
/**
|
|
215
|
+
* Disassociates a set of tags from a specified resource.
|
|
216
|
+
*/
|
|
217
|
+
untagResource(params: SSOAdmin.Types.UntagResourceRequest, callback?: (err: AWSError, data: SSOAdmin.Types.UntagResourceResponse) => void): Request<SSOAdmin.Types.UntagResourceResponse, AWSError>;
|
|
218
|
+
/**
|
|
219
|
+
* Disassociates a set of tags from a specified resource.
|
|
220
|
+
*/
|
|
221
|
+
untagResource(callback?: (err: AWSError, data: SSOAdmin.Types.UntagResourceResponse) => void): Request<SSOAdmin.Types.UntagResourceResponse, AWSError>;
|
|
222
|
+
/**
|
|
223
|
+
* Updates an existing permission set.
|
|
224
|
+
*/
|
|
225
|
+
updatePermissionSet(params: SSOAdmin.Types.UpdatePermissionSetRequest, callback?: (err: AWSError, data: SSOAdmin.Types.UpdatePermissionSetResponse) => void): Request<SSOAdmin.Types.UpdatePermissionSetResponse, AWSError>;
|
|
226
|
+
/**
|
|
227
|
+
* Updates an existing permission set.
|
|
228
|
+
*/
|
|
229
|
+
updatePermissionSet(callback?: (err: AWSError, data: SSOAdmin.Types.UpdatePermissionSetResponse) => void): Request<SSOAdmin.Types.UpdatePermissionSetResponse, AWSError>;
|
|
230
|
+
}
|
|
231
|
+
declare namespace SSOAdmin {
|
|
232
|
+
export interface AccountAssignment {
|
|
233
|
+
/**
|
|
234
|
+
* The identifier of the AWS account.
|
|
235
|
+
*/
|
|
236
|
+
AccountId?: AccountId;
|
|
237
|
+
/**
|
|
238
|
+
* The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
239
|
+
*/
|
|
240
|
+
PermissionSetArn?: PermissionSetArn;
|
|
241
|
+
/**
|
|
242
|
+
* The entity type for which the assignment will be created.
|
|
243
|
+
*/
|
|
244
|
+
PrincipalType?: PrincipalType;
|
|
245
|
+
/**
|
|
246
|
+
* The identifier of the principal.
|
|
247
|
+
*/
|
|
248
|
+
PrincipalId?: PrincipalId;
|
|
249
|
+
}
|
|
250
|
+
export type AccountAssignmentList = AccountAssignment[];
|
|
251
|
+
export interface AccountAssignmentOperationStatus {
|
|
252
|
+
/**
|
|
253
|
+
* The status of the permission set provisioning process.
|
|
254
|
+
*/
|
|
255
|
+
Status?: StatusValues;
|
|
256
|
+
/**
|
|
257
|
+
* The identifier for tracking the request operation that is generated by the universally unique identifier (UUID) workflow.
|
|
258
|
+
*/
|
|
259
|
+
RequestId?: UUId;
|
|
260
|
+
/**
|
|
261
|
+
* The message that contains an error or exception in case of an operation failure.
|
|
262
|
+
*/
|
|
263
|
+
FailureReason?: Reason;
|
|
264
|
+
/**
|
|
265
|
+
* The identifier for the chosen target.
|
|
266
|
+
*/
|
|
267
|
+
TargetId?: TargetId;
|
|
268
|
+
/**
|
|
269
|
+
* The entity type for which the assignment will be created.
|
|
270
|
+
*/
|
|
271
|
+
TargetType?: TargetType;
|
|
272
|
+
/**
|
|
273
|
+
* The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
274
|
+
*/
|
|
275
|
+
PermissionSetArn?: PermissionSetArn;
|
|
276
|
+
/**
|
|
277
|
+
* The entity type for which the assignment will be created.
|
|
278
|
+
*/
|
|
279
|
+
PrincipalType?: PrincipalType;
|
|
280
|
+
/**
|
|
281
|
+
* The identifier of the principal.
|
|
282
|
+
*/
|
|
283
|
+
PrincipalId?: PrincipalId;
|
|
284
|
+
/**
|
|
285
|
+
* The date that the permission set was created.
|
|
286
|
+
*/
|
|
287
|
+
CreatedDate?: _Date;
|
|
288
|
+
}
|
|
289
|
+
export type AccountAssignmentOperationStatusList = AccountAssignmentOperationStatusMetadata[];
|
|
290
|
+
export interface AccountAssignmentOperationStatusMetadata {
|
|
291
|
+
/**
|
|
292
|
+
* The status of the permission set provisioning process.
|
|
293
|
+
*/
|
|
294
|
+
Status?: StatusValues;
|
|
295
|
+
/**
|
|
296
|
+
* The identifier for tracking the request operation that is generated by the universally unique identifier (UUID) workflow.
|
|
297
|
+
*/
|
|
298
|
+
RequestId?: UUId;
|
|
299
|
+
/**
|
|
300
|
+
* The date that the permission set was created.
|
|
301
|
+
*/
|
|
302
|
+
CreatedDate?: _Date;
|
|
303
|
+
}
|
|
304
|
+
export type AccountId = string;
|
|
305
|
+
export type AccountList = AccountId[];
|
|
306
|
+
export interface AttachManagedPolicyToPermissionSetRequest {
|
|
307
|
+
/**
|
|
308
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
309
|
+
*/
|
|
310
|
+
InstanceArn: InstanceArn;
|
|
311
|
+
/**
|
|
312
|
+
* The ARN of the PermissionSet that the managed policy should be attached to.
|
|
313
|
+
*/
|
|
314
|
+
PermissionSetArn: PermissionSetArn;
|
|
315
|
+
/**
|
|
316
|
+
* The IAM managed policy ARN to be attached to a permission set.
|
|
317
|
+
*/
|
|
318
|
+
ManagedPolicyArn: ManagedPolicyArn;
|
|
319
|
+
}
|
|
320
|
+
export interface AttachManagedPolicyToPermissionSetResponse {
|
|
321
|
+
}
|
|
322
|
+
export interface AttachedManagedPolicy {
|
|
323
|
+
/**
|
|
324
|
+
* The name of the IAM managed policy.
|
|
325
|
+
*/
|
|
326
|
+
Name?: Name;
|
|
327
|
+
/**
|
|
328
|
+
* The ARN of the IAM managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
329
|
+
*/
|
|
330
|
+
Arn?: ManagedPolicyArn;
|
|
331
|
+
}
|
|
332
|
+
export type AttachedManagedPolicyList = AttachedManagedPolicy[];
|
|
333
|
+
export interface CreateAccountAssignmentRequest {
|
|
334
|
+
/**
|
|
335
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
336
|
+
*/
|
|
337
|
+
InstanceArn: InstanceArn;
|
|
338
|
+
/**
|
|
339
|
+
* The identifier for the chosen target.
|
|
340
|
+
*/
|
|
341
|
+
TargetId: TargetId;
|
|
342
|
+
/**
|
|
343
|
+
* The entity type for which the assignment will be created.
|
|
344
|
+
*/
|
|
345
|
+
TargetType: TargetType;
|
|
346
|
+
/**
|
|
347
|
+
* The ARN of the permission set that the admin wants to grant the principal access to.
|
|
348
|
+
*/
|
|
349
|
+
PermissionSetArn: PermissionSetArn;
|
|
350
|
+
/**
|
|
351
|
+
* The entity type for which the assignment will be created.
|
|
352
|
+
*/
|
|
353
|
+
PrincipalType: PrincipalType;
|
|
354
|
+
/**
|
|
355
|
+
* The identifier of the principal.
|
|
356
|
+
*/
|
|
357
|
+
PrincipalId: PrincipalId;
|
|
358
|
+
}
|
|
359
|
+
export interface CreateAccountAssignmentResponse {
|
|
360
|
+
/**
|
|
361
|
+
* The status object for the account assignment creation operation.
|
|
362
|
+
*/
|
|
363
|
+
AccountAssignmentCreationStatus?: AccountAssignmentOperationStatus;
|
|
364
|
+
}
|
|
365
|
+
export interface CreatePermissionSetRequest {
|
|
366
|
+
/**
|
|
367
|
+
* The name of the PermissionSet.
|
|
368
|
+
*/
|
|
369
|
+
Name: PermissionSetName;
|
|
370
|
+
/**
|
|
371
|
+
* The description of the PermissionSet.
|
|
372
|
+
*/
|
|
373
|
+
Description?: PermissionSetDescription;
|
|
374
|
+
/**
|
|
375
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
376
|
+
*/
|
|
377
|
+
InstanceArn: InstanceArn;
|
|
378
|
+
/**
|
|
379
|
+
* The length of time that the application user sessions are valid in the ISO-8601 standard.
|
|
380
|
+
*/
|
|
381
|
+
SessionDuration?: Duration;
|
|
382
|
+
/**
|
|
383
|
+
* Used to redirect users within the application during the federation authentication process.
|
|
384
|
+
*/
|
|
385
|
+
RelayState?: RelayState;
|
|
386
|
+
/**
|
|
387
|
+
* The tags to attach to the new PermissionSet.
|
|
388
|
+
*/
|
|
389
|
+
Tags?: TagList;
|
|
390
|
+
}
|
|
391
|
+
export interface CreatePermissionSetResponse {
|
|
392
|
+
/**
|
|
393
|
+
* Defines the level of access on an AWS account.
|
|
394
|
+
*/
|
|
395
|
+
PermissionSet?: PermissionSet;
|
|
396
|
+
}
|
|
397
|
+
export type _Date = Date;
|
|
398
|
+
export interface DeleteAccountAssignmentRequest {
|
|
399
|
+
/**
|
|
400
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
401
|
+
*/
|
|
402
|
+
InstanceArn: InstanceArn;
|
|
403
|
+
/**
|
|
404
|
+
* The identifier for the chosen target.
|
|
405
|
+
*/
|
|
406
|
+
TargetId: TargetId;
|
|
407
|
+
/**
|
|
408
|
+
* The entity type for which the assignment will be deleted.
|
|
409
|
+
*/
|
|
410
|
+
TargetType: TargetType;
|
|
411
|
+
/**
|
|
412
|
+
* The ARN of the permission set that will be used to remove access.
|
|
413
|
+
*/
|
|
414
|
+
PermissionSetArn: PermissionSetArn;
|
|
415
|
+
/**
|
|
416
|
+
* The entity type for which the assignment will be deleted.
|
|
417
|
+
*/
|
|
418
|
+
PrincipalType: PrincipalType;
|
|
419
|
+
/**
|
|
420
|
+
* The identifier of the principal.
|
|
421
|
+
*/
|
|
422
|
+
PrincipalId: PrincipalId;
|
|
423
|
+
}
|
|
424
|
+
export interface DeleteAccountAssignmentResponse {
|
|
425
|
+
/**
|
|
426
|
+
* The status object for the account assignment deletion operation.
|
|
427
|
+
*/
|
|
428
|
+
AccountAssignmentDeletionStatus?: AccountAssignmentOperationStatus;
|
|
429
|
+
}
|
|
430
|
+
export interface DeleteInlinePolicyFromPermissionSetRequest {
|
|
431
|
+
/**
|
|
432
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
433
|
+
*/
|
|
434
|
+
InstanceArn: InstanceArn;
|
|
435
|
+
/**
|
|
436
|
+
* The ARN of the permission set that will be used to remove access.
|
|
437
|
+
*/
|
|
438
|
+
PermissionSetArn: PermissionSetArn;
|
|
439
|
+
}
|
|
440
|
+
export interface DeleteInlinePolicyFromPermissionSetResponse {
|
|
441
|
+
}
|
|
442
|
+
export interface DeletePermissionSetRequest {
|
|
443
|
+
/**
|
|
444
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
445
|
+
*/
|
|
446
|
+
InstanceArn: InstanceArn;
|
|
447
|
+
/**
|
|
448
|
+
* The ARN of the permission set that should be deleted.
|
|
449
|
+
*/
|
|
450
|
+
PermissionSetArn: PermissionSetArn;
|
|
451
|
+
}
|
|
452
|
+
export interface DeletePermissionSetResponse {
|
|
453
|
+
}
|
|
454
|
+
export interface DescribeAccountAssignmentCreationStatusRequest {
|
|
455
|
+
/**
|
|
456
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
457
|
+
*/
|
|
458
|
+
InstanceArn: InstanceArn;
|
|
459
|
+
/**
|
|
460
|
+
* The identifier that is used to track the request operation progress.
|
|
461
|
+
*/
|
|
462
|
+
AccountAssignmentCreationRequestId: UUId;
|
|
463
|
+
}
|
|
464
|
+
export interface DescribeAccountAssignmentCreationStatusResponse {
|
|
465
|
+
/**
|
|
466
|
+
* The status object for the account assignment creation operation.
|
|
467
|
+
*/
|
|
468
|
+
AccountAssignmentCreationStatus?: AccountAssignmentOperationStatus;
|
|
469
|
+
}
|
|
470
|
+
export interface DescribeAccountAssignmentDeletionStatusRequest {
|
|
471
|
+
/**
|
|
472
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
473
|
+
*/
|
|
474
|
+
InstanceArn: InstanceArn;
|
|
475
|
+
/**
|
|
476
|
+
* The identifier that is used to track the request operation progress.
|
|
477
|
+
*/
|
|
478
|
+
AccountAssignmentDeletionRequestId: UUId;
|
|
479
|
+
}
|
|
480
|
+
export interface DescribeAccountAssignmentDeletionStatusResponse {
|
|
481
|
+
/**
|
|
482
|
+
* The status object for the account assignment deletion operation.
|
|
483
|
+
*/
|
|
484
|
+
AccountAssignmentDeletionStatus?: AccountAssignmentOperationStatus;
|
|
485
|
+
}
|
|
486
|
+
export interface DescribePermissionSetProvisioningStatusRequest {
|
|
487
|
+
/**
|
|
488
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
489
|
+
*/
|
|
490
|
+
InstanceArn: InstanceArn;
|
|
491
|
+
/**
|
|
492
|
+
* The identifier that is provided by the ProvisionPermissionSet call to retrieve the current status of the provisioning workflow.
|
|
493
|
+
*/
|
|
494
|
+
ProvisionPermissionSetRequestId: UUId;
|
|
495
|
+
}
|
|
496
|
+
export interface DescribePermissionSetProvisioningStatusResponse {
|
|
497
|
+
/**
|
|
498
|
+
* The status object for the permission set provisioning operation.
|
|
499
|
+
*/
|
|
500
|
+
PermissionSetProvisioningStatus?: PermissionSetProvisioningStatus;
|
|
501
|
+
}
|
|
502
|
+
export interface DescribePermissionSetRequest {
|
|
503
|
+
/**
|
|
504
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
505
|
+
*/
|
|
506
|
+
InstanceArn: InstanceArn;
|
|
507
|
+
/**
|
|
508
|
+
* The ARN of the permission set.
|
|
509
|
+
*/
|
|
510
|
+
PermissionSetArn: PermissionSetArn;
|
|
511
|
+
}
|
|
512
|
+
export interface DescribePermissionSetResponse {
|
|
513
|
+
/**
|
|
514
|
+
* Describes the level of access on an AWS account.
|
|
515
|
+
*/
|
|
516
|
+
PermissionSet?: PermissionSet;
|
|
517
|
+
}
|
|
518
|
+
export interface DetachManagedPolicyFromPermissionSetRequest {
|
|
519
|
+
/**
|
|
520
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
521
|
+
*/
|
|
522
|
+
InstanceArn: InstanceArn;
|
|
523
|
+
/**
|
|
524
|
+
* The ARN of the PermissionSet from which the policy should be detached.
|
|
525
|
+
*/
|
|
526
|
+
PermissionSetArn: PermissionSetArn;
|
|
527
|
+
/**
|
|
528
|
+
* The IAM managed policy ARN to be attached to a permission set.
|
|
529
|
+
*/
|
|
530
|
+
ManagedPolicyArn: ManagedPolicyArn;
|
|
531
|
+
}
|
|
532
|
+
export interface DetachManagedPolicyFromPermissionSetResponse {
|
|
533
|
+
}
|
|
534
|
+
export type Duration = string;
|
|
535
|
+
export type GeneralArn = string;
|
|
536
|
+
export interface GetInlinePolicyForPermissionSetRequest {
|
|
537
|
+
/**
|
|
538
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
539
|
+
*/
|
|
540
|
+
InstanceArn: InstanceArn;
|
|
541
|
+
/**
|
|
542
|
+
* The ARN of the permission set.
|
|
543
|
+
*/
|
|
544
|
+
PermissionSetArn: PermissionSetArn;
|
|
545
|
+
}
|
|
546
|
+
export interface GetInlinePolicyForPermissionSetResponse {
|
|
547
|
+
/**
|
|
548
|
+
* The IAM inline policy that is attached to the permission set.
|
|
549
|
+
*/
|
|
550
|
+
InlinePolicy?: PermissionSetPolicyDocument;
|
|
551
|
+
}
|
|
552
|
+
export type Id = string;
|
|
553
|
+
export type InstanceArn = string;
|
|
554
|
+
export type InstanceList = InstanceMetadata[];
|
|
555
|
+
export interface InstanceMetadata {
|
|
556
|
+
/**
|
|
557
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
558
|
+
*/
|
|
559
|
+
InstanceArn?: InstanceArn;
|
|
560
|
+
/**
|
|
561
|
+
* The identifier of the identity store that is connected to the SSO instance.
|
|
562
|
+
*/
|
|
563
|
+
IdentityStoreId?: Id;
|
|
564
|
+
}
|
|
565
|
+
export interface ListAccountAssignmentCreationStatusRequest {
|
|
566
|
+
/**
|
|
567
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
568
|
+
*/
|
|
569
|
+
InstanceArn: InstanceArn;
|
|
570
|
+
/**
|
|
571
|
+
* The maximum number of results to display for the assignment.
|
|
572
|
+
*/
|
|
573
|
+
MaxResults?: MaxResults;
|
|
574
|
+
/**
|
|
575
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
576
|
+
*/
|
|
577
|
+
NextToken?: Token;
|
|
578
|
+
/**
|
|
579
|
+
* Filters results based on the passed attribute value.
|
|
580
|
+
*/
|
|
581
|
+
Filter?: OperationStatusFilter;
|
|
582
|
+
}
|
|
583
|
+
export interface ListAccountAssignmentCreationStatusResponse {
|
|
584
|
+
/**
|
|
585
|
+
* The status object for the account assignment creation operation.
|
|
586
|
+
*/
|
|
587
|
+
AccountAssignmentsCreationStatus?: AccountAssignmentOperationStatusList;
|
|
588
|
+
/**
|
|
589
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
590
|
+
*/
|
|
591
|
+
NextToken?: Token;
|
|
592
|
+
}
|
|
593
|
+
export interface ListAccountAssignmentDeletionStatusRequest {
|
|
594
|
+
/**
|
|
595
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
596
|
+
*/
|
|
597
|
+
InstanceArn: InstanceArn;
|
|
598
|
+
/**
|
|
599
|
+
* The maximum number of results to display for the assignment.
|
|
600
|
+
*/
|
|
601
|
+
MaxResults?: MaxResults;
|
|
602
|
+
/**
|
|
603
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
604
|
+
*/
|
|
605
|
+
NextToken?: Token;
|
|
606
|
+
/**
|
|
607
|
+
* Filters results based on the passed attribute value.
|
|
608
|
+
*/
|
|
609
|
+
Filter?: OperationStatusFilter;
|
|
610
|
+
}
|
|
611
|
+
export interface ListAccountAssignmentDeletionStatusResponse {
|
|
612
|
+
/**
|
|
613
|
+
* The status object for the account assignment deletion operation.
|
|
614
|
+
*/
|
|
615
|
+
AccountAssignmentsDeletionStatus?: AccountAssignmentOperationStatusList;
|
|
616
|
+
/**
|
|
617
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
618
|
+
*/
|
|
619
|
+
NextToken?: Token;
|
|
620
|
+
}
|
|
621
|
+
export interface ListAccountAssignmentsRequest {
|
|
622
|
+
/**
|
|
623
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
624
|
+
*/
|
|
625
|
+
InstanceArn: InstanceArn;
|
|
626
|
+
/**
|
|
627
|
+
* The identifier of the AWS account from which to list the assignments.
|
|
628
|
+
*/
|
|
629
|
+
AccountId: TargetId;
|
|
630
|
+
/**
|
|
631
|
+
* The ARN of the permission set from which to list assignments.
|
|
632
|
+
*/
|
|
633
|
+
PermissionSetArn: PermissionSetArn;
|
|
634
|
+
/**
|
|
635
|
+
* The maximum number of results to display for the assignment.
|
|
636
|
+
*/
|
|
637
|
+
MaxResults?: MaxResults;
|
|
638
|
+
/**
|
|
639
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
640
|
+
*/
|
|
641
|
+
NextToken?: Token;
|
|
642
|
+
}
|
|
643
|
+
export interface ListAccountAssignmentsResponse {
|
|
644
|
+
/**
|
|
645
|
+
* The list of assignments that match the input AWS account and permission set.
|
|
646
|
+
*/
|
|
647
|
+
AccountAssignments?: AccountAssignmentList;
|
|
648
|
+
/**
|
|
649
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
650
|
+
*/
|
|
651
|
+
NextToken?: Token;
|
|
652
|
+
}
|
|
653
|
+
export interface ListAccountsForProvisionedPermissionSetRequest {
|
|
654
|
+
/**
|
|
655
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
656
|
+
*/
|
|
657
|
+
InstanceArn: InstanceArn;
|
|
658
|
+
/**
|
|
659
|
+
* The ARN of the PermissionSet from which the associated AWS accounts will be listed.
|
|
660
|
+
*/
|
|
661
|
+
PermissionSetArn: PermissionSetArn;
|
|
662
|
+
/**
|
|
663
|
+
* The permission set provisioning status for an AWS account.
|
|
664
|
+
*/
|
|
665
|
+
ProvisioningStatus?: ProvisioningStatus;
|
|
666
|
+
/**
|
|
667
|
+
* The maximum number of results to display for the PermissionSet.
|
|
668
|
+
*/
|
|
669
|
+
MaxResults?: MaxResults;
|
|
670
|
+
/**
|
|
671
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
672
|
+
*/
|
|
673
|
+
NextToken?: Token;
|
|
674
|
+
}
|
|
675
|
+
export interface ListAccountsForProvisionedPermissionSetResponse {
|
|
676
|
+
/**
|
|
677
|
+
* The list of AWS AccountIds.
|
|
678
|
+
*/
|
|
679
|
+
AccountIds?: AccountList;
|
|
680
|
+
/**
|
|
681
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
682
|
+
*/
|
|
683
|
+
NextToken?: Token;
|
|
684
|
+
}
|
|
685
|
+
export interface ListInstancesRequest {
|
|
686
|
+
/**
|
|
687
|
+
* The maximum number of results to display for the instance.
|
|
688
|
+
*/
|
|
689
|
+
MaxResults?: MaxResults;
|
|
690
|
+
/**
|
|
691
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
692
|
+
*/
|
|
693
|
+
NextToken?: Token;
|
|
694
|
+
}
|
|
695
|
+
export interface ListInstancesResponse {
|
|
696
|
+
/**
|
|
697
|
+
* Lists the SSO instances that the caller has access to.
|
|
698
|
+
*/
|
|
699
|
+
Instances?: InstanceList;
|
|
700
|
+
/**
|
|
701
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
702
|
+
*/
|
|
703
|
+
NextToken?: Token;
|
|
704
|
+
}
|
|
705
|
+
export interface ListManagedPoliciesInPermissionSetRequest {
|
|
706
|
+
/**
|
|
707
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
708
|
+
*/
|
|
709
|
+
InstanceArn: InstanceArn;
|
|
710
|
+
/**
|
|
711
|
+
* The ARN of the PermissionSet whose managed policies will be listed.
|
|
712
|
+
*/
|
|
713
|
+
PermissionSetArn: PermissionSetArn;
|
|
714
|
+
/**
|
|
715
|
+
* The maximum number of results to display for the PermissionSet.
|
|
716
|
+
*/
|
|
717
|
+
MaxResults?: MaxResults;
|
|
718
|
+
/**
|
|
719
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
720
|
+
*/
|
|
721
|
+
NextToken?: Token;
|
|
722
|
+
}
|
|
723
|
+
export interface ListManagedPoliciesInPermissionSetResponse {
|
|
724
|
+
/**
|
|
725
|
+
* The array of the AttachedManagedPolicy data type object.
|
|
726
|
+
*/
|
|
727
|
+
AttachedManagedPolicies?: AttachedManagedPolicyList;
|
|
728
|
+
/**
|
|
729
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
730
|
+
*/
|
|
731
|
+
NextToken?: Token;
|
|
732
|
+
}
|
|
733
|
+
export interface ListPermissionSetProvisioningStatusRequest {
|
|
734
|
+
/**
|
|
735
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
736
|
+
*/
|
|
737
|
+
InstanceArn: InstanceArn;
|
|
738
|
+
/**
|
|
739
|
+
* The maximum number of results to display for the assignment.
|
|
740
|
+
*/
|
|
741
|
+
MaxResults?: MaxResults;
|
|
742
|
+
/**
|
|
743
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
744
|
+
*/
|
|
745
|
+
NextToken?: Token;
|
|
746
|
+
/**
|
|
747
|
+
* Filters results based on the passed attribute value.
|
|
748
|
+
*/
|
|
749
|
+
Filter?: OperationStatusFilter;
|
|
750
|
+
}
|
|
751
|
+
export interface ListPermissionSetProvisioningStatusResponse {
|
|
752
|
+
/**
|
|
753
|
+
* The status object for the permission set provisioning operation.
|
|
754
|
+
*/
|
|
755
|
+
PermissionSetsProvisioningStatus?: PermissionSetProvisioningStatusList;
|
|
756
|
+
/**
|
|
757
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
758
|
+
*/
|
|
759
|
+
NextToken?: Token;
|
|
760
|
+
}
|
|
761
|
+
export interface ListPermissionSetsProvisionedToAccountRequest {
|
|
762
|
+
/**
|
|
763
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
764
|
+
*/
|
|
765
|
+
InstanceArn: InstanceArn;
|
|
766
|
+
/**
|
|
767
|
+
* The identifier of the AWS account from which to list the assignments.
|
|
768
|
+
*/
|
|
769
|
+
AccountId: AccountId;
|
|
770
|
+
/**
|
|
771
|
+
* The status object for the permission set provisioning operation.
|
|
772
|
+
*/
|
|
773
|
+
ProvisioningStatus?: ProvisioningStatus;
|
|
774
|
+
/**
|
|
775
|
+
* The maximum number of results to display for the assignment.
|
|
776
|
+
*/
|
|
777
|
+
MaxResults?: MaxResults;
|
|
778
|
+
/**
|
|
779
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
780
|
+
*/
|
|
781
|
+
NextToken?: Token;
|
|
782
|
+
}
|
|
783
|
+
export interface ListPermissionSetsProvisionedToAccountResponse {
|
|
784
|
+
/**
|
|
785
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
786
|
+
*/
|
|
787
|
+
NextToken?: Token;
|
|
788
|
+
/**
|
|
789
|
+
* Defines the level of access that an AWS account has.
|
|
790
|
+
*/
|
|
791
|
+
PermissionSets?: PermissionSetList;
|
|
792
|
+
}
|
|
793
|
+
export interface ListPermissionSetsRequest {
|
|
794
|
+
/**
|
|
795
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
796
|
+
*/
|
|
797
|
+
InstanceArn: InstanceArn;
|
|
798
|
+
/**
|
|
799
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
800
|
+
*/
|
|
801
|
+
NextToken?: Token;
|
|
802
|
+
/**
|
|
803
|
+
* The maximum number of results to display for the assignment.
|
|
804
|
+
*/
|
|
805
|
+
MaxResults?: MaxResults;
|
|
806
|
+
}
|
|
807
|
+
export interface ListPermissionSetsResponse {
|
|
808
|
+
/**
|
|
809
|
+
* Defines the level of access on an AWS account.
|
|
810
|
+
*/
|
|
811
|
+
PermissionSets?: PermissionSetList;
|
|
812
|
+
/**
|
|
813
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
814
|
+
*/
|
|
815
|
+
NextToken?: Token;
|
|
816
|
+
}
|
|
817
|
+
export interface ListTagsForResourceRequest {
|
|
818
|
+
/**
|
|
819
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
820
|
+
*/
|
|
821
|
+
InstanceArn: InstanceArn;
|
|
822
|
+
/**
|
|
823
|
+
* The ARN of the resource with the tags to be listed.
|
|
824
|
+
*/
|
|
825
|
+
ResourceArn: GeneralArn;
|
|
826
|
+
/**
|
|
827
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
828
|
+
*/
|
|
829
|
+
NextToken?: Token;
|
|
830
|
+
}
|
|
831
|
+
export interface ListTagsForResourceResponse {
|
|
832
|
+
/**
|
|
833
|
+
* A set of key-value pairs that are used to manage the resource.
|
|
834
|
+
*/
|
|
835
|
+
Tags?: TagList;
|
|
836
|
+
/**
|
|
837
|
+
* The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
|
|
838
|
+
*/
|
|
839
|
+
NextToken?: Token;
|
|
840
|
+
}
|
|
841
|
+
export type ManagedPolicyArn = string;
|
|
842
|
+
export type MaxResults = number;
|
|
843
|
+
export type Name = string;
|
|
844
|
+
export interface OperationStatusFilter {
|
|
845
|
+
/**
|
|
846
|
+
* Filters the list operations result based on the status attribute.
|
|
847
|
+
*/
|
|
848
|
+
Status?: StatusValues;
|
|
849
|
+
}
|
|
850
|
+
export interface PermissionSet {
|
|
851
|
+
/**
|
|
852
|
+
* The name of the permission set.
|
|
853
|
+
*/
|
|
854
|
+
Name?: PermissionSetName;
|
|
855
|
+
/**
|
|
856
|
+
* The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
857
|
+
*/
|
|
858
|
+
PermissionSetArn?: PermissionSetArn;
|
|
859
|
+
/**
|
|
860
|
+
* The description of the PermissionSet.
|
|
861
|
+
*/
|
|
862
|
+
Description?: PermissionSetDescription;
|
|
863
|
+
/**
|
|
864
|
+
* The date that the permission set was created.
|
|
865
|
+
*/
|
|
866
|
+
CreatedDate?: _Date;
|
|
867
|
+
/**
|
|
868
|
+
* The length of time that the application user sessions are valid for in the ISO-8601 standard.
|
|
869
|
+
*/
|
|
870
|
+
SessionDuration?: Duration;
|
|
871
|
+
/**
|
|
872
|
+
* Used to redirect users within the application during the federation authentication process.
|
|
873
|
+
*/
|
|
874
|
+
RelayState?: RelayState;
|
|
875
|
+
}
|
|
876
|
+
export type PermissionSetArn = string;
|
|
877
|
+
export type PermissionSetDescription = string;
|
|
878
|
+
export type PermissionSetList = PermissionSetArn[];
|
|
879
|
+
export type PermissionSetName = string;
|
|
880
|
+
export type PermissionSetPolicyDocument = string;
|
|
881
|
+
export interface PermissionSetProvisioningStatus {
|
|
882
|
+
/**
|
|
883
|
+
* The status of the permission set provisioning process.
|
|
884
|
+
*/
|
|
885
|
+
Status?: StatusValues;
|
|
886
|
+
/**
|
|
887
|
+
* The identifier for tracking the request operation that is generated by the universally unique identifier (UUID) workflow.
|
|
888
|
+
*/
|
|
889
|
+
RequestId?: UUId;
|
|
890
|
+
/**
|
|
891
|
+
* The identifier of the AWS account from which to list the assignments.
|
|
892
|
+
*/
|
|
893
|
+
AccountId?: AccountId;
|
|
894
|
+
/**
|
|
895
|
+
* The ARN of the permission set that is being provisioned. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
896
|
+
*/
|
|
897
|
+
PermissionSetArn?: PermissionSetArn;
|
|
898
|
+
/**
|
|
899
|
+
* The message that contains an error or exception in case of an operation failure.
|
|
900
|
+
*/
|
|
901
|
+
FailureReason?: Reason;
|
|
902
|
+
/**
|
|
903
|
+
* The date that the permission set was created.
|
|
904
|
+
*/
|
|
905
|
+
CreatedDate?: _Date;
|
|
906
|
+
}
|
|
907
|
+
export type PermissionSetProvisioningStatusList = PermissionSetProvisioningStatusMetadata[];
|
|
908
|
+
export interface PermissionSetProvisioningStatusMetadata {
|
|
909
|
+
/**
|
|
910
|
+
* The status of the permission set provisioning process.
|
|
911
|
+
*/
|
|
912
|
+
Status?: StatusValues;
|
|
913
|
+
/**
|
|
914
|
+
* The identifier for tracking the request operation that is generated by the universally unique identifier (UUID) workflow.
|
|
915
|
+
*/
|
|
916
|
+
RequestId?: UUId;
|
|
917
|
+
/**
|
|
918
|
+
* The date that the permission set was created.
|
|
919
|
+
*/
|
|
920
|
+
CreatedDate?: _Date;
|
|
921
|
+
}
|
|
922
|
+
export type PrincipalId = string;
|
|
923
|
+
export type PrincipalType = "USER"|"GROUP"|string;
|
|
924
|
+
export interface ProvisionPermissionSetRequest {
|
|
925
|
+
/**
|
|
926
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
927
|
+
*/
|
|
928
|
+
InstanceArn: InstanceArn;
|
|
929
|
+
/**
|
|
930
|
+
* The ARN of the permission set.
|
|
931
|
+
*/
|
|
932
|
+
PermissionSetArn: PermissionSetArn;
|
|
933
|
+
/**
|
|
934
|
+
* The identifier for the chosen target.
|
|
935
|
+
*/
|
|
936
|
+
TargetId?: TargetId;
|
|
937
|
+
/**
|
|
938
|
+
* The entity type for which the assignment will be created.
|
|
939
|
+
*/
|
|
940
|
+
TargetType: ProvisionTargetType;
|
|
941
|
+
}
|
|
942
|
+
export interface ProvisionPermissionSetResponse {
|
|
943
|
+
/**
|
|
944
|
+
* The status object for the permission set provisioning operation.
|
|
945
|
+
*/
|
|
946
|
+
PermissionSetProvisioningStatus?: PermissionSetProvisioningStatus;
|
|
947
|
+
}
|
|
948
|
+
export type ProvisionTargetType = "AWS_ACCOUNT"|"ALL_PROVISIONED_ACCOUNTS"|string;
|
|
949
|
+
export type ProvisioningStatus = "LATEST_PERMISSION_SET_PROVISIONED"|"LATEST_PERMISSION_SET_NOT_PROVISIONED"|string;
|
|
950
|
+
export interface PutInlinePolicyToPermissionSetRequest {
|
|
951
|
+
/**
|
|
952
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
953
|
+
*/
|
|
954
|
+
InstanceArn: InstanceArn;
|
|
955
|
+
/**
|
|
956
|
+
* The ARN of the permission set.
|
|
957
|
+
*/
|
|
958
|
+
PermissionSetArn: PermissionSetArn;
|
|
959
|
+
/**
|
|
960
|
+
* The IAM inline policy to attach to a PermissionSet.
|
|
961
|
+
*/
|
|
962
|
+
InlinePolicy: PermissionSetPolicyDocument;
|
|
963
|
+
}
|
|
964
|
+
export interface PutInlinePolicyToPermissionSetResponse {
|
|
965
|
+
}
|
|
966
|
+
export type Reason = string;
|
|
967
|
+
export type RelayState = string;
|
|
968
|
+
export type StatusValues = "IN_PROGRESS"|"FAILED"|"SUCCEEDED"|string;
|
|
969
|
+
export interface Tag {
|
|
970
|
+
/**
|
|
971
|
+
* The key for the tag.
|
|
972
|
+
*/
|
|
973
|
+
Key?: TagKey;
|
|
974
|
+
/**
|
|
975
|
+
* The value of the tag.
|
|
976
|
+
*/
|
|
977
|
+
Value?: TagValue;
|
|
978
|
+
}
|
|
979
|
+
export type TagKey = string;
|
|
980
|
+
export type TagKeyList = TagKey[];
|
|
981
|
+
export type TagList = Tag[];
|
|
982
|
+
export interface TagResourceRequest {
|
|
983
|
+
/**
|
|
984
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
985
|
+
*/
|
|
986
|
+
InstanceArn: InstanceArn;
|
|
987
|
+
/**
|
|
988
|
+
* The ARN of the resource with the tags to be listed.
|
|
989
|
+
*/
|
|
990
|
+
ResourceArn: GeneralArn;
|
|
991
|
+
/**
|
|
992
|
+
* A set of key-value pairs that are used to manage the resource.
|
|
993
|
+
*/
|
|
994
|
+
Tags: TagList;
|
|
995
|
+
}
|
|
996
|
+
export interface TagResourceResponse {
|
|
997
|
+
}
|
|
998
|
+
export type TagValue = string;
|
|
999
|
+
export type TargetId = string;
|
|
1000
|
+
export type TargetType = "AWS_ACCOUNT"|string;
|
|
1001
|
+
export type Token = string;
|
|
1002
|
+
export type UUId = string;
|
|
1003
|
+
export interface UntagResourceRequest {
|
|
1004
|
+
/**
|
|
1005
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
1006
|
+
*/
|
|
1007
|
+
InstanceArn: InstanceArn;
|
|
1008
|
+
/**
|
|
1009
|
+
* The ARN of the resource with the tags to be listed.
|
|
1010
|
+
*/
|
|
1011
|
+
ResourceArn: GeneralArn;
|
|
1012
|
+
/**
|
|
1013
|
+
* The keys of tags that are attached to the resource.
|
|
1014
|
+
*/
|
|
1015
|
+
TagKeys: TagKeyList;
|
|
1016
|
+
}
|
|
1017
|
+
export interface UntagResourceResponse {
|
|
1018
|
+
}
|
|
1019
|
+
export interface UpdatePermissionSetRequest {
|
|
1020
|
+
/**
|
|
1021
|
+
* The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
|
|
1022
|
+
*/
|
|
1023
|
+
InstanceArn: InstanceArn;
|
|
1024
|
+
/**
|
|
1025
|
+
* The ARN of the permission set.
|
|
1026
|
+
*/
|
|
1027
|
+
PermissionSetArn: PermissionSetArn;
|
|
1028
|
+
/**
|
|
1029
|
+
* The description of the PermissionSet.
|
|
1030
|
+
*/
|
|
1031
|
+
Description?: PermissionSetDescription;
|
|
1032
|
+
/**
|
|
1033
|
+
* The length of time that the application user sessions are valid for in the ISO-8601 standard.
|
|
1034
|
+
*/
|
|
1035
|
+
SessionDuration?: Duration;
|
|
1036
|
+
/**
|
|
1037
|
+
* Used to redirect users within the application during the federation authentication process.
|
|
1038
|
+
*/
|
|
1039
|
+
RelayState?: RelayState;
|
|
1040
|
+
}
|
|
1041
|
+
export interface UpdatePermissionSetResponse {
|
|
1042
|
+
}
|
|
1043
|
+
/**
|
|
1044
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
1045
|
+
*/
|
|
1046
|
+
export type apiVersion = "2020-07-20"|"latest"|string;
|
|
1047
|
+
export interface ClientApiVersions {
|
|
1048
|
+
/**
|
|
1049
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
1050
|
+
*/
|
|
1051
|
+
apiVersion?: apiVersion;
|
|
1052
|
+
}
|
|
1053
|
+
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
|
1054
|
+
/**
|
|
1055
|
+
* Contains interfaces for use with the SSOAdmin client.
|
|
1056
|
+
*/
|
|
1057
|
+
export import Types = SSOAdmin;
|
|
1058
|
+
}
|
|
1059
|
+
export = SSOAdmin;
|