mypy-boto3-sso-admin 1.28.44__py3-none-any.whl → 1.29.2__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.
@@ -13,17 +13,32 @@ 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
 
19
20
  from botocore.client import BaseClient, ClientMeta
20
21
 
21
- from .literals import PrincipalTypeType, ProvisioningStatusType, ProvisionTargetTypeType
22
+ from .literals import (
23
+ ApplicationStatusType,
24
+ GrantTypeType,
25
+ PrincipalTypeType,
26
+ ProvisioningStatusType,
27
+ ProvisionTargetTypeType,
28
+ )
22
29
  from .paginator import (
23
30
  ListAccountAssignmentCreationStatusPaginator,
24
31
  ListAccountAssignmentDeletionStatusPaginator,
32
+ ListAccountAssignmentsForPrincipalPaginator,
25
33
  ListAccountAssignmentsPaginator,
26
34
  ListAccountsForProvisionedPermissionSetPaginator,
35
+ ListApplicationAccessScopesPaginator,
36
+ ListApplicationAssignmentsForPrincipalPaginator,
37
+ ListApplicationAssignmentsPaginator,
38
+ ListApplicationAuthenticationMethodsPaginator,
39
+ ListApplicationGrantsPaginator,
40
+ ListApplicationProvidersPaginator,
41
+ ListApplicationsPaginator,
27
42
  ListCustomerManagedPolicyReferencesInPermissionSetPaginator,
28
43
  ListInstancesPaginator,
29
44
  ListManagedPoliciesInPermissionSetPaginator,
@@ -31,24 +46,51 @@ from .paginator import (
31
46
  ListPermissionSetsPaginator,
32
47
  ListPermissionSetsProvisionedToAccountPaginator,
33
48
  ListTagsForResourcePaginator,
49
+ ListTrustedTokenIssuersPaginator,
34
50
  )
35
51
  from .type_defs import (
52
+ AuthenticationMethodTypeDef,
36
53
  CreateAccountAssignmentResponseTypeDef,
54
+ CreateApplicationResponseTypeDef,
55
+ CreateInstanceResponseTypeDef,
37
56
  CreatePermissionSetResponseTypeDef,
57
+ CreateTrustedTokenIssuerResponseTypeDef,
38
58
  CustomerManagedPolicyReferenceTypeDef,
39
59
  DeleteAccountAssignmentResponseTypeDef,
40
60
  DescribeAccountAssignmentCreationStatusResponseTypeDef,
41
61
  DescribeAccountAssignmentDeletionStatusResponseTypeDef,
62
+ DescribeApplicationAssignmentResponseTypeDef,
63
+ DescribeApplicationProviderResponseTypeDef,
64
+ DescribeApplicationResponseTypeDef,
42
65
  DescribeInstanceAccessControlAttributeConfigurationResponseTypeDef,
66
+ DescribeInstanceResponseTypeDef,
43
67
  DescribePermissionSetProvisioningStatusResponseTypeDef,
44
68
  DescribePermissionSetResponseTypeDef,
69
+ DescribeTrustedTokenIssuerResponseTypeDef,
70
+ EmptyResponseMetadataTypeDef,
71
+ GetApplicationAccessScopeResponseTypeDef,
72
+ GetApplicationAssignmentConfigurationResponseTypeDef,
73
+ GetApplicationAuthenticationMethodResponseTypeDef,
74
+ GetApplicationGrantResponseTypeDef,
45
75
  GetInlinePolicyForPermissionSetResponseTypeDef,
46
76
  GetPermissionsBoundaryForPermissionSetResponseTypeDef,
77
+ GrantTypeDef,
47
78
  InstanceAccessControlAttributeConfigurationTypeDef,
48
79
  ListAccountAssignmentCreationStatusResponseTypeDef,
49
80
  ListAccountAssignmentDeletionStatusResponseTypeDef,
81
+ ListAccountAssignmentsFilterTypeDef,
82
+ ListAccountAssignmentsForPrincipalResponseTypeDef,
50
83
  ListAccountAssignmentsResponseTypeDef,
51
84
  ListAccountsForProvisionedPermissionSetResponseTypeDef,
85
+ ListApplicationAccessScopesResponseTypeDef,
86
+ ListApplicationAssignmentsFilterTypeDef,
87
+ ListApplicationAssignmentsForPrincipalResponseTypeDef,
88
+ ListApplicationAssignmentsResponseTypeDef,
89
+ ListApplicationAuthenticationMethodsResponseTypeDef,
90
+ ListApplicationGrantsResponseTypeDef,
91
+ ListApplicationProvidersResponseTypeDef,
92
+ ListApplicationsFilterTypeDef,
93
+ ListApplicationsResponseTypeDef,
52
94
  ListCustomerManagedPolicyReferencesInPermissionSetResponseTypeDef,
53
95
  ListInstancesResponseTypeDef,
54
96
  ListManagedPoliciesInPermissionSetResponseTypeDef,
@@ -56,10 +98,15 @@ from .type_defs import (
56
98
  ListPermissionSetsProvisionedToAccountResponseTypeDef,
57
99
  ListPermissionSetsResponseTypeDef,
58
100
  ListTagsForResourceResponseTypeDef,
101
+ ListTrustedTokenIssuersResponseTypeDef,
59
102
  OperationStatusFilterTypeDef,
60
103
  PermissionsBoundaryTypeDef,
104
+ PortalOptionsTypeDef,
61
105
  ProvisionPermissionSetResponseTypeDef,
62
106
  TagTypeDef,
107
+ TrustedTokenIssuerConfigurationTypeDef,
108
+ TrustedTokenIssuerUpdateConfigurationTypeDef,
109
+ UpdateApplicationPortalOptionsTypeDef,
63
110
  )
64
111
 
65
112
  if sys.version_info >= (3, 12):
@@ -71,7 +118,7 @@ else:
71
118
  __all__ = ("SSOAdminClient",)
72
119
 
73
120
 
74
- class BotocoreClientError(BaseException):
121
+ class BotocoreClientError(Exception):
75
122
  MSG_TEMPLATE: str
76
123
 
77
124
  def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
@@ -166,6 +213,49 @@ class SSOAdminClient(BaseClient):
166
213
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#create_account_assignment)
167
214
  """
168
215
 
216
+ def create_application(
217
+ self,
218
+ *,
219
+ ApplicationProviderArn: str,
220
+ InstanceArn: str,
221
+ Name: str,
222
+ ClientToken: str = ...,
223
+ Description: str = ...,
224
+ PortalOptions: PortalOptionsTypeDef = ...,
225
+ Status: ApplicationStatusType = ...,
226
+ Tags: Sequence[TagTypeDef] = ...
227
+ ) -> CreateApplicationResponseTypeDef:
228
+ """
229
+ Creates an application in IAM Identity Center for the given application
230
+ provider.
231
+
232
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.create_application)
233
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#create_application)
234
+ """
235
+
236
+ def create_application_assignment(
237
+ self, *, ApplicationArn: str, PrincipalId: str, PrincipalType: PrincipalTypeType
238
+ ) -> Dict[str, Any]:
239
+ """
240
+ Grant application access to a user or group.
241
+
242
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.create_application_assignment)
243
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#create_application_assignment)
244
+ """
245
+
246
+ def create_instance(
247
+ self, *, ClientToken: str = ..., Name: str = ..., Tags: Sequence[TagTypeDef] = ...
248
+ ) -> CreateInstanceResponseTypeDef:
249
+ """
250
+ Creates an instance of IAM Identity Center for a standalone Amazon Web Services
251
+ account that is not managed by Organizations or a member Amazon Web Services
252
+ account in an
253
+ organization.
254
+
255
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.create_instance)
256
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#create_instance)
257
+ """
258
+
169
259
  def create_instance_access_control_attribute_configuration(
170
260
  self,
171
261
  *,
@@ -198,6 +288,24 @@ class SSOAdminClient(BaseClient):
198
288
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#create_permission_set)
199
289
  """
