mypy-boto3-sso-admin 1.28.37__py3-none-any.whl → 1.29.0__py3-none-any.whl

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.
@@ -37,6 +37,7 @@ Usage::
37
37
  list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
38
38
  ```
39
39
  """
40
+
40
41
  from .client import SSOAdminClient
41
42
  from .paginator import (
42
43
  ListAccountAssignmentCreationStatusPaginator,
@@ -37,6 +37,7 @@ Usage::
37
37
  list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
38
38
  ```
39
39
  """
40
+
40
41
  from .client import SSOAdminClient
41
42
  from .paginator import (
42
43
  ListAccountAssignmentCreationStatusPaginator,
@@ -1,6 +1,7 @@
1
1
  """
2
2
  Main CLI entrypoint.
3
3
  """
4
+
4
5
  import sys
5
6
 
6
7
 
@@ -9,8 +10,8 @@ def print_info() -> None:
9
10
  Print package info to stdout.
10
11
  """
11
12
  print(
12
- "Type annotations for boto3.SSOAdmin 1.28.37\nVersion: 1.28.37\nBuilder version:"
13
- " 7.18.2\nDocs: "
13
+ "Type annotations for boto3.SSOAdmin 1.29.0\nVersion: 1.29.0\nBuilder version:"
14
+ " 7.20.3\nDocs: "
14
15
  " https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin//\nBoto3 docs: "
15
16
  " https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin\nOther"
16
17
  " services: https://pypi.org/project/boto3-stubs/\nChangelog: "
@@ -22,7 +23,7 @@ def print_version() -> None:
22
23
  """
23
24
  Print package version to stdout.
24
25
  """
25
- print("1.28.37")
26
+ print("1.29.0")
26
27
 
27
28
 
28
29
  def main() -> None:
@@ -13,6 +13,7 @@ Usage::
13
13
  client: SSOAdminClient = session.client("sso-admin")
14
14
  ```
15
15
  """
16
+
16
17
  import sys
17
18
  from typing import Any, Dict, Mapping, Sequence, Type, overload
18
19
 
@@ -71,7 +72,7 @@ else:
71
72
  __all__ = ("SSOAdminClient",)
72
73
 
73
74
 
74
- class BotocoreClientError(BaseException):
75
+ class BotocoreClientError(Exception):
75
76
  MSG_TEMPLATE: str
76
77
 
77
78
  def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
@@ -110,9 +111,9 @@ class SSOAdminClient(BaseClient):
110
111
  def attach_customer_managed_policy_reference_to_permission_set(
111
112
  self,
112
113
  *,
114
+ CustomerManagedPolicyReference: CustomerManagedPolicyReferenceTypeDef,
113
115
  InstanceArn: str,
114
- PermissionSetArn: str,
115
- CustomerManagedPolicyReference: CustomerManagedPolicyReferenceTypeDef
116
+ PermissionSetArn: str
116
117
  ) -> Dict[str, Any]:
117
118
  """
118
119
  Attaches the specified customer managed policy to the specified PermissionSet.
@@ -122,10 +123,10 @@ class SSOAdminClient(BaseClient):
122
123
  """
123
124
 
124
125
  def attach_managed_policy_to_permission_set(
125
- self, *, InstanceArn: str, PermissionSetArn: str, ManagedPolicyArn: str
126
+ self, *, InstanceArn: str, ManagedPolicyArn: str, PermissionSetArn: str
126
127
  ) -> Dict[str, Any]:
127
128
  """
128
- Attaches an AWS managed policy ARN to a permission set.
129
+ Attaches an Amazon Web Services managed policy ARN to a permission set.
129
130
 
130
131
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.attach_managed_policy_to_permission_set)
131
132
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#attach_managed_policy_to_permission_set)
@@ -151,15 +152,16 @@ class SSOAdminClient(BaseClient):
151
152
  self,
152
153
  *,
153
154
  InstanceArn: str,
154
- TargetId: str,
155
- TargetType: Literal["AWS_ACCOUNT"],
156
155
  PermissionSetArn: str,
156
+ PrincipalId: str,
157
157
  PrincipalType: PrincipalTypeType,
158
- PrincipalId: str
158
+ TargetId: str,
159
+ TargetType: Literal["AWS_ACCOUNT"]
159
160
  ) -> CreateAccountAssignmentResponseTypeDef:
160
161
  """
161
- Assigns access to a principal for a specified AWS account using a specified
162
- permission set.
162
+ Assigns access to a principal for a specified Amazon Web Services account using
163
+ a specified permission
164
+ set.
163
165
 
164
166
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.create_account_assignment)
165
167
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#create_account_assignment)
@@ -168,12 +170,13 @@ class SSOAdminClient(BaseClient):
168
170
  def create_instance_access_control_attribute_configuration(
169
171
  self,
170
172
  *,
171
- InstanceArn: str,
172
- InstanceAccessControlAttributeConfiguration: InstanceAccessControlAttributeConfigurationTypeDef
173
+ InstanceAccessControlAttributeConfiguration: InstanceAccessControlAttributeConfigurationTypeDef,
174
+ InstanceArn: str
173
175
  ) -> Dict[str, Any]:
174
176
  """
175
- Enables the attributes-based access control (ABAC) feature for the specified IAM
176
- Identity Center instance.
177
+ Enables the attributes-based access control (ABAC) feature for the specified
178
+ IAM Identity Center
179
+ instance.
177
180
 
178
181
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.create_instance_access_control_attribute_configuration)
179
182
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#create_instance_access_control_attribute_configuration)
@@ -182,11 +185,11 @@ class SSOAdminClient(BaseClient):
182
185
  def create_permission_set(
183
186
  self,
184
187
  *,
185
- Name: str,
186
188
  InstanceArn: str,
189
+ Name: str,
187
190
  Description: str = ...,
188
- SessionDuration: str = ...,
189
191
  RelayState: str = ...,
192
+ SessionDuration: str = ...,
190
193
  Tags: Sequence[TagTypeDef] = ...
191
194
  ) -> CreatePermissionSetResponseTypeDef:
192
195
  """
@@ -200,15 +203,16 @@ class SSOAdminClient(BaseClient):
200
203
  self,
201
204
  *,
202
205
  InstanceArn: str,
203
- TargetId: str,
204
- TargetType: Literal["AWS_ACCOUNT"],
205
206
  PermissionSetArn: str,
207
+ PrincipalId: str,
206
208
  PrincipalType: PrincipalTypeType,
207
- PrincipalId: str
209
+ TargetId: str,
210
+ TargetType: Literal["AWS_ACCOUNT"]
208
211
  ) -> DeleteAccountAssignmentResponseTypeDef:
209
212
  """
210
- Deletes a principal's access from a specified AWS account using a specified
211
- permission set.
213
+ Deletes a principal's access from a specified Amazon Web Services account using
214
+ a specified permission
215
+ set.
212
216
 
213
217
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.delete_account_assignment)
214
218
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_account_assignment)
@@ -229,8 +233,9 @@ class SSOAdminClient(BaseClient):
229
233
  ) -> Dict[str, Any]:
230
234
  """
231
235
  Disables the attributes-based access control (ABAC) feature for the specified
232
- IAM Identity Center instance and deletes all of the attribute mappings that have
233
- been configured.
236
+ IAM Identity Center instance and deletes all of the attribute mappings that
237
+ have been
238
+ configured.
234
239
 
235
240
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.delete_instance_access_control_attribute_configuration)
236
241
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_instance_access_control_attribute_configuration)
@@ -255,7 +260,7 @@ class SSOAdminClient(BaseClient):
255
260
  """
256
261
 
257
262
  def describe_account_assignment_creation_status(
258
- self, *, InstanceArn: str, AccountAssignmentCreationRequestId: str
263
+ self, *, AccountAssignmentCreationRequestId: str, InstanceArn: str
259
264
  ) -> DescribeAccountAssignmentCreationStatusResponseTypeDef:
260
265
  """
261
266
  Describes the status of the assignment creation request.
@@ -265,7 +270,7 @@ class SSOAdminClient(BaseClient):
265
270
  """
266
271
 
267
272
  def describe_account_assignment_deletion_status(
268
- self, *, InstanceArn: str, AccountAssignmentDeletionRequestId: str
273
+ self, *, AccountAssignmentDeletionRequestId: str, InstanceArn: str
269
274
  ) -> DescribeAccountAssignmentDeletionStatusResponseTypeDef:
270
275
  """
271
276
  Describes the status of the assignment deletion request.
@@ -278,9 +283,10 @@ class SSOAdminClient(BaseClient):
278
283
  self, *, InstanceArn: str
279
284
  ) -> DescribeInstanceAccessControlAttributeConfigurationResponseTypeDef:
280
285
  """
281
- Returns the list of IAM Identity Center identity store attributes that have been
282
- configured to work with attributes-based access control (ABAC) for the specified
283
- IAM Identity Center instance.
286
+ Returns the list of IAM Identity Center identity store attributes that have
287
+ been configured to work with attributes-based access control (ABAC) for the
288
+ specified IAM Identity Center
289
+ instance.
284
290
 
285
291
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.describe_instance_access_control_attribute_configuration)
286
292
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#describe_instance_access_control_attribute_configuration)
@@ -309,9 +315,9 @@ class SSOAdminClient(BaseClient):
309
315
  def detach_customer_managed_policy_reference_from_permission_set(
310
316
  self,
311
317
  *,
318
+ CustomerManagedPolicyReference: CustomerManagedPolicyReferenceTypeDef,
312
319
  InstanceArn: str,
313
- PermissionSetArn: str,
314
- CustomerManagedPolicyReference: CustomerManagedPolicyReferenceTypeDef
320
+ PermissionSetArn: str
315
321
  ) -> Dict[str, Any]:
316
322
  """
317
323
  Detaches the specified customer managed policy from the specified
@@ -322,10 +328,12 @@ class SSOAdminClient(BaseClient):
322
328
  """
323
329
 
324
330
  def detach_managed_policy_from_permission_set(
325
- self, *, InstanceArn: str, PermissionSetArn: str, ManagedPolicyArn: str
331
+ self, *, InstanceArn: str, ManagedPolicyArn: str, PermissionSetArn: str
326
332
  ) -> Dict[str, Any]:
327
333
  """
328
- Detaches the attached AWS managed policy ARN from the specified permission set.
334
+ Detaches the attached Amazon Web Services managed policy ARN from the specified
335
+ permission
336
+ set.
329
337
 
330
338
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.detach_managed_policy_from_permission_set)
331
339
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#detach_managed_policy_from_permission_set)
@@ -369,13 +377,14 @@ class SSOAdminClient(BaseClient):
369
377
  self,
370
378
  *,
371
379
  InstanceArn: str,
380
+ Filter: OperationStatusFilterTypeDef = ...,
372
381
  MaxResults: int = ...,
373
- NextToken: str = ...,
374
- Filter: OperationStatusFilterTypeDef = ...
382
+ NextToken: str = ...
375
383
  ) -> ListAccountAssignmentCreationStatusResponseTypeDef:
376
384
  """
377
- Lists the status of the AWS account assignment creation requests for a specified
378
- IAM Identity Center instance.
385
+ Lists the status of the Amazon Web Services account assignment creation
386
+ requests for a specified IAM Identity Center
387
+ instance.
379
388
 
380
389
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_account_assignment_creation_status)
381
390
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_account_assignment_creation_status)
@@ -385,13 +394,14 @@ class SSOAdminClient(BaseClient):
385
394
  self,
386
395
  *,
387
396
  InstanceArn: str,
397
+ Filter: OperationStatusFilterTypeDef = ...,
388
398
  MaxResults: int = ...,
389
- NextToken: str = ...,
390
- Filter: OperationStatusFilterTypeDef = ...
399
+ NextToken: str = ...
391
400
  ) -> ListAccountAssignmentDeletionStatusResponseTypeDef:
392
401
  """
393
- Lists the status of the AWS account assignment deletion requests for a specified
394
- IAM Identity Center instance.
402
+ Lists the status of the Amazon Web Services account assignment deletion
403
+ requests for a specified IAM Identity Center
404
+ instance.
395
405
 
396
406
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_account_assignment_deletion_status)
397
407
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_account_assignment_deletion_status)
@@ -400,14 +410,15 @@ class SSOAdminClient(BaseClient):
400
410
  def list_account_assignments(
401
411
  self,
402
412
  *,
403
- InstanceArn: str,
404
413
  AccountId: str,
414
+ InstanceArn: str,
405
415
  PermissionSetArn: str,
406
416
  MaxResults: int = ...,
407
417
  NextToken: str = ...
408
418
  ) -> ListAccountAssignmentsResponseTypeDef:
409
419
  """
410
- Lists the assignee of the specified AWS account with the specified permission
420
+ Lists the assignee of the specified Amazon Web Services account with the
421
+ specified permission
411
422
  set.
412
423
 
413
424
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_account_assignments)
@@ -419,12 +430,14 @@ class SSOAdminClient(BaseClient):
419
430
  *,
420
431
  InstanceArn: str,
421
432
  PermissionSetArn: str,
422
- ProvisioningStatus: ProvisioningStatusType = ...,
423
433
  MaxResults: int = ...,
424
- NextToken: str = ...
434
+ NextToken: str = ...,
435
+ ProvisioningStatus: ProvisioningStatusType = ...
425
436
  ) -> ListAccountsForProvisionedPermissionSetResponseTypeDef:
426
437
  """
427
- Lists all the AWS accounts where the specified permission set is provisioned.
438
+ Lists all the Amazon Web Services accounts where the specified permission set
439
+ is
440
+ provisioned.
428
441
 
429
442
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_accounts_for_provisioned_permission_set)
430
443
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_accounts_for_provisioned_permission_set)
@@ -464,7 +477,9 @@ class SSOAdminClient(BaseClient):
464
477
  NextToken: str = ...
465
478
  ) -> ListManagedPoliciesInPermissionSetResponseTypeDef:
466
479
  """
467
- Lists the AWS managed policy that is attached to a specified permission set.
480
+ Lists the Amazon Web Services managed policy that is attached to a specified
481
+ permission
482
+ set.
468
483
 
469
484
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_managed_policies_in_permission_set)
470
485
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_managed_policies_in_permission_set)
@@ -474,20 +489,21 @@ class SSOAdminClient(BaseClient):
474
489
  self,
475
490
  *,
476
491
  InstanceArn: str,
492
+ Filter: OperationStatusFilterTypeDef = ...,
477
493
  MaxResults: int = ...,
478
- NextToken: str = ...,
479
- Filter: OperationStatusFilterTypeDef = ...
494
+ NextToken: str = ...
480
495
  ) -> ListPermissionSetProvisioningStatusResponseTypeDef:
481
496
  """
482
- Lists the status of the permission set provisioning requests for a specified IAM
483
- Identity Center instance.
497
+ Lists the status of the permission set provisioning requests for a specified
498
+ IAM Identity Center
499
+ instance.
484
500
 
485
501
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_permission_set_provisioning_status)
486
502
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_permission_set_provisioning_status)
487
503
  """
488
504
 
489
505
  def list_permission_sets(
490
- self, *, InstanceArn: str, NextToken: str = ..., MaxResults: int = ...
506
+ self, *, InstanceArn: str, MaxResults: int = ..., NextToken: str = ...
491
507
  ) -> ListPermissionSetsResponseTypeDef:
492
508
  """
493
509
  Lists the PermissionSets in an IAM Identity Center instance.
@@ -499,14 +515,16 @@ class SSOAdminClient(BaseClient):
499
515
  def list_permission_sets_provisioned_to_account(
500
516
  self,
501
517
  *,
502
- InstanceArn: str,
503
518
  AccountId: str,
504
- ProvisioningStatus: ProvisioningStatusType = ...,
519
+ InstanceArn: str,
505
520
  MaxResults: int = ...,
506
- NextToken: str = ...
521
+ NextToken: str = ...,
522
+ ProvisioningStatus: ProvisioningStatusType = ...
507
523
  ) -> ListPermissionSetsProvisionedToAccountResponseTypeDef:
508
524
  """
509
- Lists all the permission sets that are provisioned to a specified AWS account.
525
+ Lists all the permission sets that are provisioned to a specified Amazon Web
526
+ Services
527
+ account.
510
528
 
511
529
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_permission_sets_provisioned_to_account)
512
530
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_permission_sets_provisioned_to_account)
@@ -539,7 +557,7 @@ class SSOAdminClient(BaseClient):
539
557
  """
540
558
 
541
559
  def put_inline_policy_to_permission_set(
542
- self, *, InstanceArn: str, PermissionSetArn: str, InlinePolicy: str
560
+ self, *, InlinePolicy: str, InstanceArn: str, PermissionSetArn: str
543
561
  ) -> Dict[str, Any]:
544
562
  """
545
563
  Attaches an inline policy to a permission set.
@@ -556,8 +574,9 @@ class SSOAdminClient(BaseClient):
556
574
  PermissionsBoundary: PermissionsBoundaryTypeDef
557
575
  ) -> Dict[str, Any]:
558
576
  """
559
- Attaches an AWS managed or customer managed policy to the specified
560
- PermissionSet as a permissions boundary.
577
+ Attaches an Amazon Web Services managed or customer managed policy to the
578
+ specified PermissionSet as a permissions
579
+ boundary.
561
580
 
562
581
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.put_permissions_boundary_to_permission_set)
563
582
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#put_permissions_boundary_to_permission_set)
@@ -586,12 +605,13 @@ class SSOAdminClient(BaseClient):
586
605
  def update_instance_access_control_attribute_configuration(
587
606
  self,
588
607
  *,
589
- InstanceArn: str,
590
- InstanceAccessControlAttributeConfiguration: InstanceAccessControlAttributeConfigurationTypeDef
608
+ InstanceAccessControlAttributeConfiguration: InstanceAccessControlAttributeConfigurationTypeDef,
609
+ InstanceArn: str
591
610
  ) -> Dict[str, Any]:
592
611
  """
593
612
  Updates the IAM Identity Center identity store attributes that you can use with
594
- the IAM Identity Center instance for attributes-based access control (ABAC).
613
+ the IAM Identity Center instance for attributes-based access control
614
+ (ABAC).
595
615
 
596
616
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.update_instance_access_control_attribute_configuration)
597
617
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#update_instance_access_control_attribute_configuration)
@@ -603,8 +623,8 @@ class SSOAdminClient(BaseClient):
603
623
  InstanceArn: str,
604
624
  PermissionSetArn: str,
605
625
  Description: str = ...,
606
- SessionDuration: str = ...,
607
- RelayState: str = ...
626
+ RelayState: str = ...,
627
+ SessionDuration: str = ...
608
628
  ) -> Dict[str, Any]:
609
629
  """
610
630
  Updates an existing permission set.