aws-sdk-ssoadmin 1.61.0 → 1.62.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssoadmin/client.rb +23 -5
- data/lib/aws-sdk-ssoadmin/client_api.rb +29 -1
- data/lib/aws-sdk-ssoadmin/errors.rb +20 -0
- data/lib/aws-sdk-ssoadmin/types.rb +121 -7
- data/lib/aws-sdk-ssoadmin.rb +1 -1
- data/sig/client.rbs +9 -3
- data/sig/errors.rbs +4 -0
- data/sig/types.rbs +24 -2
- 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: e921f681b3f19d7679b67b9bd6dc585dcbd3611f9ddb3fe870b5879860043857
|
4
|
+
data.tar.gz: dc9afefce123da61cfc10d387d6410f5b1fbc08ae2eced773782551bd248b318
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0bb4876947fe5abec25c04de172d7394fbf9b5048e2214501678a145e80e89d21dc35fefd5ba405920eb9d327a5698dea6e39d8bc4183ba2bb40a1c4e8f84ba
|
7
|
+
data.tar.gz: 6c6c00189f254bf317642c5d9f51293a48cbeac6be96b5cd10753d3d7a39c758d19e9f60e1c183d3ef2f5876472d640d93bf650a65c07ed731230ca9611b5248
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.62.0
|
@@ -1734,6 +1734,8 @@ module Aws::SSOAdmin
|
|
1734
1734
|
# * {Types::DescribeInstanceResponse#name #name} => String
|
1735
1735
|
# * {Types::DescribeInstanceResponse#created_date #created_date} => Time
|
1736
1736
|
# * {Types::DescribeInstanceResponse#status #status} => String
|
1737
|
+
# * {Types::DescribeInstanceResponse#status_reason #status_reason} => String
|
1738
|
+
# * {Types::DescribeInstanceResponse#encryption_configuration_details #encryption_configuration_details} => Types::EncryptionConfigurationDetails
|
1737
1739
|
#
|
1738
1740
|
# @example Request syntax with placeholder values
|
1739
1741
|
#
|
@@ -1748,7 +1750,12 @@ module Aws::SSOAdmin
|
|
1748
1750
|
# resp.owner_account_id #=> String
|
1749
1751
|
# resp.name #=> String
|
1750
1752
|
# resp.created_date #=> Time
|
1751
|
-
# resp.status #=> String, one of "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "ACTIVE"
|
1753
|
+
# resp.status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_IN_PROGRESS", "ACTIVE"
|
1754
|
+
# resp.status_reason #=> String
|
1755
|
+
# resp.encryption_configuration_details.key_type #=> String, one of "AWS_OWNED_KMS_KEY", "CUSTOMER_MANAGED_KEY"
|
1756
|
+
# resp.encryption_configuration_details.kms_key_arn #=> String
|
1757
|
+
# resp.encryption_configuration_details.encryption_status #=> String, one of "UPDATING", "ENABLED", "UPDATE_FAILED"
|
1758
|
+
# resp.encryption_configuration_details.encryption_status_reason #=> String
|
1752
1759
|
#
|
1753
1760
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstance AWS API Documentation
|
1754
1761
|
#
|
@@ -3043,7 +3050,8 @@ module Aws::SSOAdmin
|
|
3043
3050
|
# resp.instances[0].owner_account_id #=> String
|
3044
3051
|
# resp.instances[0].name #=> String
|
3045
3052
|
# resp.instances[0].created_date #=> Time
|
3046
|
-
# resp.instances[0].status #=> String, one of "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "ACTIVE"
|
3053
|
+
# resp.instances[0].status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_IN_PROGRESS", "ACTIVE"
|
3054
|
+
# resp.instances[0].status_reason #=> String
|
3047
3055
|
# resp.next_token #=> String
|
3048
3056
|
#
|
3049
3057
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListInstances AWS API Documentation
|
@@ -3874,7 +3882,7 @@ module Aws::SSOAdmin
|
|
3874
3882
|
# Update the details for the instance of IAM Identity Center that is
|
3875
3883
|
# owned by the Amazon Web Services account.
|
3876
3884
|
#
|
3877
|
-
# @option params [
|
3885
|
+
# @option params [String] :name
|
3878
3886
|
# Updates the instance name.
|
3879
3887
|
#
|
3880
3888
|
# @option params [required, String] :instance_arn
|
@@ -3884,13 +3892,23 @@ module Aws::SSOAdmin
|
|
3884
3892
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
3885
3893
|
# *Amazon Web Services General Reference*.
|
3886
3894
|
#
|
3895
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
3896
|
+
# Specifies the encryption configuration for your IAM Identity Center
|
3897
|
+
# instance. You can use this to configure customer managed KMS keys
|
3898
|
+
# (CMK) or Amazon Web Services owned KMS keys for encrypting your
|
3899
|
+
# instance data.
|
3900
|
+
#
|
3887
3901
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3888
3902
|
#
|
3889
3903
|
# @example Request syntax with placeholder values
|
3890
3904
|
#
|
3891
3905
|
# resp = client.update_instance({
|
3892
|
-
# name: "NameType",
|
3906
|
+
# name: "NameType",
|
3893
3907
|
# instance_arn: "InstanceArn", # required
|
3908
|
+
# encryption_configuration: {
|
3909
|
+
# key_type: "AWS_OWNED_KMS_KEY", # required, accepts AWS_OWNED_KMS_KEY, CUSTOMER_MANAGED_KEY
|
3910
|
+
# kms_key_arn: "KmsKeyArn",
|
3911
|
+
# },
|
3894
3912
|
# })
|
3895
3913
|
#
|
3896
3914
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstance AWS API Documentation
|
@@ -4058,7 +4076,7 @@ module Aws::SSOAdmin
|
|
4058
4076
|
tracer: tracer
|
4059
4077
|
)
|
4060
4078
|
context[:gem_name] = 'aws-sdk-ssoadmin'
|
4061
|
-
context[:gem_version] = '1.
|
4079
|
+
context[:gem_version] = '1.62.0'
|
4062
4080
|
Seahorse::Client::Request.new(handlers, context)
|
4063
4081
|
end
|
4064
4082
|
|
@@ -22,6 +22,7 @@ module Aws::SSOAdmin
|
|
22
22
|
AccessControlAttributeValueSourceList = Shapes::ListShape.new(name: 'AccessControlAttributeValueSourceList')
|
23
23
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
24
24
|
AccessDeniedExceptionMessage = Shapes::StringShape.new(name: 'AccessDeniedExceptionMessage')
|
25
|
+
AccessDeniedExceptionReason = Shapes::StringShape.new(name: 'AccessDeniedExceptionReason')
|
25
26
|
AccountAssignment = Shapes::StructureShape.new(name: 'AccountAssignment')
|
26
27
|
AccountAssignmentForPrincipal = Shapes::StructureShape.new(name: 'AccountAssignmentForPrincipal')
|
27
28
|
AccountAssignmentList = Shapes::ListShape.new(name: 'AccountAssignmentList')
|
@@ -129,6 +130,8 @@ module Aws::SSOAdmin
|
|
129
130
|
DetachManagedPolicyFromPermissionSetResponse = Shapes::StructureShape.new(name: 'DetachManagedPolicyFromPermissionSetResponse')
|
130
131
|
DisplayData = Shapes::StructureShape.new(name: 'DisplayData')
|
131
132
|
Duration = Shapes::StringShape.new(name: 'Duration')
|
133
|
+
EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
|
134
|
+
EncryptionConfigurationDetails = Shapes::StructureShape.new(name: 'EncryptionConfigurationDetails')
|
132
135
|
FederationProtocol = Shapes::StringShape.new(name: 'FederationProtocol')
|
133
136
|
GetApplicationAccessScopeRequest = Shapes::StructureShape.new(name: 'GetApplicationAccessScopeRequest')
|
134
137
|
GetApplicationAccessScopeResponse = Shapes::StructureShape.new(name: 'GetApplicationAccessScopeResponse')
|
@@ -163,6 +166,9 @@ module Aws::SSOAdmin
|
|
163
166
|
JMESPath = Shapes::StringShape.new(name: 'JMESPath')
|
164
167
|
JwksRetrievalOption = Shapes::StringShape.new(name: 'JwksRetrievalOption')
|
165
168
|
JwtBearerGrant = Shapes::StructureShape.new(name: 'JwtBearerGrant')
|
169
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
170
|
+
KmsKeyStatus = Shapes::StringShape.new(name: 'KmsKeyStatus')
|
171
|
+
KmsKeyType = Shapes::StringShape.new(name: 'KmsKeyType')
|
166
172
|
ListAccountAssignmentCreationStatusRequest = Shapes::StructureShape.new(name: 'ListAccountAssignmentCreationStatusRequest')
|
167
173
|
ListAccountAssignmentCreationStatusResponse = Shapes::StructureShape.new(name: 'ListAccountAssignmentCreationStatusResponse')
|
168
174
|
ListAccountAssignmentDeletionStatusRequest = Shapes::StructureShape.new(name: 'ListAccountAssignmentDeletionStatusRequest')
|
@@ -249,6 +255,7 @@ module Aws::SSOAdmin
|
|
249
255
|
RefreshTokenGrant = Shapes::StructureShape.new(name: 'RefreshTokenGrant')
|
250
256
|
RelayState = Shapes::StringShape.new(name: 'RelayState')
|
251
257
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
258
|
+
ResourceNotFoundExceptionReason = Shapes::StringShape.new(name: 'ResourceNotFoundExceptionReason')
|
252
259
|
ResourceNotFoundMessage = Shapes::StringShape.new(name: 'ResourceNotFoundMessage')
|
253
260
|
ResourceServerConfig = Shapes::StructureShape.new(name: 'ResourceServerConfig')
|
254
261
|
ResourceServerScope = Shapes::StringShape.new(name: 'ResourceServerScope')
|
@@ -276,6 +283,7 @@ module Aws::SSOAdmin
|
|
276
283
|
TargetType = Shapes::StringShape.new(name: 'TargetType')
|
277
284
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
278
285
|
ThrottlingExceptionMessage = Shapes::StringShape.new(name: 'ThrottlingExceptionMessage')
|
286
|
+
ThrottlingExceptionReason = Shapes::StringShape.new(name: 'ThrottlingExceptionReason')
|
279
287
|
Token = Shapes::StringShape.new(name: 'Token')
|
280
288
|
TokenExchangeGrant = Shapes::StructureShape.new(name: 'TokenExchangeGrant')
|
281
289
|
TokenIssuerAudience = Shapes::StringShape.new(name: 'TokenIssuerAudience')
|
@@ -306,6 +314,7 @@ module Aws::SSOAdmin
|
|
306
314
|
UserBackgroundSessionApplicationStatus = Shapes::StringShape.new(name: 'UserBackgroundSessionApplicationStatus')
|
307
315
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
308
316
|
ValidationExceptionMessage = Shapes::StringShape.new(name: 'ValidationExceptionMessage')
|
317
|
+
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
309
318
|
|
310
319
|
AccessControlAttribute.add_member(:key, Shapes::ShapeRef.new(shape: AccessControlAttributeKey, required: true, location_name: "Key"))
|
311
320
|
AccessControlAttribute.add_member(:value, Shapes::ShapeRef.new(shape: AccessControlAttributeValue, required: true, location_name: "Value"))
|
@@ -319,6 +328,7 @@ module Aws::SSOAdmin
|
|
319
328
|
AccessControlAttributeValueSourceList.member = Shapes::ShapeRef.new(shape: AccessControlAttributeValueSource)
|
320
329
|
|
321
330
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: AccessDeniedExceptionMessage, location_name: "Message"))
|
331
|
+
AccessDeniedException.add_member(:reason, Shapes::ShapeRef.new(shape: AccessDeniedExceptionReason, location_name: "Reason"))
|
322
332
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
323
333
|
|
324
334
|
AccountAssignment.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
@@ -641,6 +651,8 @@ module Aws::SSOAdmin
|
|
641
651
|
DescribeInstanceResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameType, location_name: "Name"))
|
642
652
|
DescribeInstanceResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedDate"))
|
643
653
|
DescribeInstanceResponse.add_member(:status, Shapes::ShapeRef.new(shape: InstanceStatus, location_name: "Status"))
|
654
|
+
DescribeInstanceResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: Reason, location_name: "StatusReason"))
|
655
|
+
DescribeInstanceResponse.add_member(:encryption_configuration_details, Shapes::ShapeRef.new(shape: EncryptionConfigurationDetails, location_name: "EncryptionConfigurationDetails"))
|
644
656
|
DescribeInstanceResponse.struct_class = Types::DescribeInstanceResponse
|
645
657
|
|
646
658
|
DescribePermissionSetProvisioningStatusRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, required: true, location_name: "InstanceArn"))
|
@@ -685,6 +697,16 @@ module Aws::SSOAdmin
|
|
685
697
|
DisplayData.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
686
698
|
DisplayData.struct_class = Types::DisplayData
|
687
699
|
|
700
|
+
EncryptionConfiguration.add_member(:key_type, Shapes::ShapeRef.new(shape: KmsKeyType, required: true, location_name: "KeyType"))
|
701
|
+
EncryptionConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
702
|
+
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
703
|
+
|
704
|
+
EncryptionConfigurationDetails.add_member(:key_type, Shapes::ShapeRef.new(shape: KmsKeyType, location_name: "KeyType"))
|
705
|
+
EncryptionConfigurationDetails.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
706
|
+
EncryptionConfigurationDetails.add_member(:encryption_status, Shapes::ShapeRef.new(shape: KmsKeyStatus, location_name: "EncryptionStatus"))
|
707
|
+
EncryptionConfigurationDetails.add_member(:encryption_status_reason, Shapes::ShapeRef.new(shape: Reason, location_name: "EncryptionStatusReason"))
|
708
|
+
EncryptionConfigurationDetails.struct_class = Types::EncryptionConfigurationDetails
|
709
|
+
|
688
710
|
GetApplicationAccessScopeRequest.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "ApplicationArn"))
|
689
711
|
GetApplicationAccessScopeRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
690
712
|
GetApplicationAccessScopeRequest.struct_class = Types::GetApplicationAccessScopeRequest
|
@@ -765,6 +787,7 @@ module Aws::SSOAdmin
|
|
765
787
|
InstanceMetadata.add_member(:name, Shapes::ShapeRef.new(shape: NameType, location_name: "Name"))
|
766
788
|
InstanceMetadata.add_member(:created_date, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedDate"))
|
767
789
|
InstanceMetadata.add_member(:status, Shapes::ShapeRef.new(shape: InstanceStatus, location_name: "Status"))
|
790
|
+
InstanceMetadata.add_member(:status_reason, Shapes::ShapeRef.new(shape: Reason, location_name: "StatusReason"))
|
768
791
|
InstanceMetadata.struct_class = Types::InstanceMetadata
|
769
792
|
|
770
793
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: InternalFailureMessage, location_name: "Message"))
|
@@ -1079,6 +1102,7 @@ module Aws::SSOAdmin
|
|
1079
1102
|
RefreshTokenGrant.struct_class = Types::RefreshTokenGrant
|
1080
1103
|
|
1081
1104
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ResourceNotFoundMessage, location_name: "Message"))
|
1105
|
+
ResourceNotFoundException.add_member(:reason, Shapes::ShapeRef.new(shape: ResourceNotFoundExceptionReason, location_name: "Reason"))
|
1082
1106
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1083
1107
|
|
1084
1108
|
ResourceServerConfig.add_member(:scopes, Shapes::ShapeRef.new(shape: ResourceServerScopes, location_name: "Scopes"))
|
@@ -1122,6 +1146,7 @@ module Aws::SSOAdmin
|
|
1122
1146
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1123
1147
|
|
1124
1148
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ThrottlingExceptionMessage, location_name: "Message"))
|
1149
|
+
ThrottlingException.add_member(:reason, Shapes::ShapeRef.new(shape: ThrottlingExceptionReason, location_name: "Reason"))
|
1125
1150
|
ThrottlingException.struct_class = Types::ThrottlingException
|
1126
1151
|
|
1127
1152
|
TokenExchangeGrant.struct_class = Types::TokenExchangeGrant
|
@@ -1172,8 +1197,9 @@ module Aws::SSOAdmin
|
|
1172
1197
|
|
1173
1198
|
UpdateInstanceAccessControlAttributeConfigurationResponse.struct_class = Types::UpdateInstanceAccessControlAttributeConfigurationResponse
|
1174
1199
|
|
1175
|
-
UpdateInstanceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameType,
|
1200
|
+
UpdateInstanceRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameType, location_name: "Name"))
|
1176
1201
|
UpdateInstanceRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, required: true, location_name: "InstanceArn"))
|
1202
|
+
UpdateInstanceRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
1177
1203
|
UpdateInstanceRequest.struct_class = Types::UpdateInstanceRequest
|
1178
1204
|
|
1179
1205
|
UpdateInstanceResponse.struct_class = Types::UpdateInstanceResponse
|
@@ -1195,6 +1221,7 @@ module Aws::SSOAdmin
|
|
1195
1221
|
UpdateTrustedTokenIssuerResponse.struct_class = Types::UpdateTrustedTokenIssuerResponse
|
1196
1222
|
|
1197
1223
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ValidationExceptionMessage, location_name: "Message"))
|
1224
|
+
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "Reason"))
|
1198
1225
|
ValidationException.struct_class = Types::ValidationException
|
1199
1226
|
|
1200
1227
|
|
@@ -2303,6 +2330,7 @@ module Aws::SSOAdmin
|
|
2303
2330
|
o.output = Shapes::ShapeRef.new(shape: UpdateInstanceResponse)
|
2304
2331
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2305
2332
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2333
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2306
2334
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2307
2335
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2308
2336
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
@@ -54,6 +54,11 @@ module Aws::SSOAdmin
|
|
54
54
|
def message
|
55
55
|
@message || @data[:message]
|
56
56
|
end
|
57
|
+
|
58
|
+
# @return [String]
|
59
|
+
def reason
|
60
|
+
@data[:reason]
|
61
|
+
end
|
57
62
|
end
|
58
63
|
|
59
64
|
class ConflictException < ServiceError
|
@@ -99,6 +104,11 @@ module Aws::SSOAdmin
|
|
99
104
|
def message
|
100
105
|
@message || @data[:message]
|
101
106
|
end
|
107
|
+
|
108
|
+
# @return [String]
|
109
|
+
def reason
|
110
|
+
@data[:reason]
|
111
|
+
end
|
102
112
|
end
|
103
113
|
|
104
114
|
class ServiceQuotaExceededException < ServiceError
|
@@ -129,6 +139,11 @@ module Aws::SSOAdmin
|
|
129
139
|
def message
|
130
140
|
@message || @data[:message]
|
131
141
|
end
|
142
|
+
|
143
|
+
# @return [String]
|
144
|
+
def reason
|
145
|
+
@data[:reason]
|
146
|
+
end
|
132
147
|
end
|
133
148
|
|
134
149
|
class ValidationException < ServiceError
|
@@ -144,6 +159,11 @@ module Aws::SSOAdmin
|
|
144
159
|
def message
|
145
160
|
@message || @data[:message]
|
146
161
|
end
|
162
|
+
|
163
|
+
# @return [String]
|
164
|
+
def reason
|
165
|
+
@data[:reason]
|
166
|
+
end
|
147
167
|
end
|
148
168
|
|
149
169
|
end
|
@@ -64,10 +64,15 @@ module Aws::SSOAdmin
|
|
64
64
|
# @!attribute [rw] message
|
65
65
|
# @return [String]
|
66
66
|
#
|
67
|
+
# @!attribute [rw] reason
|
68
|
+
# The reason for the access denied exception.
|
69
|
+
# @return [String]
|
70
|
+
#
|
67
71
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AccessDeniedException AWS API Documentation
|
68
72
|
#
|
69
73
|
class AccessDeniedException < Struct.new(
|
70
|
-
:message
|
74
|
+
:message,
|
75
|
+
:reason)
|
71
76
|
SENSITIVE = []
|
72
77
|
include Aws::Structure
|
73
78
|
end
|
@@ -1608,6 +1613,22 @@ module Aws::SSOAdmin
|
|
1608
1613
|
# The status of the instance.
|
1609
1614
|
# @return [String]
|
1610
1615
|
#
|
1616
|
+
# @!attribute [rw] status_reason
|
1617
|
+
# Provides additional context about the current status of the IAM
|
1618
|
+
# Identity Center instance. This field is particularly useful when an
|
1619
|
+
# instance is in a non-ACTIVE state, such as CREATE\_FAILED. When an
|
1620
|
+
# instance fails to create or update, this field contains information
|
1621
|
+
# about the cause, which may include issues with KMS key
|
1622
|
+
# configuration, permission problems with the specified KMS key, or
|
1623
|
+
# service-related errors.
|
1624
|
+
# @return [String]
|
1625
|
+
#
|
1626
|
+
# @!attribute [rw] encryption_configuration_details
|
1627
|
+
# Contains the encryption configuration for your IAM Identity Center
|
1628
|
+
# instance, including the encryption status, KMS key type, and KMS key
|
1629
|
+
# ARN.
|
1630
|
+
# @return [Types::EncryptionConfigurationDetails]
|
1631
|
+
#
|
1611
1632
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstanceResponse AWS API Documentation
|
1612
1633
|
#
|
1613
1634
|
class DescribeInstanceResponse < Struct.new(
|
@@ -1616,7 +1637,9 @@ module Aws::SSOAdmin
|
|
1616
1637
|
:owner_account_id,
|
1617
1638
|
:name,
|
1618
1639
|
:created_date,
|
1619
|
-
:status
|
1640
|
+
:status,
|
1641
|
+
:status_reason,
|
1642
|
+
:encryption_configuration_details)
|
1620
1643
|
SENSITIVE = []
|
1621
1644
|
include Aws::Structure
|
1622
1645
|
end
|
@@ -1817,6 +1840,64 @@ module Aws::SSOAdmin
|
|
1817
1840
|
include Aws::Structure
|
1818
1841
|
end
|
1819
1842
|
|
1843
|
+
# A structure that specifies the KMS key type and KMS key ARN used to
|
1844
|
+
# encrypt data in your IAM Identity Center instance.
|
1845
|
+
#
|
1846
|
+
# @!attribute [rw] key_type
|
1847
|
+
# The type of KMS key used for encryption.
|
1848
|
+
# @return [String]
|
1849
|
+
#
|
1850
|
+
# @!attribute [rw] kms_key_arn
|
1851
|
+
# The ARN of the KMS key used to encrypt data. Required when KeyType
|
1852
|
+
# is CUSTOMER\_MANAGED\_KEY. Cannot be specified when KeyType is
|
1853
|
+
# AWS\_OWNED\_KMS\_KEY.
|
1854
|
+
# @return [String]
|
1855
|
+
#
|
1856
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/EncryptionConfiguration AWS API Documentation
|
1857
|
+
#
|
1858
|
+
class EncryptionConfiguration < Struct.new(
|
1859
|
+
:key_type,
|
1860
|
+
:kms_key_arn)
|
1861
|
+
SENSITIVE = []
|
1862
|
+
include Aws::Structure
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# The encryption configuration of your IAM Identity Center instance,
|
1866
|
+
# including the key type, KMS key ARN, and current encryption status.
|
1867
|
+
#
|
1868
|
+
# @!attribute [rw] key_type
|
1869
|
+
# The type of KMS key used for encryption.
|
1870
|
+
# @return [String]
|
1871
|
+
#
|
1872
|
+
# @!attribute [rw] kms_key_arn
|
1873
|
+
# The ARN of the KMS key currently used to encrypt data in your IAM
|
1874
|
+
# Identity Center instance.
|
1875
|
+
# @return [String]
|
1876
|
+
#
|
1877
|
+
# @!attribute [rw] encryption_status
|
1878
|
+
# The current status of encryption configuration.
|
1879
|
+
# @return [String]
|
1880
|
+
#
|
1881
|
+
# @!attribute [rw] encryption_status_reason
|
1882
|
+
# Provides additional context about the current encryption status.
|
1883
|
+
# This field is particularly useful when the encryption status is
|
1884
|
+
# UPDATE\_FAILED. When encryption configuration update fails, this
|
1885
|
+
# field contains information about the cause, which may include KMS
|
1886
|
+
# key access issues, key not found errors, invalid key configuration,
|
1887
|
+
# key in an invalid state, or a disabled key.
|
1888
|
+
# @return [String]
|
1889
|
+
#
|
1890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/EncryptionConfigurationDetails AWS API Documentation
|
1891
|
+
#
|
1892
|
+
class EncryptionConfigurationDetails < Struct.new(
|
1893
|
+
:key_type,
|
1894
|
+
:kms_key_arn,
|
1895
|
+
:encryption_status,
|
1896
|
+
:encryption_status_reason)
|
1897
|
+
SENSITIVE = []
|
1898
|
+
include Aws::Structure
|
1899
|
+
end
|
1900
|
+
|
1820
1901
|
# @!attribute [rw] application_arn
|
1821
1902
|
# Specifies the ARN of the application with the access scope that you
|
1822
1903
|
# want to retrieve.
|
@@ -2168,6 +2249,15 @@ module Aws::SSOAdmin
|
|
2168
2249
|
# The current status of this Identity Center instance.
|
2169
2250
|
# @return [String]
|
2170
2251
|
#
|
2252
|
+
# @!attribute [rw] status_reason
|
2253
|
+
# Provides additional context about the current status of the IAM
|
2254
|
+
# Identity Center instance. This field is particularly useful when an
|
2255
|
+
# instance is in a non-ACTIVE state, such as CREATE\_FAILED. When an
|
2256
|
+
# instance creation fails, this field contains information about the
|
2257
|
+
# cause, which may include issues with KMS key configuration or
|
2258
|
+
# insufficient permissions.
|
2259
|
+
# @return [String]
|
2260
|
+
#
|
2171
2261
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/InstanceMetadata AWS API Documentation
|
2172
2262
|
#
|
2173
2263
|
class InstanceMetadata < Struct.new(
|
@@ -2176,7 +2266,8 @@ module Aws::SSOAdmin
|
|
2176
2266
|
:owner_account_id,
|
2177
2267
|
:name,
|
2178
2268
|
:created_date,
|
2179
|
-
:status
|
2269
|
+
:status,
|
2270
|
+
:status_reason)
|
2180
2271
|
SENSITIVE = []
|
2181
2272
|
include Aws::Structure
|
2182
2273
|
end
|
@@ -3852,10 +3943,15 @@ module Aws::SSOAdmin
|
|
3852
3943
|
# @!attribute [rw] message
|
3853
3944
|
# @return [String]
|
3854
3945
|
#
|
3946
|
+
# @!attribute [rw] reason
|
3947
|
+
# The reason for the resource not found exception.
|
3948
|
+
# @return [String]
|
3949
|
+
#
|
3855
3950
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ResourceNotFoundException AWS API Documentation
|
3856
3951
|
#
|
3857
3952
|
class ResourceNotFoundException < Struct.new(
|
3858
|
-
:message
|
3953
|
+
:message,
|
3954
|
+
:reason)
|
3859
3955
|
SENSITIVE = []
|
3860
3956
|
include Aws::Structure
|
3861
3957
|
end
|
@@ -4017,10 +4113,15 @@ module Aws::SSOAdmin
|
|
4017
4113
|
# @!attribute [rw] message
|
4018
4114
|
# @return [String]
|
4019
4115
|
#
|
4116
|
+
# @!attribute [rw] reason
|
4117
|
+
# The reason for the throttling exception.
|
4118
|
+
# @return [String]
|
4119
|
+
#
|
4020
4120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ThrottlingException AWS API Documentation
|
4021
4121
|
#
|
4022
4122
|
class ThrottlingException < Struct.new(
|
4023
|
-
:message
|
4123
|
+
:message,
|
4124
|
+
:reason)
|
4024
4125
|
SENSITIVE = []
|
4025
4126
|
include Aws::Structure
|
4026
4127
|
end
|
@@ -4237,11 +4338,19 @@ module Aws::SSOAdmin
|
|
4237
4338
|
# *Amazon Web Services General Reference*.
|
4238
4339
|
# @return [String]
|
4239
4340
|
#
|
4341
|
+
# @!attribute [rw] encryption_configuration
|
4342
|
+
# Specifies the encryption configuration for your IAM Identity Center
|
4343
|
+
# instance. You can use this to configure customer managed KMS keys
|
4344
|
+
# (CMK) or Amazon Web Services owned KMS keys for encrypting your
|
4345
|
+
# instance data.
|
4346
|
+
# @return [Types::EncryptionConfiguration]
|
4347
|
+
#
|
4240
4348
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstanceRequest AWS API Documentation
|
4241
4349
|
#
|
4242
4350
|
class UpdateInstanceRequest < Struct.new(
|
4243
4351
|
:name,
|
4244
|
-
:instance_arn
|
4352
|
+
:instance_arn,
|
4353
|
+
:encryption_configuration)
|
4245
4354
|
SENSITIVE = []
|
4246
4355
|
include Aws::Structure
|
4247
4356
|
end
|
@@ -4328,10 +4437,15 @@ module Aws::SSOAdmin
|
|
4328
4437
|
# @!attribute [rw] message
|
4329
4438
|
# @return [String]
|
4330
4439
|
#
|
4440
|
+
# @!attribute [rw] reason
|
4441
|
+
# The reason for the validation exception.
|
4442
|
+
# @return [String]
|
4443
|
+
#
|
4331
4444
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ValidationException AWS API Documentation
|
4332
4445
|
#
|
4333
4446
|
class ValidationException < Struct.new(
|
4334
|
-
:message
|
4447
|
+
:message,
|
4448
|
+
:reason)
|
4335
4449
|
SENSITIVE = []
|
4336
4450
|
include Aws::Structure
|
4337
4451
|
end
|
data/lib/aws-sdk-ssoadmin.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -428,7 +428,9 @@ module Aws
|
|
428
428
|
def owner_account_id: () -> ::String
|
429
429
|
def name: () -> ::String
|
430
430
|
def created_date: () -> ::Time
|
431
|
-
def status: () -> ("CREATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "ACTIVE")
|
431
|
+
def status: () -> ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "ACTIVE")
|
432
|
+
def status_reason: () -> ::String
|
433
|
+
def encryption_configuration_details: () -> Types::EncryptionConfigurationDetails
|
432
434
|
end
|
433
435
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSOAdmin/Client.html#describe_instance-instance_method
|
434
436
|
def describe_instance: (
|
@@ -1027,8 +1029,12 @@ module Aws
|
|
1027
1029
|
end
|
1028
1030
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSOAdmin/Client.html#update_instance-instance_method
|
1029
1031
|
def update_instance: (
|
1030
|
-
name: ::String,
|
1031
|
-
instance_arn: ::String
|
1032
|
+
?name: ::String,
|
1033
|
+
instance_arn: ::String,
|
1034
|
+
?encryption_configuration: {
|
1035
|
+
key_type: ("AWS_OWNED_KMS_KEY" | "CUSTOMER_MANAGED_KEY"),
|
1036
|
+
kms_key_arn: ::String?
|
1037
|
+
}
|
1032
1038
|
) -> _UpdateInstanceResponseSuccess
|
1033
1039
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInstanceResponseSuccess
|
1034
1040
|
|
data/sig/errors.rbs
CHANGED
@@ -13,6 +13,7 @@ module Aws
|
|
13
13
|
|
14
14
|
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
15
|
def message: () -> ::String
|
16
|
+
def reason: () -> ::String
|
16
17
|
end
|
17
18
|
class ConflictException < ::Aws::Errors::ServiceError
|
18
19
|
def message: () -> ::String
|
@@ -22,15 +23,18 @@ module Aws
|
|
22
23
|
end
|
23
24
|
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
24
25
|
def message: () -> ::String
|
26
|
+
def reason: () -> ::String
|
25
27
|
end
|
26
28
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
27
29
|
def message: () -> ::String
|
28
30
|
end
|
29
31
|
class ThrottlingException < ::Aws::Errors::ServiceError
|
30
32
|
def message: () -> ::String
|
33
|
+
def reason: () -> ::String
|
31
34
|
end
|
32
35
|
class ValidationException < ::Aws::Errors::ServiceError
|
33
36
|
def message: () -> ::String
|
37
|
+
def reason: () -> ::String
|
34
38
|
end
|
35
39
|
end
|
36
40
|
end
|
data/sig/types.rbs
CHANGED
@@ -21,6 +21,7 @@ module Aws::SSOAdmin
|
|
21
21
|
|
22
22
|
class AccessDeniedException
|
23
23
|
attr_accessor message: ::String
|
24
|
+
attr_accessor reason: ("KMS_AccessDeniedException")
|
24
25
|
SENSITIVE: []
|
25
26
|
end
|
26
27
|
|
@@ -445,7 +446,9 @@ module Aws::SSOAdmin
|
|
445
446
|
attr_accessor owner_account_id: ::String
|
446
447
|
attr_accessor name: ::String
|
447
448
|
attr_accessor created_date: ::Time
|
448
|
-
attr_accessor status: ("CREATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "ACTIVE")
|
449
|
+
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "ACTIVE")
|
450
|
+
attr_accessor status_reason: ::String
|
451
|
+
attr_accessor encryption_configuration_details: Types::EncryptionConfigurationDetails
|
449
452
|
SENSITIVE: []
|
450
453
|
end
|
451
454
|
|
@@ -511,6 +514,20 @@ module Aws::SSOAdmin
|
|
511
514
|
SENSITIVE: []
|
512
515
|
end
|
513
516
|
|
517
|
+
class EncryptionConfiguration
|
518
|
+
attr_accessor key_type: ("AWS_OWNED_KMS_KEY" | "CUSTOMER_MANAGED_KEY")
|
519
|
+
attr_accessor kms_key_arn: ::String
|
520
|
+
SENSITIVE: []
|
521
|
+
end
|
522
|
+
|
523
|
+
class EncryptionConfigurationDetails
|
524
|
+
attr_accessor key_type: ("AWS_OWNED_KMS_KEY" | "CUSTOMER_MANAGED_KEY")
|
525
|
+
attr_accessor kms_key_arn: ::String
|
526
|
+
attr_accessor encryption_status: ("UPDATING" | "ENABLED" | "UPDATE_FAILED")
|
527
|
+
attr_accessor encryption_status_reason: ::String
|
528
|
+
SENSITIVE: []
|
529
|
+
end
|
530
|
+
|
514
531
|
class GetApplicationAccessScopeRequest
|
515
532
|
attr_accessor application_arn: ::String
|
516
533
|
attr_accessor scope: ::String
|
@@ -629,7 +646,8 @@ module Aws::SSOAdmin
|
|
629
646
|
attr_accessor owner_account_id: ::String
|
630
647
|
attr_accessor name: ::String
|
631
648
|
attr_accessor created_date: ::Time
|
632
|
-
attr_accessor status: ("CREATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "ACTIVE")
|
649
|
+
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "ACTIVE")
|
650
|
+
attr_accessor status_reason: ::String
|
633
651
|
SENSITIVE: []
|
634
652
|
end
|
635
653
|
|
@@ -1069,6 +1087,7 @@ module Aws::SSOAdmin
|
|
1069
1087
|
|
1070
1088
|
class ResourceNotFoundException
|
1071
1089
|
attr_accessor message: ::String
|
1090
|
+
attr_accessor reason: ("KMS_NotFoundException")
|
1072
1091
|
SENSITIVE: []
|
1073
1092
|
end
|
1074
1093
|
|
@@ -1118,6 +1137,7 @@ module Aws::SSOAdmin
|
|
1118
1137
|
|
1119
1138
|
class ThrottlingException
|
1120
1139
|
attr_accessor message: ::String
|
1140
|
+
attr_accessor reason: ("KMS_ThrottlingException")
|
1121
1141
|
SENSITIVE: []
|
1122
1142
|
end
|
1123
1143
|
|
@@ -1192,6 +1212,7 @@ module Aws::SSOAdmin
|
|
1192
1212
|
class UpdateInstanceRequest
|
1193
1213
|
attr_accessor name: ::String
|
1194
1214
|
attr_accessor instance_arn: ::String
|
1215
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
1195
1216
|
SENSITIVE: []
|
1196
1217
|
end
|
1197
1218
|
|
@@ -1222,6 +1243,7 @@ module Aws::SSOAdmin
|
|
1222
1243
|
|
1223
1244
|
class ValidationException
|
1224
1245
|
attr_accessor message: ::String
|
1246
|
+
attr_accessor reason: ("KMS_InvalidKeyUsageException" | "KMS_InvalidStateException" | "KMS_DisabledException")
|
1225
1247
|
SENSITIVE: []
|
1226
1248
|
end
|
1227
1249
|
end
|