200
290
 
291
+ def create_trusted_token_issuer(
292
+ self,
293
+ *,
294
+ InstanceArn: str,
295
+ Name: str,
296
+ TrustedTokenIssuerConfiguration: TrustedTokenIssuerConfigurationTypeDef,
297
+ TrustedTokenIssuerType: Literal["OIDC_JWT"],
298
+ ClientToken: str = ...,
299
+ Tags: Sequence[TagTypeDef] = ...
300
+ ) -> CreateTrustedTokenIssuerResponseTypeDef:
301
+ """
302
+ Creates a connection to a trusted token issuer in an instance of IAM Identity
303
+ Center.
304
+
305
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.create_trusted_token_issuer)
306
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#create_trusted_token_issuer)
307
+ """
308
+
201
309
  def delete_account_assignment(
202
310
  self,
203
311
  *,
@@ -217,6 +325,56 @@ class SSOAdminClient(BaseClient):
217
325
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_account_assignment)
218
326
  """
219
327
 
328
+ def delete_application(self, *, ApplicationArn: str) -> Dict[str, Any]:
329
+ """
330
+ Deletes the association with the application.
331
+
332
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.delete_application)
333
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_application)
334
+ """
335
+
336
+ def delete_application_access_scope(
337
+ self, *, ApplicationArn: str, Scope: str
338
+ ) -> EmptyResponseMetadataTypeDef:
339
+ """
340
+ Deletes an IAM Identity Center access scope from an application.
341
+
342
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.delete_application_access_scope)
343
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_application_access_scope)
344
+ """
345
+
346
+ def delete_application_assignment(
347
+ self, *, ApplicationArn: str, PrincipalId: str, PrincipalType: PrincipalTypeType
348
+ ) -> Dict[str, Any]:
349
+ """
350
+ Revoke application access to an application by deleting application assignments
351
+ for a user or
352
+ group.
353
+
354
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.delete_application_assignment)
355
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_application_assignment)
356
+ """
357
+
358
+ def delete_application_authentication_method(
359
+ self, *, ApplicationArn: str, AuthenticationMethodType: Literal["IAM"]
360
+ ) -> EmptyResponseMetadataTypeDef:
361
+ """
362
+ Deletes an authentication method from an application.
363
+
364
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.delete_application_authentication_method)
365
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_application_authentication_method)
366
+ """
367
+
368
+ def delete_application_grant(
369
+ self, *, ApplicationArn: str, GrantType: GrantTypeType
370
+ ) -> EmptyResponseMetadataTypeDef:
371
+ """
372
+ Deletes a grant from an application.
373
+
374
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.delete_application_grant)
375
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_application_grant)
376
+ """
377
+
220
378
  def delete_inline_policy_from_permission_set(
221
379
  self, *, InstanceArn: str, PermissionSetArn: str
222
380
  ) -> Dict[str, Any]:
@@ -227,6 +385,14 @@ class SSOAdminClient(BaseClient):
227
385
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_inline_policy_from_permission_set)
228
386
  """
