Class: Aws::SSOAdmin::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::SSOAdmin::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-ssoadmin/client.rb
Overview
An API client for SSOAdmin. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::SSOAdmin::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#attach_customer_managed_policy_reference_to_permission_set(params = {}) ⇒ Struct
Attaches the specified customer managed policy to the specified PermissionSet.
-
#attach_managed_policy_to_permission_set(params = {}) ⇒ Struct
Attaches an Amazon Web Services managed policy ARN to a permission set.
-
#create_account_assignment(params = {}) ⇒ Types::CreateAccountAssignmentResponse
Assigns access to a principal for a specified Amazon Web Services account using a specified permission set.
-
#create_application(params = {}) ⇒ Types::CreateApplicationResponse
Creates an application in IAM Identity Center for the given application provider.
-
#create_application_assignment(params = {}) ⇒ Struct
Grant application access to a user or group.
-
#create_instance(params = {}) ⇒ Types::CreateInstanceResponse
Creates an instance of IAM Identity Center for a standalone Amazon Web Services account that is not managed by Organizations or a member Amazon Web Services account in an organization.
-
#create_instance_access_control_attribute_configuration(params = {}) ⇒ Struct
Enables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance.
-
#create_permission_set(params = {}) ⇒ Types::CreatePermissionSetResponse
Creates a permission set within a specified IAM Identity Center instance.
-
#create_trusted_token_issuer(params = {}) ⇒ Types::CreateTrustedTokenIssuerResponse
Creates a connection to a trusted token issuer in an instance of IAM Identity Center.
-
#delete_account_assignment(params = {}) ⇒ Types::DeleteAccountAssignmentResponse
Deletes a principal’s access from a specified Amazon Web Services account using a specified permission set.
-
#delete_application(params = {}) ⇒ Struct
Deletes the association with the application.
-
#delete_application_access_scope(params = {}) ⇒ Struct
Deletes an IAM Identity Center access scope from an application.
-
#delete_application_assignment(params = {}) ⇒ Struct
Revoke application access to an application by deleting application assignments for a user or group.
-
#delete_application_authentication_method(params = {}) ⇒ Struct
Deletes an authentication method from an application.
-
#delete_application_grant(params = {}) ⇒ Struct
Deletes a grant from an application.
-
#delete_inline_policy_from_permission_set(params = {}) ⇒ Struct
Deletes the inline policy from a specified permission set.
-
#delete_instance(params = {}) ⇒ Struct
Deletes the instance of IAM Identity Center.
-
#delete_instance_access_control_attribute_configuration(params = {}) ⇒ Struct
Disables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance and deletes all of the attribute mappings that have been configured.
-
#delete_permission_set(params = {}) ⇒ Struct
Deletes the specified permission set.
-
#delete_permissions_boundary_from_permission_set(params = {}) ⇒ Struct
Deletes the permissions boundary from a specified PermissionSet.
-
#delete_trusted_token_issuer(params = {}) ⇒ Struct
Deletes a trusted token issuer configuration from an instance of IAM Identity Center.
-
#describe_account_assignment_creation_status(params = {}) ⇒ Types::DescribeAccountAssignmentCreationStatusResponse
Describes the status of the assignment creation request.
-
#describe_account_assignment_deletion_status(params = {}) ⇒ Types::DescribeAccountAssignmentDeletionStatusResponse
Describes the status of the assignment deletion request.
-
#describe_application(params = {}) ⇒ Types::DescribeApplicationResponse
Retrieves the details of an application associated with an instance of IAM Identity Center.
-
#describe_application_assignment(params = {}) ⇒ Types::DescribeApplicationAssignmentResponse
Retrieves a direct assignment of a user or group to an application.
-
#describe_application_provider(params = {}) ⇒ Types::DescribeApplicationProviderResponse
Retrieves details about a provider that can be used to connect an Amazon Web Services managed application or customer managed application to IAM Identity Center.
-
#describe_instance(params = {}) ⇒ Types::DescribeInstanceResponse
Returns the details of an instance of IAM Identity Center.
-
#describe_instance_access_control_attribute_configuration(params = {}) ⇒ Types::DescribeInstanceAccessControlAttributeConfigurationResponse
Returns the list of IAM Identity Center identity store attributes that have been configured to work with attributes-based access control (ABAC) for the specified IAM Identity Center instance.
-
#describe_permission_set(params = {}) ⇒ Types::DescribePermissionSetResponse
Gets the details of the permission set.
-
#describe_permission_set_provisioning_status(params = {}) ⇒ Types::DescribePermissionSetProvisioningStatusResponse
Describes the status for the given permission set provisioning request.
-
#describe_trusted_token_issuer(params = {}) ⇒ Types::DescribeTrustedTokenIssuerResponse
Retrieves details about a trusted token issuer configuration stored in an instance of IAM Identity Center.
-
#detach_customer_managed_policy_reference_from_permission_set(params = {}) ⇒ Struct
Detaches the specified customer managed policy from the specified PermissionSet.
-
#detach_managed_policy_from_permission_set(params = {}) ⇒ Struct
Detaches the attached Amazon Web Services managed policy ARN from the specified permission set.
-
#get_application_access_scope(params = {}) ⇒ Types::GetApplicationAccessScopeResponse
Retrieves the authorized targets for an IAM Identity Center access scope for an application.
-
#get_application_assignment_configuration(params = {}) ⇒ Types::GetApplicationAssignmentConfigurationResponse
Retrieves the configuration of PutApplicationAssignmentConfiguration.
-
#get_application_authentication_method(params = {}) ⇒ Types::GetApplicationAuthenticationMethodResponse
Retrieves details about an authentication method used by an application.
-
#get_application_grant(params = {}) ⇒ Types::GetApplicationGrantResponse
Retrieves details about an application grant.
-
#get_inline_policy_for_permission_set(params = {}) ⇒ Types::GetInlinePolicyForPermissionSetResponse
Obtains the inline policy assigned to the permission set.
-
#get_permissions_boundary_for_permission_set(params = {}) ⇒ Types::GetPermissionsBoundaryForPermissionSetResponse
Obtains the permissions boundary for a specified PermissionSet.
-
#list_account_assignment_creation_status(params = {}) ⇒ Types::ListAccountAssignmentCreationStatusResponse
Lists the status of the Amazon Web Services account assignment creation requests for a specified IAM Identity Center instance.
-
#list_account_assignment_deletion_status(params = {}) ⇒ Types::ListAccountAssignmentDeletionStatusResponse
Lists the status of the Amazon Web Services account assignment deletion requests for a specified IAM Identity Center instance.
-
#list_account_assignments(params = {}) ⇒ Types::ListAccountAssignmentsResponse
Lists the assignee of the specified Amazon Web Services account with the specified permission set.
-
#list_account_assignments_for_principal(params = {}) ⇒ Types::ListAccountAssignmentsForPrincipalResponse
Retrieves a list of the IAM Identity Center associated Amazon Web Services accounts that the principal has access to.
-
#list_accounts_for_provisioned_permission_set(params = {}) ⇒ Types::ListAccountsForProvisionedPermissionSetResponse
Lists all the Amazon Web Services accounts where the specified permission set is provisioned.
-
#list_application_access_scopes(params = {}) ⇒ Types::ListApplicationAccessScopesResponse
Lists the access scopes and authorized targets associated with an application.
-
#list_application_assignments(params = {}) ⇒ Types::ListApplicationAssignmentsResponse
Lists Amazon Web Services account users that are assigned to an application.
-
#list_application_assignments_for_principal(params = {}) ⇒ Types::ListApplicationAssignmentsForPrincipalResponse
Lists the applications to which a specified principal is assigned.
-
#list_application_authentication_methods(params = {}) ⇒ Types::ListApplicationAuthenticationMethodsResponse
Lists all of the authentication methods supported by the specified application.
-
#list_application_grants(params = {}) ⇒ Types::ListApplicationGrantsResponse
List the grants associated with an application.
-
#list_application_providers(params = {}) ⇒ Types::ListApplicationProvidersResponse
Lists the application providers configured in the IAM Identity Center identity store.
-
#list_applications(params = {}) ⇒ Types::ListApplicationsResponse
Lists all applications associated with the instance of IAM Identity Center.
-
#list_customer_managed_policy_references_in_permission_set(params = {}) ⇒ Types::ListCustomerManagedPolicyReferencesInPermissionSetResponse
Lists all customer managed policies attached to a specified PermissionSet.
-
#list_instances(params = {}) ⇒ Types::ListInstancesResponse
Lists the details of the organization and account instances of IAM Identity Center that were created in or visible to the account calling this API.
-
#list_managed_policies_in_permission_set(params = {}) ⇒ Types::ListManagedPoliciesInPermissionSetResponse
Lists the Amazon Web Services managed policy that is attached to a specified permission set.
-
#list_permission_set_provisioning_status(params = {}) ⇒ Types::ListPermissionSetProvisioningStatusResponse
Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.
-
#list_permission_sets(params = {}) ⇒ Types::ListPermissionSetsResponse
Lists the PermissionSets in an IAM Identity Center instance.
-
#list_permission_sets_provisioned_to_account(params = {}) ⇒ Types::ListPermissionSetsProvisionedToAccountResponse
Lists all the permission sets that are provisioned to a specified Amazon Web Services account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags that are attached to a specified resource.
-
#list_trusted_token_issuers(params = {}) ⇒ Types::ListTrustedTokenIssuersResponse
Lists all the trusted token issuers configured in an instance of IAM Identity Center.
-
#provision_permission_set(params = {}) ⇒ Types::ProvisionPermissionSetResponse
The process by which a specified permission set is provisioned to the specified target.
-
#put_application_access_scope(params = {}) ⇒ Struct
Adds or updates the list of authorized targets for an IAM Identity Center access scope for an application.
-
#put_application_assignment_configuration(params = {}) ⇒ Struct
Configure how users gain access to an application.
-
#put_application_authentication_method(params = {}) ⇒ Struct
Adds or updates an authentication method for an application.
-
#put_application_grant(params = {}) ⇒ Struct
Adds a grant to an application.
-
#put_inline_policy_to_permission_set(params = {}) ⇒ Struct
Attaches an inline policy to a permission set.
-
#put_permissions_boundary_to_permission_set(params = {}) ⇒ Struct
Attaches an Amazon Web Services managed or customer managed policy to the specified PermissionSet as a permissions boundary.
-
#tag_resource(params = {}) ⇒ Struct
Associates a set of tags with a specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Disassociates a set of tags from a specified resource.
-
#update_application(params = {}) ⇒ Struct
Updates application properties.
-
#update_instance(params = {}) ⇒ Struct
Update the details for the instance of IAM Identity Center that is owned by the Amazon Web Services account.
-
#update_instance_access_control_attribute_configuration(params = {}) ⇒ Struct
Updates the IAM Identity Center identity store attributes that you can use with the IAM Identity Center instance for attributes-based access control (ABAC).
-
#update_permission_set(params = {}) ⇒ Struct
Updates an existing permission set.
-
#update_trusted_token_issuer(params = {}) ⇒ Struct
Updates the name of the trusted token issuer, or the path of a source attribute or destination attribute for a trusted token issuer configuration.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
441 442 443 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 441 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3875 3876 3877 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3875 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3878 3879 3880 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3878 def errors_module Errors end |
Instance Method Details
#attach_customer_managed_policy_reference_to_permission_set(params = {}) ⇒ Struct
Attaches the specified customer managed policy to the specified PermissionSet.
479 480 481 482 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 479 def (params = {}, = {}) req = build_request(:attach_customer_managed_policy_reference_to_permission_set, params) req.send_request() end |
#attach_managed_policy_to_permission_set(params = {}) ⇒ Struct
Attaches an Amazon Web Services managed policy ARN to a permission set.
<note markdown=“1”> If the permission set is already referenced by one or more account assignments, you will need to call ‘ ProvisionPermissionSet ` after this operation. Calling `ProvisionPermissionSet` applies the corresponding IAM policy updates to all assigned accounts.
</note>
523 524 525 526 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 523 def (params = {}, = {}) req = build_request(:attach_managed_policy_to_permission_set, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3848 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::SSOAdmin') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-ssoadmin' context[:gem_version] = '1.42.0' Seahorse::Client::Request.new(handlers, context) end |
#create_account_assignment(params = {}) ⇒ Types::CreateAccountAssignmentResponse
Assigns access to a principal for a specified Amazon Web Services account using a specified permission set.
<note markdown=“1”> The term principal here refers to a user or group that is defined in IAM Identity Center.
</note>
<note markdown=“1”> As part of a successful ‘CreateAccountAssignment` call, the specified permission set will automatically be provisioned to the account in the form of an IAM policy. That policy is attached to the IAM role created in IAM Identity Center. If the permission set is subsequently updated, the corresponding IAM policies attached to roles in your accounts will not be updated automatically. In this case, you must call ` ProvisionPermissionSet ` to make these updates.
</note>
<note markdown=“1”> After a successful response, call ‘DescribeAccountAssignmentCreationStatus` to describe the status of an assignment creation request.
</note>
612 613 614 615 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 612 def create_account_assignment(params = {}, = {}) req = build_request(:create_account_assignment, params) req.send_request() end |
#create_application(params = {}) ⇒ Types::CreateApplicationResponse
Creates an application in IAM Identity Center for the given application provider.
705 706 707 708 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 705 def create_application(params = {}, = {}) req = build_request(:create_application, params) req.send_request() end |
#create_application_assignment(params = {}) ⇒ Struct
Grant application access to a user or group.
741 742 743 744 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 741 def create_application_assignment(params = {}, = {}) req = build_request(:create_application_assignment, params) req.send_request() end |
#create_instance(params = {}) ⇒ Types::CreateInstanceResponse
Creates an instance of IAM Identity Center for a standalone Amazon Web Services account that is not managed by Organizations or a member Amazon Web Services account in an organization. You can create only one instance per account and across all Amazon Web Services Regions.
The CreateInstance request is rejected if the following apply:
-
The instance is created within the organization management account.
-
An instance already exists in the same account.
810 811 812 813 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 810 def create_instance(params = {}, = {}) req = build_request(:create_instance, params) req.send_request() end |
#create_instance_access_control_attribute_configuration(params = {}) ⇒ Struct
Enables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance. You can also specify new attributes to add to your ABAC configuration during the enabling process. For more information about ABAC, see [Attribute-Based Access Control](/singlesignon/latest/userguide/abac.html) in the *IAM Identity Center User Guide*.
<note markdown=“1”> After a successful response, call ‘DescribeInstanceAccessControlAttributeConfiguration` to validate that `InstanceAccessControlAttributeConfiguration` was created.
</note>
864 865 866 867 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 864 def create_instance_access_control_attribute_configuration(params = {}, = {}) req = build_request(:create_instance_access_control_attribute_configuration, params) req.send_request() end |
#create_permission_set(params = {}) ⇒ Types::CreatePermissionSetResponse
Creates a permission set within a specified IAM Identity Center instance.
<note markdown=“1”> To grant users and groups access to Amazon Web Services account resources, use ‘ CreateAccountAssignment `.
</note>
934 935 936 937 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 934 def (params = {}, = {}) req = build_request(:create_permission_set, params) req.send_request() end |
#create_trusted_token_issuer(params = {}) ⇒ Types::CreateTrustedTokenIssuerResponse
Creates a connection to a trusted token issuer in an instance of IAM Identity Center. A trusted token issuer enables trusted identity propagation to be used with applications that authenticate outside of Amazon Web Services.
This trusted token issuer describes an external identity provider (IdP) that can generate claims or assertions in the form of access tokens for a user. Applications enabled for IAM Identity Center can use these tokens for authentication.
1025 1026 1027 1028 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1025 def create_trusted_token_issuer(params = {}, = {}) req = build_request(:create_trusted_token_issuer, params) req.send_request() end |
#delete_account_assignment(params = {}) ⇒ Types::DeleteAccountAssignmentResponse
Deletes a principal’s access from a specified Amazon Web Services account using a specified permission set.
<note markdown=“1”> After a successful response, call ‘DescribeAccountAssignmentDeletionStatus` to describe the status of an assignment deletion request.
</note>
1098 1099 1100 1101 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1098 def delete_account_assignment(params = {}, = {}) req = build_request(:delete_account_assignment, params) req.send_request() end |
#delete_application(params = {}) ⇒ Struct
Deletes the association with the application. The connected service resource still exists.
1124 1125 1126 1127 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1124 def delete_application(params = {}, = {}) req = build_request(:delete_application, params) req.send_request() end |
#delete_application_access_scope(params = {}) ⇒ Struct
Deletes an IAM Identity Center access scope from an application.
1150 1151 1152 1153 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1150 def delete_application_access_scope(params = {}, = {}) req = build_request(:delete_application_access_scope, params) req.send_request() end |
#delete_application_assignment(params = {}) ⇒ Struct
Revoke application access to an application by deleting application assignments for a user or group.
1186 1187 1188 1189 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1186 def delete_application_assignment(params = {}, = {}) req = build_request(:delete_application_assignment, params) req.send_request() end |
#delete_application_authentication_method(params = {}) ⇒ Struct
Deletes an authentication method from an application.
1214 1215 1216 1217 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1214 def delete_application_authentication_method(params = {}, = {}) req = build_request(:delete_application_authentication_method, params) req.send_request() end |
#delete_application_grant(params = {}) ⇒ Struct
Deletes a grant from an application.
1240 1241 1242 1243 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1240 def delete_application_grant(params = {}, = {}) req = build_request(:delete_application_grant, params) req.send_request() end |
#delete_inline_policy_from_permission_set(params = {}) ⇒ Struct
Deletes the inline policy from a specified permission set.
1270 1271 1272 1273 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1270 def (params = {}, = {}) req = build_request(:delete_inline_policy_from_permission_set, params) req.send_request() end |
#delete_instance(params = {}) ⇒ Struct
Deletes the instance of IAM Identity Center. Only the account that owns the instance can call this API. Neither the delegated administrator nor member account can delete the organization instance, but those roles can delete their own instance.
1296 1297 1298 1299 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1296 def delete_instance(params = {}, = {}) req = build_request(:delete_instance, params) req.send_request() end |
#delete_instance_access_control_attribute_configuration(params = {}) ⇒ Struct
Disables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance and deletes all of the attribute mappings that have been configured. Once deleted, any attributes that are received from an identity source and any custom attributes you have previously configured will not be passed. For more information about ABAC, see [Attribute-Based Access Control](/singlesignon/latest/userguide/abac.html) in the *IAM Identity Center User Guide*.
1326 1327 1328 1329 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1326 def delete_instance_access_control_attribute_configuration(params = {}, = {}) req = build_request(:delete_instance_access_control_attribute_configuration, params) req.send_request() end |
#delete_permission_set(params = {}) ⇒ Struct
Deletes the specified permission set.
1356 1357 1358 1359 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1356 def (params = {}, = {}) req = build_request(:delete_permission_set, params) req.send_request() end |
#delete_permissions_boundary_from_permission_set(params = {}) ⇒ Struct
Deletes the permissions boundary from a specified PermissionSet.
1383 1384 1385 1386 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1383 def (params = {}, = {}) req = build_request(:delete_permissions_boundary_from_permission_set, params) req.send_request() end |
#delete_trusted_token_issuer(params = {}) ⇒ Struct
Deletes a trusted token issuer configuration from an instance of IAM Identity Center.
<note markdown=“1”> Deleting this trusted token issuer configuration will cause users to lose access to any applications that are configured to use the trusted token issuer.
</note>
1412 1413 1414 1415 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1412 def delete_trusted_token_issuer(params = {}, = {}) req = build_request(:delete_trusted_token_issuer, params) req.send_request() end |
#describe_account_assignment_creation_status(params = {}) ⇒ Types::DescribeAccountAssignmentCreationStatusResponse
Describes the status of the assignment creation request.
1456 1457 1458 1459 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1456 def describe_account_assignment_creation_status(params = {}, = {}) req = build_request(:describe_account_assignment_creation_status, params) req.send_request() end |
#describe_account_assignment_deletion_status(params = {}) ⇒ Types::DescribeAccountAssignmentDeletionStatusResponse
Describes the status of the assignment deletion request.
1500 1501 1502 1503 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1500 def describe_account_assignment_deletion_status(params = {}, = {}) req = build_request(:describe_account_assignment_deletion_status, params) req.send_request() end |
#describe_application(params = {}) ⇒ Types::DescribeApplicationResponse
Retrieves the details of an application associated with an instance of IAM Identity Center.
1550 1551 1552 1553 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1550 def describe_application(params = {}, = {}) req = build_request(:describe_application, params) req.send_request() end |
#describe_application_assignment(params = {}) ⇒ Types::DescribeApplicationAssignmentResponse
Retrieves a direct assignment of a user or group to an application. If the user doesn’t have a direct assignment to the application, the user may still have access to the application through a group. Therefore, don’t use this API to test access to an application for a user. Instead use ListApplicationAssignmentsForPrincipal.
1602 1603 1604 1605 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1602 def describe_application_assignment(params = {}, = {}) req = build_request(:describe_application_assignment, params) req.send_request() end |
#describe_application_provider(params = {}) ⇒ Types::DescribeApplicationProviderResponse
Retrieves details about a provider that can be used to connect an Amazon Web Services managed application or customer managed application to IAM Identity Center.
1643 1644 1645 1646 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1643 def describe_application_provider(params = {}, = {}) req = build_request(:describe_application_provider, params) req.send_request() end |
#describe_instance(params = {}) ⇒ Types::DescribeInstanceResponse
Returns the details of an instance of IAM Identity Center. The status can be one of the following:
-
‘CREATE_IN_PROGRESS` - The instance is in the process of being created. When the instance is ready for use, DescribeInstance returns the status of `ACTIVE`. While the instance is in the `CREATE_IN_PROGRESS` state, you can call only DescribeInstance and DeleteInstance operations.
-
‘DELETE_IN_PROGRESS` - The instance is being deleted. Returns `AccessDeniedException` after the delete operation completes.
-
‘ACTIVE` - The instance is active.
1694 1695 1696 1697 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1694 def describe_instance(params = {}, = {}) req = build_request(:describe_instance, params) req.send_request() end |
#describe_instance_access_control_attribute_configuration(params = {}) ⇒ Types::DescribeInstanceAccessControlAttributeConfigurationResponse
Returns the list of IAM Identity Center identity store attributes that have been configured to work with attributes-based access control (ABAC) for the specified IAM Identity Center instance. This will not return attributes configured and sent by an external identity provider. For more information about ABAC, see [Attribute-Based Access Control](/singlesignon/latest/userguide/abac.html) in the *IAM Identity Center User Guide*.
1736 1737 1738 1739 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1736 def describe_instance_access_control_attribute_configuration(params = {}, = {}) req = build_request(:describe_instance_access_control_attribute_configuration, params) req.send_request() end |
#describe_permission_set(params = {}) ⇒ Types::DescribePermissionSetResponse
Gets the details of the permission set.
1777 1778 1779 1780 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1777 def (params = {}, = {}) req = build_request(:describe_permission_set, params) req.send_request() end |
#describe_permission_set_provisioning_status(params = {}) ⇒ Types::DescribePermissionSetProvisioningStatusResponse
Describes the status for the given permission set provisioning request.
1820 1821 1822 1823 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1820 def (params = {}, = {}) req = build_request(:describe_permission_set_provisioning_status, params) req.send_request() end |
#describe_trusted_token_issuer(params = {}) ⇒ Types::DescribeTrustedTokenIssuerResponse
Retrieves details about a trusted token issuer configuration stored in an instance of IAM Identity Center. Details include the name of the trusted token issuer, the issuer URL, and the path of the source attribute and the destination attribute for a trusted token issuer configuration.
1862 1863 1864 1865 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1862 def describe_trusted_token_issuer(params = {}, = {}) req = build_request(:describe_trusted_token_issuer, params) req.send_request() end |
#detach_customer_managed_policy_reference_from_permission_set(params = {}) ⇒ Struct
Detaches the specified customer managed policy from the specified PermissionSet.
1899 1900 1901 1902 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1899 def (params = {}, = {}) req = build_request(:detach_customer_managed_policy_reference_from_permission_set, params) req.send_request() end |
#detach_managed_policy_from_permission_set(params = {}) ⇒ Struct
Detaches the attached Amazon Web Services managed policy ARN from the specified permission set.
1935 1936 1937 1938 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1935 def (params = {}, = {}) req = build_request(:detach_managed_policy_from_permission_set, params) req.send_request() end |
#get_application_access_scope(params = {}) ⇒ Types::GetApplicationAccessScopeResponse
Retrieves the authorized targets for an IAM Identity Center access scope for an application.
1973 1974 1975 1976 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 1973 def get_application_access_scope(params = {}, = {}) req = build_request(:get_application_access_scope, params) req.send_request() end |
#get_application_assignment_configuration(params = {}) ⇒ Types::GetApplicationAssignmentConfigurationResponse
Retrieves the configuration of PutApplicationAssignmentConfiguration.
2004 2005 2006 2007 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2004 def get_application_assignment_configuration(params = {}, = {}) req = build_request(:get_application_assignment_configuration, params) req.send_request() end |
#get_application_authentication_method(params = {}) ⇒ Types::GetApplicationAuthenticationMethodResponse
Retrieves details about an authentication method used by an application.
2038 2039 2040 2041 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2038 def get_application_authentication_method(params = {}, = {}) req = build_request(:get_application_authentication_method, params) req.send_request() end |
#get_application_grant(params = {}) ⇒ Types::GetApplicationGrantResponse
Retrieves details about an application grant.
2075 2076 2077 2078 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2075 def get_application_grant(params = {}, = {}) req = build_request(:get_application_grant, params) req.send_request() end |
#get_inline_policy_for_permission_set(params = {}) ⇒ Types::GetInlinePolicyForPermissionSetResponse
Obtains the inline policy assigned to the permission set.
2111 2112 2113 2114 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2111 def (params = {}, = {}) req = build_request(:get_inline_policy_for_permission_set, params) req.send_request() end |
#get_permissions_boundary_for_permission_set(params = {}) ⇒ Types::GetPermissionsBoundaryForPermissionSetResponse
Obtains the permissions boundary for a specified PermissionSet.
2146 2147 2148 2149 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2146 def (params = {}, = {}) req = build_request(:get_permissions_boundary_for_permission_set, params) req.send_request() end |
#list_account_assignment_creation_status(params = {}) ⇒ Types::ListAccountAssignmentCreationStatusResponse
Lists the status of the Amazon Web Services account assignment creation requests for a specified IAM Identity Center instance.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2201 2202 2203 2204 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2201 def list_account_assignment_creation_status(params = {}, = {}) req = build_request(:list_account_assignment_creation_status, params) req.send_request() end |
#list_account_assignment_deletion_status(params = {}) ⇒ Types::ListAccountAssignmentDeletionStatusResponse
Lists the status of the Amazon Web Services account assignment deletion requests for a specified IAM Identity Center instance.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2256 2257 2258 2259 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2256 def list_account_assignment_deletion_status(params = {}, = {}) req = build_request(:list_account_assignment_deletion_status, params) req.send_request() end |
#list_account_assignments(params = {}) ⇒ Types::ListAccountAssignmentsResponse
Lists the assignee of the specified Amazon Web Services account with the specified permission set.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2315 2316 2317 2318 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2315 def list_account_assignments(params = {}, = {}) req = build_request(:list_account_assignments, params) req.send_request() end |
#list_account_assignments_for_principal(params = {}) ⇒ Types::ListAccountAssignmentsForPrincipalResponse
Retrieves a list of the IAM Identity Center associated Amazon Web Services accounts that the principal has access to.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2388 2389 2390 2391 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2388 def list_account_assignments_for_principal(params = {}, = {}) req = build_request(:list_account_assignments_for_principal, params) req.send_request() end |
#list_accounts_for_provisioned_permission_set(params = {}) ⇒ Types::ListAccountsForProvisionedPermissionSetResponse
Lists all the Amazon Web Services accounts where the specified permission set is provisioned.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2445 2446 2447 2448 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2445 def (params = {}, = {}) req = build_request(:list_accounts_for_provisioned_permission_set, params) req.send_request() end |
#list_application_access_scopes(params = {}) ⇒ Types::ListApplicationAccessScopesResponse
Lists the access scopes and authorized targets associated with an application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2500 2501 2502 2503 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2500 def list_application_access_scopes(params = {}, = {}) req = build_request(:list_application_access_scopes, params) req.send_request() end |
#list_application_assignments(params = {}) ⇒ Types::ListApplicationAssignmentsResponse
Lists Amazon Web Services account users that are assigned to an application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2555 2556 2557 2558 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2555 def list_application_assignments(params = {}, = {}) req = build_request(:list_application_assignments, params) req.send_request() end |
#list_application_assignments_for_principal(params = {}) ⇒ Types::ListApplicationAssignmentsForPrincipalResponse
Lists the applications to which a specified principal is assigned.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2627 2628 2629 2630 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2627 def list_application_assignments_for_principal(params = {}, = {}) req = build_request(:list_application_assignments_for_principal, params) req.send_request() end |
#list_application_authentication_methods(params = {}) ⇒ Types::ListApplicationAuthenticationMethodsResponse
Lists all of the authentication methods supported by the specified application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2670 2671 2672 2673 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2670 def list_application_authentication_methods(params = {}, = {}) req = build_request(:list_application_authentication_methods, params) req.send_request() end |
#list_application_grants(params = {}) ⇒ Types::ListApplicationGrantsResponse
List the grants associated with an application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2717 2718 2719 2720 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2717 def list_application_grants(params = {}, = {}) req = build_request(:list_application_grants, params) req.send_request() end |
#list_application_providers(params = {}) ⇒ Types::ListApplicationProvidersResponse
Lists the application providers configured in the IAM Identity Center identity store.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2773 2774 2775 2776 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2773 def list_application_providers(params = {}, = {}) req = build_request(:list_application_providers, params) req.send_request() end |
#list_applications(params = {}) ⇒ Types::ListApplicationsResponse
Lists all applications associated with the instance of IAM Identity Center. When listing applications for an instance in the management account, member accounts must use the ‘applicationAccount` parameter to filter the list to only applications created from that account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2849 2850 2851 2852 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2849 def list_applications(params = {}, = {}) req = build_request(:list_applications, params) req.send_request() end |
#list_customer_managed_policy_references_in_permission_set(params = {}) ⇒ Types::ListCustomerManagedPolicyReferencesInPermissionSetResponse
Lists all customer managed policies attached to a specified PermissionSet.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2898 2899 2900 2901 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2898 def (params = {}, = {}) req = build_request(:list_customer_managed_policy_references_in_permission_set, params) req.send_request() end |
#list_instances(params = {}) ⇒ Types::ListInstancesResponse
Lists the details of the organization and account instances of IAM Identity Center that were created in or visible to the account calling this API.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2943 2944 2945 2946 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2943 def list_instances(params = {}, = {}) req = build_request(:list_instances, params) req.send_request() end |
#list_managed_policies_in_permission_set(params = {}) ⇒ Types::ListManagedPoliciesInPermissionSetResponse
Lists the Amazon Web Services managed policy that is attached to a specified permission set.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2995 2996 2997 2998 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 2995 def (params = {}, = {}) req = build_request(:list_managed_policies_in_permission_set, params) req.send_request() end |
#list_permission_set_provisioning_status(params = {}) ⇒ Types::ListPermissionSetProvisioningStatusResponse
Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3050 3051 3052 3053 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3050 def (params = {}, = {}) req = build_request(:list_permission_set_provisioning_status, params) req.send_request() end |
#list_permission_sets(params = {}) ⇒ Types::ListPermissionSetsResponse
Lists the PermissionSets in an IAM Identity Center instance.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3096 3097 3098 3099 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3096 def (params = {}, = {}) req = build_request(:list_permission_sets, params) req.send_request() end |
#list_permission_sets_provisioned_to_account(params = {}) ⇒ Types::ListPermissionSetsProvisionedToAccountResponse
Lists all the permission sets that are provisioned to a specified Amazon Web Services account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3152 3153 3154 3155 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3152 def (params = {}, = {}) req = build_request(:list_permission_sets_provisioned_to_account, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags that are attached to a specified resource.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3199 3200 3201 3202 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3199 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_trusted_token_issuers(params = {}) ⇒ Types::ListTrustedTokenIssuersResponse
Lists all the trusted token issuers configured in an instance of IAM Identity Center.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3255 3256 3257 3258 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3255 def list_trusted_token_issuers(params = {}, = {}) req = build_request(:list_trusted_token_issuers, params) req.send_request() end |
#provision_permission_set(params = {}) ⇒ Types::ProvisionPermissionSetResponse
The process by which a specified permission set is provisioned to the specified target.
3306 3307 3308 3309 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3306 def (params = {}, = {}) req = build_request(:provision_permission_set, params) req.send_request() end |
#put_application_access_scope(params = {}) ⇒ Struct
Adds or updates the list of authorized targets for an IAM Identity Center access scope for an application.
3340 3341 3342 3343 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3340 def put_application_access_scope(params = {}, = {}) req = build_request(:put_application_access_scope, params) req.send_request() end |
#put_application_assignment_configuration(params = {}) ⇒ Struct
Configure how users gain access to an application. If ‘AssignmentsRequired` is `true` (default value), users don’t have access to the application unless an assignment is created using the [CreateApplicationAssignment API]. If `false`, all users have access to the application. If an assignment is created using [CreateApplicationAssignment]., the user retains access if `AssignmentsRequired` is set to `true`.
[1]: docs.aws.amazon.com/singlesignon/latest/APIReference/API_CreateApplicationAssignment.html
3386 3387 3388 3389 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3386 def put_application_assignment_configuration(params = {}, = {}) req = build_request(:put_application_assignment_configuration, params) req.send_request() end |
#put_application_authentication_method(params = {}) ⇒ Struct
Adds or updates an authentication method for an application.
3425 3426 3427 3428 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3425 def put_application_authentication_method(params = {}, = {}) req = build_request(:put_application_authentication_method, params) req.send_request() end |
#put_application_grant(params = {}) ⇒ Struct
Adds a grant to an application.
3471 3472 3473 3474 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3471 def put_application_grant(params = {}, = {}) req = build_request(:put_application_grant, params) req.send_request() end |
#put_inline_policy_to_permission_set(params = {}) ⇒ Struct
Attaches an inline policy to a permission set.
<note markdown=“1”> If the permission set is already referenced by one or more account assignments, you will need to call ‘ ProvisionPermissionSet ` after this action to apply the corresponding IAM policy updates to all assigned accounts.
</note>
3512 3513 3514 3515 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3512 def (params = {}, = {}) req = build_request(:put_inline_policy_to_permission_set, params) req.send_request() end |
#put_permissions_boundary_to_permission_set(params = {}) ⇒ Struct
Attaches an Amazon Web Services managed or customer managed policy to the specified PermissionSet as a permissions boundary.
3550 3551 3552 3553 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3550 def (params = {}, = {}) req = build_request(:put_permissions_boundary_to_permission_set, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Associates a set of tags with a specified resource.
3589 3590 3591 3592 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3589 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Disassociates a set of tags from a specified resource.
3623 3624 3625 3626 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3623 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_application(params = {}) ⇒ Struct
Updates application properties.
3670 3671 3672 3673 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3670 def update_application(params = {}, = {}) req = build_request(:update_application, params) req.send_request() end |
#update_instance(params = {}) ⇒ Struct
Update the details for the instance of IAM Identity Center that is owned by the Amazon Web Services account.
3701 3702 3703 3704 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3701 def update_instance(params = {}, = {}) req = build_request(:update_instance, params) req.send_request() end |
#update_instance_access_control_attribute_configuration(params = {}) ⇒ Struct
Updates the IAM Identity Center identity store attributes that you can use with the IAM Identity Center instance for attributes-based access control (ABAC). When using an external identity provider as an identity source, you can pass attributes through the SAML assertion as an alternative to configuring attributes from the IAM Identity Center identity store. If a SAML assertion passes any of these attributes, IAM Identity Center replaces the attribute value with the value from the IAM Identity Center identity store. For more information about ABAC, see [Attribute-Based Access Control](/singlesignon/latest/userguide/abac.html) in the *IAM Identity Center User Guide*.
3747 3748 3749 3750 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3747 def update_instance_access_control_attribute_configuration(params = {}, = {}) req = build_request(:update_instance_access_control_attribute_configuration, params) req.send_request() end |
#update_permission_set(params = {}) ⇒ Struct
Updates an existing permission set.
3791 3792 3793 3794 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3791 def (params = {}, = {}) req = build_request(:update_permission_set, params) req.send_request() end |
#update_trusted_token_issuer(params = {}) ⇒ Struct
Updates the name of the trusted token issuer, or the path of a source attribute or destination attribute for a trusted token issuer configuration.
<note markdown=“1”> Updating this trusted token issuer configuration might cause users to lose access to any applications that are configured to use the trusted token issuer.
</note>
3839 3840 3841 3842 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3839 def update_trusted_token_issuer(params = {}, = {}) req = build_request(:update_trusted_token_issuer, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3868 3869 3870 |
# File 'lib/aws-sdk-ssoadmin/client.rb', line 3868 def waiter_names [] end |