aws-sdk-ssoadmin 1.57.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssoadmin/client.rb +80 -13
- data/lib/aws-sdk-ssoadmin/client_api.rb +49 -5
- data/lib/aws-sdk-ssoadmin/types.rb +47 -0
- data/lib/aws-sdk-ssoadmin.rb +1 -1
- data/sig/client.rbs +20 -0
- data/sig/types.rbs +19 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23b37bd963ebb35de6b57992d294a6f4bfa2051159372abe7a99f352dfe8b751
|
4
|
+
data.tar.gz: 4a368bcce96413938e2c5ccb0ae36184d3659c7375e933e99b0508824f3c5359
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc35df433724654cc201cc69c12934a045e3c02dcc62b999896d0f7c0f3e33b09e2f39dbb727a35243b360e7f2e1a29cf38487cb9a90302f5306fe5db3e86d1d
|
7
|
+
data.tar.gz: ee6303c71c5d1c8df0fce2fb502549edb25720f294d3f6ffa4916d5c19f249052c4e67f5cfcdb637dc72314bdb21f817e34fbebbd5bfba037812cbd706d3508a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.59.0 (2025-08-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for managing user background session for applications
|
8
|
+
|
9
|
+
1.58.0 (2025-08-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.57.0 (2025-07-31)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.59.0
|
@@ -95,8 +95,8 @@ module Aws::SSOAdmin
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials used for authentication. This can be
|
99
|
-
# following classes:
|
98
|
+
# Your AWS credentials used for authentication. This can be any class that includes and implements
|
99
|
+
# `Aws::CredentialProvider`, or instance of any one of the following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
102
102
|
# credentials.
|
@@ -124,8 +124,7 @@ module Aws::SSOAdmin
|
|
124
124
|
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
125
125
|
# from the Cognito Identity service.
|
126
126
|
#
|
127
|
-
# When `:credentials` are not configured directly, the following
|
128
|
-
# locations will be searched for credentials:
|
127
|
+
# When `:credentials` are not configured directly, the following locations will be searched for credentials:
|
129
128
|
#
|
130
129
|
# * `Aws.config[:credentials]`
|
131
130
|
#
|
@@ -139,12 +138,10 @@ module Aws::SSOAdmin
|
|
139
138
|
#
|
140
139
|
# * `~/.aws/config`
|
141
140
|
#
|
142
|
-
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
-
# to `true`.
|
141
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
|
142
|
+
# Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
143
|
+
# enable retries and extended timeouts. Instance profile credential fetching can be disabled by
|
144
|
+
# setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
|
148
145
|
#
|
149
146
|
# @option options [required, String] :region
|
150
147
|
# The AWS region to connect to. The configured `:region` is
|
@@ -384,8 +381,8 @@ module Aws::SSOAdmin
|
|
384
381
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
385
382
|
#
|
386
383
|
# @option options [Aws::TokenProvider] :token_provider
|
387
|
-
# Your Bearer token used for authentication. This can be
|
388
|
-
# following classes:
|
384
|
+
# Your Bearer token used for authentication. This can be any class that includes and implements
|
385
|
+
# `Aws::TokenProvider`, or instance of any one of the following classes:
|
389
386
|
#
|
390
387
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
391
388
|
# tokens.
|
@@ -2143,6 +2140,42 @@ module Aws::SSOAdmin
|
|
2143
2140
|
req.send_request(options)
|
2144
2141
|
end
|
2145
2142
|
|
2143
|
+
# Retrieves the session configuration for an application in IAM Identity
|
2144
|
+
# Center.
|
2145
|
+
#
|
2146
|
+
# The session configuration determines how users can access an
|
2147
|
+
# application. This includes whether user background sessions are
|
2148
|
+
# enabled. User background sessions allow users to start a job on a
|
2149
|
+
# supported Amazon Web Services managed application without having to
|
2150
|
+
# remain signed in to an active session while the job runs.
|
2151
|
+
#
|
2152
|
+
# @option params [required, String] :application_arn
|
2153
|
+
# The Amazon Resource Name (ARN) of the application for which to
|
2154
|
+
# retrieve the session configuration.
|
2155
|
+
#
|
2156
|
+
# @return [Types::GetApplicationSessionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2157
|
+
#
|
2158
|
+
# * {Types::GetApplicationSessionConfigurationResponse#user_background_session_application_status #user_background_session_application_status} => String
|
2159
|
+
#
|
2160
|
+
# @example Request syntax with placeholder values
|
2161
|
+
#
|
2162
|
+
# resp = client.get_application_session_configuration({
|
2163
|
+
# application_arn: "ApplicationArn", # required
|
2164
|
+
# })
|
2165
|
+
#
|
2166
|
+
# @example Response structure
|
2167
|
+
#
|
2168
|
+
# resp.user_background_session_application_status #=> String, one of "ENABLED", "DISABLED"
|
2169
|
+
#
|
2170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetApplicationSessionConfiguration AWS API Documentation
|
2171
|
+
#
|
2172
|
+
# @overload get_application_session_configuration(params = {})
|
2173
|
+
# @param [Hash] params ({})
|
2174
|
+
def get_application_session_configuration(params = {}, options = {})
|
2175
|
+
req = build_request(:get_application_session_configuration, params)
|
2176
|
+
req.send_request(options)
|
2177
|
+
end
|
2178
|
+
|
2146
2179
|
# Obtains the inline policy assigned to the permission set.
|
2147
2180
|
#
|
2148
2181
|
# @option params [required, String] :instance_arn
|
@@ -3605,6 +3638,40 @@ module Aws::SSOAdmin
|
|
3605
3638
|
req.send_request(options)
|
3606
3639
|
end
|
3607
3640
|
|
3641
|
+
# Updates the session configuration for an application in IAM Identity
|
3642
|
+
# Center.
|
3643
|
+
#
|
3644
|
+
# The session configuration determines how users can access an
|
3645
|
+
# application. This includes whether user background sessions are
|
3646
|
+
# enabled. User background sessions allow users to start a job on a
|
3647
|
+
# supported Amazon Web Services managed application without having to
|
3648
|
+
# remain signed in to an active session while the job runs.
|
3649
|
+
#
|
3650
|
+
# @option params [required, String] :application_arn
|
3651
|
+
# The Amazon Resource Name (ARN) of the application for which to update
|
3652
|
+
# the session configuration.
|
3653
|
+
#
|
3654
|
+
# @option params [String] :user_background_session_application_status
|
3655
|
+
# The status of user background sessions for the application.
|
3656
|
+
#
|
3657
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3658
|
+
#
|
3659
|
+
# @example Request syntax with placeholder values
|
3660
|
+
#
|
3661
|
+
# resp = client.put_application_session_configuration({
|
3662
|
+
# application_arn: "ApplicationArn", # required
|
3663
|
+
# user_background_session_application_status: "ENABLED", # accepts ENABLED, DISABLED
|
3664
|
+
# })
|
3665
|
+
#
|
3666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutApplicationSessionConfiguration AWS API Documentation
|
3667
|
+
#
|
3668
|
+
# @overload put_application_session_configuration(params = {})
|
3669
|
+
# @param [Hash] params ({})
|
3670
|
+
def put_application_session_configuration(params = {}, options = {})
|
3671
|
+
req = build_request(:put_application_session_configuration, params)
|
3672
|
+
req.send_request(options)
|
3673
|
+
end
|
3674
|
+
|
3608
3675
|
# Attaches an inline policy to a permission set.
|
3609
3676
|
#
|
3610
3677
|
# <note markdown="1"> If the permission set is already referenced by one or more account
|
@@ -3991,7 +4058,7 @@ module Aws::SSOAdmin
|
|
3991
4058
|
tracer: tracer
|
3992
4059
|
)
|
3993
4060
|
context[:gem_name] = 'aws-sdk-ssoadmin'
|
3994
|
-
context[:gem_version] = '1.
|
4061
|
+
context[:gem_version] = '1.59.0'
|
3995
4062
|
Seahorse::Client::Request.new(handlers, context)
|
3996
4063
|
end
|
3997
4064
|
|
@@ -138,6 +138,8 @@ module Aws::SSOAdmin
|
|
138
138
|
GetApplicationAuthenticationMethodResponse = Shapes::StructureShape.new(name: 'GetApplicationAuthenticationMethodResponse')
|
139
139
|
GetApplicationGrantRequest = Shapes::StructureShape.new(name: 'GetApplicationGrantRequest')
|
140
140
|
GetApplicationGrantResponse = Shapes::StructureShape.new(name: 'GetApplicationGrantResponse')
|
141
|
+
GetApplicationSessionConfigurationRequest = Shapes::StructureShape.new(name: 'GetApplicationSessionConfigurationRequest')
|
142
|
+
GetApplicationSessionConfigurationResponse = Shapes::StructureShape.new(name: 'GetApplicationSessionConfigurationResponse')
|
141
143
|
GetInlinePolicyForPermissionSetRequest = Shapes::StructureShape.new(name: 'GetInlinePolicyForPermissionSetRequest')
|
142
144
|
GetInlinePolicyForPermissionSetResponse = Shapes::StructureShape.new(name: 'GetInlinePolicyForPermissionSetResponse')
|
143
145
|
GetPermissionsBoundaryForPermissionSetRequest = Shapes::StructureShape.new(name: 'GetPermissionsBoundaryForPermissionSetRequest')
|
@@ -236,6 +238,8 @@ module Aws::SSOAdmin
|
|
236
238
|
PutApplicationAssignmentConfigurationResponse = Shapes::StructureShape.new(name: 'PutApplicationAssignmentConfigurationResponse')
|
237
239
|
PutApplicationAuthenticationMethodRequest = Shapes::StructureShape.new(name: 'PutApplicationAuthenticationMethodRequest')
|
238
240
|
PutApplicationGrantRequest = Shapes::StructureShape.new(name: 'PutApplicationGrantRequest')
|
241
|
+
PutApplicationSessionConfigurationRequest = Shapes::StructureShape.new(name: 'PutApplicationSessionConfigurationRequest')
|
242
|
+
PutApplicationSessionConfigurationResponse = Shapes::StructureShape.new(name: 'PutApplicationSessionConfigurationResponse')
|
239
243
|
PutInlinePolicyToPermissionSetRequest = Shapes::StructureShape.new(name: 'PutInlinePolicyToPermissionSetRequest')
|
240
244
|
PutInlinePolicyToPermissionSetResponse = Shapes::StructureShape.new(name: 'PutInlinePolicyToPermissionSetResponse')
|
241
245
|
PutPermissionsBoundaryToPermissionSetRequest = Shapes::StructureShape.new(name: 'PutPermissionsBoundaryToPermissionSetRequest')
|
@@ -299,6 +303,7 @@ module Aws::SSOAdmin
|
|
299
303
|
UpdatePermissionSetResponse = Shapes::StructureShape.new(name: 'UpdatePermissionSetResponse')
|
300
304
|
UpdateTrustedTokenIssuerRequest = Shapes::StructureShape.new(name: 'UpdateTrustedTokenIssuerRequest')
|
301
305
|
UpdateTrustedTokenIssuerResponse = Shapes::StructureShape.new(name: 'UpdateTrustedTokenIssuerResponse')
|
306
|
+
UserBackgroundSessionApplicationStatus = Shapes::StringShape.new(name: 'UserBackgroundSessionApplicationStatus')
|
302
307
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
303
308
|
ValidationExceptionMessage = Shapes::StringShape.new(name: 'ValidationExceptionMessage')
|
304
309
|
|
@@ -354,7 +359,7 @@ module Aws::SSOAdmin
|
|
354
359
|
|
355
360
|
Application.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "ApplicationArn"))
|
356
361
|
Application.add_member(:application_provider_arn, Shapes::ShapeRef.new(shape: ApplicationProviderArn, location_name: "ApplicationProviderArn"))
|
357
|
-
Application.add_member(:name, Shapes::ShapeRef.new(shape:
|
362
|
+
Application.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationNameType, location_name: "Name"))
|
358
363
|
Application.add_member(:application_account, Shapes::ShapeRef.new(shape: AccountId, location_name: "ApplicationAccount"))
|
359
364
|
Application.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "InstanceArn"))
|
360
365
|
Application.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationStatus, location_name: "Status"))
|
@@ -610,7 +615,7 @@ module Aws::SSOAdmin
|
|
610
615
|
|
611
616
|
DescribeApplicationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "ApplicationArn"))
|
612
617
|
DescribeApplicationResponse.add_member(:application_provider_arn, Shapes::ShapeRef.new(shape: ApplicationProviderArn, location_name: "ApplicationProviderArn"))
|
613
|
-
DescribeApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape:
|
618
|
+
DescribeApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationNameType, location_name: "Name"))
|
614
619
|
DescribeApplicationResponse.add_member(:application_account, Shapes::ShapeRef.new(shape: AccountId, location_name: "ApplicationAccount"))
|
615
620
|
DescribeApplicationResponse.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "InstanceArn"))
|
616
621
|
DescribeApplicationResponse.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationStatus, location_name: "Status"))
|
@@ -708,6 +713,12 @@ module Aws::SSOAdmin
|
|
708
713
|
GetApplicationGrantResponse.add_member(:grant, Shapes::ShapeRef.new(shape: Grant, required: true, location_name: "Grant"))
|
709
714
|
GetApplicationGrantResponse.struct_class = Types::GetApplicationGrantResponse
|
710
715
|
|
716
|
+
GetApplicationSessionConfigurationRequest.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "ApplicationArn"))
|
717
|
+
GetApplicationSessionConfigurationRequest.struct_class = Types::GetApplicationSessionConfigurationRequest
|
718
|
+
|
719
|
+
GetApplicationSessionConfigurationResponse.add_member(:user_background_session_application_status, Shapes::ShapeRef.new(shape: UserBackgroundSessionApplicationStatus, location_name: "UserBackgroundSessionApplicationStatus"))
|
720
|
+
GetApplicationSessionConfigurationResponse.struct_class = Types::GetApplicationSessionConfigurationResponse
|
721
|
+
|
711
722
|
GetInlinePolicyForPermissionSetRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, required: true, location_name: "InstanceArn"))
|
712
723
|
GetInlinePolicyForPermissionSetRequest.add_member(:permission_set_arn, Shapes::ShapeRef.new(shape: PermissionSetArn, required: true, location_name: "PermissionSetArn"))
|
713
724
|
GetInlinePolicyForPermissionSetRequest.struct_class = Types::GetInlinePolicyForPermissionSetRequest
|
@@ -1043,6 +1054,12 @@ module Aws::SSOAdmin
|
|
1043
1054
|
PutApplicationGrantRequest.add_member(:grant, Shapes::ShapeRef.new(shape: Grant, required: true, location_name: "Grant"))
|
1044
1055
|
PutApplicationGrantRequest.struct_class = Types::PutApplicationGrantRequest
|
1045
1056
|
|
1057
|
+
PutApplicationSessionConfigurationRequest.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "ApplicationArn"))
|
1058
|
+
PutApplicationSessionConfigurationRequest.add_member(:user_background_session_application_status, Shapes::ShapeRef.new(shape: UserBackgroundSessionApplicationStatus, location_name: "UserBackgroundSessionApplicationStatus"))
|
1059
|
+
PutApplicationSessionConfigurationRequest.struct_class = Types::PutApplicationSessionConfigurationRequest
|
1060
|
+
|
1061
|
+
PutApplicationSessionConfigurationResponse.struct_class = Types::PutApplicationSessionConfigurationResponse
|
1062
|
+
|
1046
1063
|
PutInlinePolicyToPermissionSetRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, required: true, location_name: "InstanceArn"))
|
1047
1064
|
PutInlinePolicyToPermissionSetRequest.add_member(:permission_set_arn, Shapes::ShapeRef.new(shape: PermissionSetArn, required: true, location_name: "PermissionSetArn"))
|
1048
1065
|
PutInlinePolicyToPermissionSetRequest.add_member(:inline_policy, Shapes::ShapeRef.new(shape: PermissionSetPolicyDocument, required: true, location_name: "InlinePolicy"))
|
@@ -1710,6 +1727,19 @@ module Aws::SSOAdmin
|
|
1710
1727
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1711
1728
|
end)
|
1712
1729
|
|
1730
|
+
api.add_operation(:get_application_session_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1731
|
+
o.name = "GetApplicationSessionConfiguration"
|
1732
|
+
o.http_method = "POST"
|
1733
|
+
o.http_request_uri = "/"
|
1734
|
+
o.input = Shapes::ShapeRef.new(shape: GetApplicationSessionConfigurationRequest)
|
1735
|
+
o.output = Shapes::ShapeRef.new(shape: GetApplicationSessionConfigurationResponse)
|
1736
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1737
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1738
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1739
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1740
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1741
|
+
end)
|
1742
|
+
|
1713
1743
|
api.add_operation(:get_inline_policy_for_permission_set, Seahorse::Model::Operation.new.tap do |o|
|
1714
1744
|
o.name = "GetInlinePolicyForPermissionSet"
|
1715
1745
|
o.http_method = "POST"
|
@@ -1838,8 +1868,8 @@ module Aws::SSOAdmin
|
|
1838
1868
|
o.input = Shapes::ShapeRef.new(shape: ListApplicationAccessScopesRequest)
|
1839
1869
|
o.output = Shapes::ShapeRef.new(shape: ListApplicationAccessScopesResponse)
|
1840
1870
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1841
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1842
1871
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1872
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1843
1873
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1844
1874
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1845
1875
|
o[:pager] = Aws::Pager.new(
|
@@ -1895,8 +1925,8 @@ module Aws::SSOAdmin
|
|
1895
1925
|
o.input = Shapes::ShapeRef.new(shape: ListApplicationAuthenticationMethodsRequest)
|
1896
1926
|
o.output = Shapes::ShapeRef.new(shape: ListApplicationAuthenticationMethodsResponse)
|
1897
1927
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1898
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1899
1928
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1929
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1900
1930
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1901
1931
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1902
1932
|
o[:pager] = Aws::Pager.new(
|
@@ -1913,8 +1943,8 @@ module Aws::SSOAdmin
|
|
1913
1943
|
o.input = Shapes::ShapeRef.new(shape: ListApplicationGrantsRequest)
|
1914
1944
|
o.output = Shapes::ShapeRef.new(shape: ListApplicationGrantsResponse)
|
1915
1945
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1916
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1917
1946
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1947
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1918
1948
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1919
1949
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1920
1950
|
o[:pager] = Aws::Pager.new(
|
@@ -2179,6 +2209,20 @@ module Aws::SSOAdmin
|
|
2179
2209
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2180
2210
|
end)
|
2181
2211
|
|
2212
|
+
api.add_operation(:put_application_session_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2213
|
+
o.name = "PutApplicationSessionConfiguration"
|
2214
|
+
o.http_method = "POST"
|
2215
|
+
o.http_request_uri = "/"
|
2216
|
+
o.input = Shapes::ShapeRef.new(shape: PutApplicationSessionConfigurationRequest)
|
2217
|
+
o.output = Shapes::ShapeRef.new(shape: PutApplicationSessionConfigurationResponse)
|
2218
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2219
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2220
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2221
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2222
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2223
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2224
|
+
end)
|
2225
|
+
|
2182
2226
|
api.add_operation(:put_inline_policy_to_permission_set, Seahorse::Model::Operation.new.tap do |o|
|
2183
2227
|
o.name = "PutInlinePolicyToPermissionSet"
|
2184
2228
|
o.http_method = "POST"
|
@@ -1948,6 +1948,31 @@ module Aws::SSOAdmin
|
|
1948
1948
|
include Aws::Structure
|
1949
1949
|
end
|
1950
1950
|
|
1951
|
+
# @!attribute [rw] application_arn
|
1952
|
+
# The Amazon Resource Name (ARN) of the application for which to
|
1953
|
+
# retrieve the session configuration.
|
1954
|
+
# @return [String]
|
1955
|
+
#
|
1956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetApplicationSessionConfigurationRequest AWS API Documentation
|
1957
|
+
#
|
1958
|
+
class GetApplicationSessionConfigurationRequest < Struct.new(
|
1959
|
+
:application_arn)
|
1960
|
+
SENSITIVE = []
|
1961
|
+
include Aws::Structure
|
1962
|
+
end
|
1963
|
+
|
1964
|
+
# @!attribute [rw] user_background_session_application_status
|
1965
|
+
# The status of user background sessions for the application.
|
1966
|
+
# @return [String]
|
1967
|
+
#
|
1968
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetApplicationSessionConfigurationResponse AWS API Documentation
|
1969
|
+
#
|
1970
|
+
class GetApplicationSessionConfigurationResponse < Struct.new(
|
1971
|
+
:user_background_session_application_status)
|
1972
|
+
SENSITIVE = []
|
1973
|
+
include Aws::Structure
|
1974
|
+
end
|
1975
|
+
|
1951
1976
|
# @!attribute [rw] instance_arn
|
1952
1977
|
# The ARN of the IAM Identity Center instance under which the
|
1953
1978
|
# operation will be executed. For more information about ARNs, see
|
@@ -3728,6 +3753,28 @@ module Aws::SSOAdmin
|
|
3728
3753
|
include Aws::Structure
|
3729
3754
|
end
|
3730
3755
|
|
3756
|
+
# @!attribute [rw] application_arn
|
3757
|
+
# The Amazon Resource Name (ARN) of the application for which to
|
3758
|
+
# update the session configuration.
|
3759
|
+
# @return [String]
|
3760
|
+
#
|
3761
|
+
# @!attribute [rw] user_background_session_application_status
|
3762
|
+
# The status of user background sessions for the application.
|
3763
|
+
# @return [String]
|
3764
|
+
#
|
3765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutApplicationSessionConfigurationRequest AWS API Documentation
|
3766
|
+
#
|
3767
|
+
class PutApplicationSessionConfigurationRequest < Struct.new(
|
3768
|
+
:application_arn,
|
3769
|
+
:user_background_session_application_status)
|
3770
|
+
SENSITIVE = []
|
3771
|
+
include Aws::Structure
|
3772
|
+
end
|
3773
|
+
|
3774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutApplicationSessionConfigurationResponse AWS API Documentation
|
3775
|
+
#
|
3776
|
+
class PutApplicationSessionConfigurationResponse < Aws::EmptyStructure; end
|
3777
|
+
|
3731
3778
|
# @!attribute [rw] instance_arn
|
3732
3779
|
# The ARN of the IAM Identity Center instance under which the
|
3733
3780
|
# operation will be executed. For more information about ARNs, see
|
data/lib/aws-sdk-ssoadmin.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -552,6 +552,16 @@ module Aws
|
|
552
552
|
) -> _GetApplicationGrantResponseSuccess
|
553
553
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplicationGrantResponseSuccess
|
554
554
|
|
555
|
+
interface _GetApplicationSessionConfigurationResponseSuccess
|
556
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationSessionConfigurationResponse]
|
557
|
+
def user_background_session_application_status: () -> ("ENABLED" | "DISABLED")
|
558
|
+
end
|
559
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSOAdmin/Client.html#get_application_session_configuration-instance_method
|
560
|
+
def get_application_session_configuration: (
|
561
|
+
application_arn: ::String
|
562
|
+
) -> _GetApplicationSessionConfigurationResponseSuccess
|
563
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplicationSessionConfigurationResponseSuccess
|
564
|
+
|
555
565
|
interface _GetInlinePolicyForPermissionSetResponseSuccess
|
556
566
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetInlinePolicyForPermissionSetResponse]
|
557
567
|
def inline_policy: () -> ::String
|
@@ -929,6 +939,16 @@ module Aws
|
|
929
939
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
930
940
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
931
941
|
|
942
|
+
interface _PutApplicationSessionConfigurationResponseSuccess
|
943
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutApplicationSessionConfigurationResponse]
|
944
|
+
end
|
945
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSOAdmin/Client.html#put_application_session_configuration-instance_method
|
946
|
+
def put_application_session_configuration: (
|
947
|
+
application_arn: ::String,
|
948
|
+
?user_background_session_application_status: ("ENABLED" | "DISABLED")
|
949
|
+
) -> _PutApplicationSessionConfigurationResponseSuccess
|
950
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutApplicationSessionConfigurationResponseSuccess
|
951
|
+
|
932
952
|
interface _PutInlinePolicyToPermissionSetResponseSuccess
|
933
953
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutInlinePolicyToPermissionSetResponse]
|
934
954
|
end
|
data/sig/types.rbs
CHANGED
@@ -555,6 +555,16 @@ module Aws::SSOAdmin
|
|
555
555
|
SENSITIVE: []
|
556
556
|
end
|
557
557
|
|
558
|
+
class GetApplicationSessionConfigurationRequest
|
559
|
+
attr_accessor application_arn: ::String
|
560
|
+
SENSITIVE: []
|
561
|
+
end
|
562
|
+
|
563
|
+
class GetApplicationSessionConfigurationResponse
|
564
|
+
attr_accessor user_background_session_application_status: ("ENABLED" | "DISABLED")
|
565
|
+
SENSITIVE: []
|
566
|
+
end
|
567
|
+
|
558
568
|
class GetInlinePolicyForPermissionSetRequest
|
559
569
|
attr_accessor instance_arn: ::String
|
560
570
|
attr_accessor permission_set_arn: ::String
|
@@ -1025,6 +1035,15 @@ module Aws::SSOAdmin
|
|
1025
1035
|
SENSITIVE: []
|
1026
1036
|
end
|
1027
1037
|
|
1038
|
+
class PutApplicationSessionConfigurationRequest
|
1039
|
+
attr_accessor application_arn: ::String
|
1040
|
+
attr_accessor user_background_session_application_status: ("ENABLED" | "DISABLED")
|
1041
|
+
SENSITIVE: []
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
class PutApplicationSessionConfigurationResponse < Aws::EmptyStructure
|
1045
|
+
end
|
1046
|
+
|
1028
1047
|
class PutInlinePolicyToPermissionSetRequest
|
1029
1048
|
attr_accessor instance_arn: ::String
|
1030
1049
|
attr_accessor permission_set_arn: ::String
|