229
387
 
388
+ def delete_instance(self, *, InstanceArn: str) -> Dict[str, Any]:
389
+ """
390
+ Deletes the instance of IAM Identity Center.
391
+
392
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.delete_instance)
393
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_instance)
394
+ """
395
+
230
396
  def delete_instance_access_control_attribute_configuration(
231
397
  self, *, InstanceArn: str
232
398
  ) -> Dict[str, Any]:
@@ -258,6 +424,15 @@ class SSOAdminClient(BaseClient):
258
424
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_permissions_boundary_from_permission_set)
259
425
  """
260
426
 
427
+ def delete_trusted_token_issuer(self, *, TrustedTokenIssuerArn: str) -> Dict[str, Any]:
428
+ """
429
+ Deletes a trusted token issuer configuration from an instance of IAM Identity
430
+ Center.
431
+
432
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.delete_trusted_token_issuer)
433
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#delete_trusted_token_issuer)
434
+ """
435
+
261
436
  def describe_account_assignment_creation_status(
262
437
  self, *, AccountAssignmentCreationRequestId: str, InstanceArn: str
263
438
  ) -> DescribeAccountAssignmentCreationStatusResponseTypeDef:
@@ -278,6 +453,46 @@ class SSOAdminClient(BaseClient):
278
453
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#describe_account_assignment_deletion_status)
279
454
  """
280
455
 
456
+ def describe_application(self, *, ApplicationArn: str) -> DescribeApplicationResponseTypeDef:
457
+ """
458
+ Retrieves the details of an application associated with an instance of IAM
459
+ Identity
460
+ Center.
461
+
462
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.describe_application)
463
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#describe_application)
464
+ """
465
+
466
+ def describe_application_assignment(
467
+ self, *, ApplicationArn: str, PrincipalId: str, PrincipalType: PrincipalTypeType
468
+ ) -> DescribeApplicationAssignmentResponseTypeDef:
469
+ """
470
+ Retrieves a direct assignment of a user or group to an application.
471
+
472
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.describe_application_assignment)
473
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#describe_application_assignment)
474
+ """
475
+
476
+ def describe_application_provider(
477
+ self, *, ApplicationProviderArn: str
478
+ ) -> DescribeApplicationProviderResponseTypeDef:
479
+ """
480
+ Retrieves details about a provider that can be used to connect an Amazon Web
481
+ Services managed application or customer managed application to IAM Identity
482
+ Center.
483
+
484
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.describe_application_provider)
485
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#describe_application_provider)
486
+ """
487
+
488
+ def describe_instance(self, *, InstanceArn: str) -> DescribeInstanceResponseTypeDef:
489
+ """
490
+ Returns the details of an instance of IAM Identity Center.
491
+
492
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.describe_instance)
493
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#describe_instance)
494
+ """
495
+
281
496
  def describe_instance_access_control_attribute_configuration(
282
497
  self, *, InstanceArn: str
283
498
  ) -> DescribeInstanceAccessControlAttributeConfigurationResponseTypeDef:
@@ -311,6 +526,18 @@ class SSOAdminClient(BaseClient):
311
526
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#describe_permission_set_provisioning_status)
312
527
  """
313
528
 
529
+ def describe_trusted_token_issuer(
530
+ self, *, TrustedTokenIssuerArn: str
531
+ ) -> DescribeTrustedTokenIssuerResponseTypeDef:
532
+ """
533
+ Retrieves details about a trusted token issuer configuration stored in an
534
+ instance of IAM Identity
535
+ Center.
536
+
537
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.describe_trusted_token_issuer)
538
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#describe_trusted_token_issuer)
539
+ """
540
+
314
541
  def detach_customer_managed_policy_reference_from_permission_set(
315
542
  self,
316
543
  *,
@@ -352,6 +579,47 @@ class SSOAdminClient(BaseClient):
352
579
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#generate_presigned_url)
353
580
  """
354
581
 
582
+ def get_application_access_scope(
583
+ self, *, ApplicationArn: str, Scope: str
584
+ ) -> GetApplicationAccessScopeResponseTypeDef:
585
+ """
586
+ Retrieves the authorized targets for an IAM Identity Center access scope for an
587
+ application.
588
+
589
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_application_access_scope)
590
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_application_access_scope)
591
+ """
592
+
593
+ def get_application_assignment_configuration(
594
+ self, *, ApplicationArn: str
595
+ ) -> GetApplicationAssignmentConfigurationResponseTypeDef:
596
+ """
597
+ Retrieves the configuration of PutApplicationAssignmentConfiguration.
598
+
599
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_application_assignment_configuration)
600
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_application_assignment_configuration)
601
+ """
602
+
603
+ def get_application_authentication_method(
604
+ self, *, ApplicationArn: str, AuthenticationMethodType: Literal["IAM"]
605
+ ) -> GetApplicationAuthenticationMethodResponseTypeDef:
606
+ """
607
+ Retrieves details about an authentication method used by an application.
608
+
609
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_application_authentication_method)
610
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_application_authentication_method)
611
+ """
612
+
613
+ def get_application_grant(
614
+ self, *, ApplicationArn: str, GrantType: GrantTypeType
615
+ ) -> GetApplicationGrantResponseTypeDef:
616
+ """
617
+ Retrieves details about an application grant.
618
+
619
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_application_grant)
620
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_application_grant)
621
+ """
622
+
355
623
  def get_inline_policy_for_permission_set(
356
624
  self, *, InstanceArn: str, PermissionSetArn: str
357
625
  ) -> GetInlinePolicyForPermissionSetResponseTypeDef:
@@ -424,6 +692,25 @@ class SSOAdminClient(BaseClient):
424
692
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_account_assignments)
425
693
  """
426
694
 
695
+ def list_account_assignments_for_principal(
696
+ self,
697
+ *,
698
+ InstanceArn: str,
699
+ PrincipalId: str,
700
+ PrincipalType: PrincipalTypeType,
701
+ Filter: ListAccountAssignmentsFilterTypeDef = ...,
702
+ MaxResults: int = ...,
703
+ NextToken: str = ...
704
+ ) -> ListAccountAssignmentsForPrincipalResponseTypeDef:
705
+ """
706
+ Retrieves a list of the IAM Identity Center associated Amazon Web Services
707
+ accounts that the principal has access
708
+ to.
709
+
710
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_account_assignments_for_principal)
711
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_account_assignments_for_principal)
712
+ """
713
+
427
714
  def list_accounts_for_provisioned_permission_set(
428
715
  self,
429
716
  *,
@@ -442,6 +729,89 @@ class SSOAdminClient(BaseClient):
442
729
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_accounts_for_provisioned_permission_set)
443
730
  """
444
731
 
732
+ def list_application_access_scopes(
733
+ self, *, ApplicationArn: str, MaxResults: int = ..., NextToken: str = ...
734
+ ) -> ListApplicationAccessScopesResponseTypeDef:
735
+ """
736
+ Lists the access scopes and authorized targets associated with an application.
737
+
738
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_application_access_scopes)
739
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_application_access_scopes)
740
+ """
741
+
742
+ def list_application_assignments(
743
+ self, *, ApplicationArn: str, MaxResults: int = ..., NextToken: str = ...
744
+ ) -> ListApplicationAssignmentsResponseTypeDef:
745
+ """
746
+ Lists Amazon Web Services account users that are assigned to an application.
747
+
748
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_application_assignments)
749
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_application_assignments)
750
+ """
751
+
752
+ def list_application_assignments_for_principal(
753
+ self,
754
+ *,
755
+ InstanceArn: str,
756
+ PrincipalId: str,
757
+ PrincipalType: PrincipalTypeType,
758
+ Filter: ListApplicationAssignmentsFilterTypeDef = ...,
759
+ MaxResults: int = ...,
760
+ NextToken: str = ...
761
+ ) -> ListApplicationAssignmentsForPrincipalResponseTypeDef:
762
+ """
763
+ Lists the applications to which a specified principal is assigned.
764
+
765
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_application_assignments_for_principal)
766
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_application_assignments_for_principal)
767
+ """
768
+
769
+ def list_application_authentication_methods(
770
+ self, *, ApplicationArn: str, NextToken: str = ...
771
+ ) -> ListApplicationAuthenticationMethodsResponseTypeDef:
772
+ """
773
+ Lists all of the authentication methods supported by the specified application.
774
+
775
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_application_authentication_methods)
776
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_application_authentication_methods)
777
+ """
778
+
779
+ def list_application_grants(
780
+ self, *, ApplicationArn: str, NextToken: str = ...
781
+ ) -> ListApplicationGrantsResponseTypeDef:
782
+ """
783
+ List the grants associated with an application.
784
+
785
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_application_grants)
786
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_application_grants)
787
+ """
788
+
789
+ def list_application_providers(
790
+ self, *, MaxResults: int = ..., NextToken: str = ...
791
+ ) -> ListApplicationProvidersResponseTypeDef:
792
+ """
793
+ Lists the application providers configured in the IAM Identity Center identity
794
+ store.
795
+
796
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_application_providers)
797
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_application_providers)
798
+ """
799
+
800
+ def list_applications(
801
+ self,
802
+ *,
803
+ InstanceArn: str,
804
+ Filter: ListApplicationsFilterTypeDef = ...,
805
+ MaxResults: int = ...,
806
+ NextToken: str = ...
807
+ ) -> ListApplicationsResponseTypeDef:
808
+ """
809
+ Lists all applications associated with the instance of IAM Identity Center.
810
+
811
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_applications)
812
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_applications)
813
+ """
814
+
445
815
  def list_customer_managed_policy_references_in_permission_set(
446
816
  self,
447
817
  *,
@@ -461,7 +831,9 @@ class SSOAdminClient(BaseClient):
461
831
  self, *, MaxResults: int = ..., NextToken: str = ...
462
832
  ) -> ListInstancesResponseTypeDef:
463
833
  """
464
- Lists the IAM Identity Center instances that the caller has access to.
834
+ Lists the details of the organization and account instances of IAM Identity
835
+ Center that were created in or visible to the account calling this
836
+ API.
465
837
 
466
838
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_instances)
467
839
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_instances)
@@ -530,7 +902,7 @@ class SSOAdminClient(BaseClient):
530
902
  """
531
903
 
532
904
  def list_tags_for_resource(
533
- self, *, InstanceArn: str, ResourceArn: str, NextToken: str = ...
905
+ self, *, ResourceArn: str, InstanceArn: str = ..., NextToken: str = ...
534
906
  ) -> ListTagsForResourceResponseTypeDef:
535
907
  """
536
908
  Lists the tags that are attached to a specified resource.
@@ -539,6 +911,17 @@ class SSOAdminClient(BaseClient):
539
911
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_tags_for_resource)
540
912
  """
541
913
 
914
+ def list_trusted_token_issuers(
915
+ self, *, InstanceArn: str, MaxResults: int = ..., NextToken: str = ...
916
+ ) -> ListTrustedTokenIssuersResponseTypeDef:
917
+ """
918
+ Lists all the trusted token issuers configured in an instance of IAM Identity
919
+ Center.
920
+
921
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.list_trusted_token_issuers)
922
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#list_trusted_token_issuers)
923
+ """
924
+
542
925
  def provision_permission_set(
543
926
  self,
544
927
  *,
@@ -555,6 +938,52 @@ class SSOAdminClient(BaseClient):
555
938
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#provision_permission_set)
556
939
  """
557
940
 
941
+ def put_application_access_scope(
942
+ self, *, ApplicationArn: str, Scope: str, AuthorizedTargets: Sequence[str] = ...
943
+ ) -> EmptyResponseMetadataTypeDef:
944
+ """
945
+ Adds or updates the list of authorized targets for an IAM Identity Center
946
+ access scope for an
947
+ application.
948
+
949
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.put_application_access_scope)
950
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#put_application_access_scope)
951
+ """
952
+
953
+ def put_application_assignment_configuration(
954
+ self, *, ApplicationArn: str, AssignmentRequired: bool
955
+ ) -> Dict[str, Any]:
956
+ """
957
+ Configure how users gain access to an application.
958
+
959
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.put_application_assignment_configuration)
960
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#put_application_assignment_configuration)
961
+ """
962
+
963
+ def put_application_authentication_method(
964
+ self,
965
+ *,
966
+ ApplicationArn: str,
967
+ AuthenticationMethod: AuthenticationMethodTypeDef,
968
+ AuthenticationMethodType: Literal["IAM"]
969
+ ) -> EmptyResponseMetadataTypeDef:
970
+ """
971
+ Adds or updates an authentication method for an application.
972
+
973
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.put_application_authentication_method)
974
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#put_application_authentication_method)
975
+ """
976
+
977
+ def put_application_grant(
978
+ self, *, ApplicationArn: str, Grant: GrantTypeDef, GrantType: GrantTypeType
979
+ ) -> EmptyResponseMetadataTypeDef:
980
+ """
981
+ Adds a grant to an application.
982
+
983
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.put_application_grant)
984
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#put_application_grant)
985
+ """
986
+
558
987
  def put_inline_policy_to_permission_set(
559
988
  self, *, InlinePolicy: str, InstanceArn: str, PermissionSetArn: str
560
989
  ) -> Dict[str, Any]:
@@ -582,7 +1011,7 @@ class SSOAdminClient(BaseClient):
582
1011
  """
583
1012
 
584
1013
  def tag_resource(
585
- self, *, InstanceArn: str, ResourceArn: str, Tags: Sequence[TagTypeDef]
1014
+ self, *, ResourceArn: str, Tags: Sequence[TagTypeDef], InstanceArn: str = ...
586
1015
  ) -> Dict[str, Any]:
587
1016
  """
588
1017
  Associates a set of tags with a specified resource.
@@ -592,7 +1021,7 @@ class SSOAdminClient(BaseClient):
592
1021
  """
593
1022
 
594
1023
  def untag_resource(
595
- self, *, InstanceArn: str, ResourceArn: str, TagKeys: Sequence[str]
1024
+ self, *, ResourceArn: str, TagKeys: Sequence[str], InstanceArn: str = ...
596
1025
  ) -> Dict[str, Any]:
597
1026
  """
598
1027
  Disassociates a set of tags from a specified resource.
@@ -601,6 +1030,32 @@ class SSOAdminClient(BaseClient):
601
1030
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#untag_resource)
602
1031
  """
603
1032
 
1033
+ def update_application(
1034
+ self,
1035
+ *,
1036
+ ApplicationArn: str,
1037
+ Description: str = ...,
1038
+ Name: str = ...,
1039
+ PortalOptions: UpdateApplicationPortalOptionsTypeDef = ...,
1040
+ Status: ApplicationStatusType = ...
1041
+ ) -> Dict[str, Any]:
1042
+ """
1043
+ Updates application properties.
1044
+
1045
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.update_application)
1046
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#update_application)
1047
+ """
1048
+
1049
+ def update_instance(self, *, InstanceArn: str, Name: str) -> Dict[str, Any]:
1050
+ """
1051
+ Update the details for the instance of IAM Identity Center that is owned by the
1052
+ Amazon Web Services
1053
+ account.
1054
+
1055
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.update_instance)
1056
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#update_instance)
1057
+ """
1058
+
604
1059
  def update_instance_access_control_attribute_configuration(
605
1060
  self,
606
1061
  *,
@@ -632,6 +1087,22 @@ class SSOAdminClient(BaseClient):
632
1087
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#update_permission_set)
633
1088
  """
634
1089
 
1090
+ def update_trusted_token_issuer(
1091
+ self,
1092
+ *,
1093
+ TrustedTokenIssuerArn: str,
1094
+ Name: str = ...,
1095
+ TrustedTokenIssuerConfiguration: TrustedTokenIssuerUpdateConfigurationTypeDef = ...
1096
+ ) -> Dict[str, Any]:
1097
+ """
1098
+ Updates the name of the trusted token issuer, or the path of a source attribute
1099
+ or destination attribute for a trusted token issuer
1100
+ configuration.
1101
+
1102
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.update_trusted_token_issuer)
1103
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#update_trusted_token_issuer)
1104
+ """
1105
+
635
1106
  @overload
636
1107
  def get_paginator(
637
1108
  self, operation_name: Literal["list_account_assignment_creation_status"]
@@ -659,6 +1130,15 @@ class SSOAdminClient(BaseClient):
659
1130
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
660
1131
  """
661
1132
 
1133
+ @overload
1134
+ def get_paginator(
1135
+ self, operation_name: Literal["list_account_assignments_for_principal"]
1136
+ ) -> ListAccountAssignmentsForPrincipalPaginator:
1137
+ """
1138
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_paginator)
1139
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
1140
+ """
1141
+
662
1142
  @overload
663
1143
  def get_paginator(
664
1144
  self, operation_name: Literal["list_accounts_for_provisioned_permission_set"]
@@ -668,6 +1148,69 @@ class SSOAdminClient(BaseClient):
668
1148
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
669
1149
  """
670
1150
 
1151
+ @overload
1152
+ def get_paginator(
1153
+ self, operation_name: Literal["list_application_access_scopes"]
1154
+ ) -> ListApplicationAccessScopesPaginator:
1155
+ """
1156
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_paginator)
1157
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
1158
+ """
1159
+
1160
+ @overload
1161
+ def get_paginator(
1162
+ self, operation_name: Literal["list_application_assignments"]
1163
+ ) -> ListApplicationAssignmentsPaginator:
1164
+ """
1165
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_paginator)
1166
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
1167
+ """
1168
+
1169
+ @overload
1170
+ def get_paginator(
1171
+ self, operation_name: Literal["list_application_assignments_for_principal"]
1172
+ ) -> ListApplicationAssignmentsForPrincipalPaginator:
1173
+ """
1174
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_paginator)
1175
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
1176
+ """
1177
+
1178
+ @overload
1179
+ def get_paginator(
1180
+ self, operation_name: Literal["list_application_authentication_methods"]
1181
+ ) -> ListApplicationAuthenticationMethodsPaginator:
1182
+ """
1183
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_paginator)
1184
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
1185
+ """
1186
+
1187
+ @overload
1188
+ def get_paginator(
1189
+ self, operation_name: Literal["list_application_grants"]
1190
+ ) -> ListApplicationGrantsPaginator:
1191
+ """
1192
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_paginator)
1193
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
1194
+ """
1195
+
1196
+ @overload
1197
+ def get_paginator(
1198
+ self, operation_name: Literal["list_application_providers"]
1199
+ ) -> ListApplicationProvidersPaginator:
1200
+ """
1201
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_paginator)
1202
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
1203
+ """
1204
+
1205
+ @overload
1206
+ def get_paginator(
1207
+ self, operation_name: Literal["list_applications"]
1208
+ ) -> ListApplicationsPaginator:
1209
+ """
1210
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_paginator)
1211
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
1212
+ """
1213
+
671
1214
  @overload
672
1215
  def get_paginator(
673
1216
  self, operation_name: Literal["list_customer_managed_policy_references_in_permission_set"]
@@ -728,3 +1271,12 @@ class SSOAdminClient(BaseClient):
728
1271
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_paginator)
729
1272
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
730
1273
  """
1274
+
1275
+ @overload
1276
+ def get_paginator(
1277
+ self, operation_name: Literal["list_trusted_token_issuers"]
1278
+ ) -> ListTrustedTokenIssuersPaginator:
1279
+ """
1280
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin.Client.get_paginator)
1281
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/client/#get_paginator)
1282
+ """