aws-sdk-verifiedpermissions 1.0.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.
@@ -0,0 +1,1048 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::VerifiedPermissions
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ ActionId = Shapes::StringShape.new(name: 'ActionId')
18
+ ActionIdentifier = Shapes::StructureShape.new(name: 'ActionIdentifier')
19
+ ActionType = Shapes::StringShape.new(name: 'ActionType')
20
+ AttributeValue = Shapes::UnionShape.new(name: 'AttributeValue')
21
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
22
+ BooleanAttribute = Shapes::BooleanShape.new(name: 'BooleanAttribute')
23
+ ClientId = Shapes::StringShape.new(name: 'ClientId')
24
+ ClientIds = Shapes::ListShape.new(name: 'ClientIds')
25
+ CognitoUserPoolConfiguration = Shapes::StructureShape.new(name: 'CognitoUserPoolConfiguration')
26
+ Configuration = Shapes::UnionShape.new(name: 'Configuration')
27
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
28
+ ContextDefinition = Shapes::UnionShape.new(name: 'ContextDefinition')
29
+ ContextMap = Shapes::MapShape.new(name: 'ContextMap')
30
+ CreateIdentitySourceInput = Shapes::StructureShape.new(name: 'CreateIdentitySourceInput')
31
+ CreateIdentitySourceOutput = Shapes::StructureShape.new(name: 'CreateIdentitySourceOutput')
32
+ CreatePolicyInput = Shapes::StructureShape.new(name: 'CreatePolicyInput')
33
+ CreatePolicyOutput = Shapes::StructureShape.new(name: 'CreatePolicyOutput')
34
+ CreatePolicyStoreInput = Shapes::StructureShape.new(name: 'CreatePolicyStoreInput')
35
+ CreatePolicyStoreOutput = Shapes::StructureShape.new(name: 'CreatePolicyStoreOutput')
36
+ CreatePolicyTemplateInput = Shapes::StructureShape.new(name: 'CreatePolicyTemplateInput')
37
+ CreatePolicyTemplateOutput = Shapes::StructureShape.new(name: 'CreatePolicyTemplateOutput')
38
+ Decision = Shapes::StringShape.new(name: 'Decision')
39
+ DeleteIdentitySourceInput = Shapes::StructureShape.new(name: 'DeleteIdentitySourceInput')
40
+ DeleteIdentitySourceOutput = Shapes::StructureShape.new(name: 'DeleteIdentitySourceOutput')
41
+ DeletePolicyInput = Shapes::StructureShape.new(name: 'DeletePolicyInput')
42
+ DeletePolicyOutput = Shapes::StructureShape.new(name: 'DeletePolicyOutput')
43
+ DeletePolicyStoreInput = Shapes::StructureShape.new(name: 'DeletePolicyStoreInput')
44
+ DeletePolicyStoreOutput = Shapes::StructureShape.new(name: 'DeletePolicyStoreOutput')
45
+ DeletePolicyTemplateInput = Shapes::StructureShape.new(name: 'DeletePolicyTemplateInput')
46
+ DeletePolicyTemplateOutput = Shapes::StructureShape.new(name: 'DeletePolicyTemplateOutput')
47
+ DeterminingPolicyItem = Shapes::StructureShape.new(name: 'DeterminingPolicyItem')
48
+ DeterminingPolicyList = Shapes::ListShape.new(name: 'DeterminingPolicyList')
49
+ DiscoveryUrl = Shapes::StringShape.new(name: 'DiscoveryUrl')
50
+ EntitiesDefinition = Shapes::UnionShape.new(name: 'EntitiesDefinition')
51
+ EntityAttributes = Shapes::MapShape.new(name: 'EntityAttributes')
52
+ EntityId = Shapes::StringShape.new(name: 'EntityId')
53
+ EntityIdentifier = Shapes::StructureShape.new(name: 'EntityIdentifier')
54
+ EntityItem = Shapes::StructureShape.new(name: 'EntityItem')
55
+ EntityList = Shapes::ListShape.new(name: 'EntityList')
56
+ EntityReference = Shapes::UnionShape.new(name: 'EntityReference')
57
+ EntityType = Shapes::StringShape.new(name: 'EntityType')
58
+ EvaluationErrorItem = Shapes::StructureShape.new(name: 'EvaluationErrorItem')
59
+ EvaluationErrorList = Shapes::ListShape.new(name: 'EvaluationErrorList')
60
+ GetIdentitySourceInput = Shapes::StructureShape.new(name: 'GetIdentitySourceInput')
61
+ GetIdentitySourceOutput = Shapes::StructureShape.new(name: 'GetIdentitySourceOutput')
62
+ GetPolicyInput = Shapes::StructureShape.new(name: 'GetPolicyInput')
63
+ GetPolicyOutput = Shapes::StructureShape.new(name: 'GetPolicyOutput')
64
+ GetPolicyStoreInput = Shapes::StructureShape.new(name: 'GetPolicyStoreInput')
65
+ GetPolicyStoreOutput = Shapes::StructureShape.new(name: 'GetPolicyStoreOutput')
66
+ GetPolicyTemplateInput = Shapes::StructureShape.new(name: 'GetPolicyTemplateInput')
67
+ GetPolicyTemplateOutput = Shapes::StructureShape.new(name: 'GetPolicyTemplateOutput')
68
+ GetSchemaInput = Shapes::StructureShape.new(name: 'GetSchemaInput')
69
+ GetSchemaOutput = Shapes::StructureShape.new(name: 'GetSchemaOutput')
70
+ IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
71
+ IdentitySourceDetails = Shapes::StructureShape.new(name: 'IdentitySourceDetails')
72
+ IdentitySourceFilter = Shapes::StructureShape.new(name: 'IdentitySourceFilter')
73
+ IdentitySourceFilters = Shapes::ListShape.new(name: 'IdentitySourceFilters')
74
+ IdentitySourceId = Shapes::StringShape.new(name: 'IdentitySourceId')
75
+ IdentitySourceItem = Shapes::StructureShape.new(name: 'IdentitySourceItem')
76
+ IdentitySourceItemDetails = Shapes::StructureShape.new(name: 'IdentitySourceItemDetails')
77
+ IdentitySources = Shapes::ListShape.new(name: 'IdentitySources')
78
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
79
+ IsAuthorizedInput = Shapes::StructureShape.new(name: 'IsAuthorizedInput')
80
+ IsAuthorizedOutput = Shapes::StructureShape.new(name: 'IsAuthorizedOutput')
81
+ IsAuthorizedWithTokenInput = Shapes::StructureShape.new(name: 'IsAuthorizedWithTokenInput')
82
+ IsAuthorizedWithTokenOutput = Shapes::StructureShape.new(name: 'IsAuthorizedWithTokenOutput')
83
+ ListIdentitySourcesInput = Shapes::StructureShape.new(name: 'ListIdentitySourcesInput')
84
+ ListIdentitySourcesMaxResults = Shapes::IntegerShape.new(name: 'ListIdentitySourcesMaxResults')
85
+ ListIdentitySourcesOutput = Shapes::StructureShape.new(name: 'ListIdentitySourcesOutput')
86
+ ListPoliciesInput = Shapes::StructureShape.new(name: 'ListPoliciesInput')
87
+ ListPoliciesOutput = Shapes::StructureShape.new(name: 'ListPoliciesOutput')
88
+ ListPolicyStoresInput = Shapes::StructureShape.new(name: 'ListPolicyStoresInput')
89
+ ListPolicyStoresOutput = Shapes::StructureShape.new(name: 'ListPolicyStoresOutput')
90
+ ListPolicyTemplatesInput = Shapes::StructureShape.new(name: 'ListPolicyTemplatesInput')
91
+ ListPolicyTemplatesOutput = Shapes::StructureShape.new(name: 'ListPolicyTemplatesOutput')
92
+ LongAttribute = Shapes::IntegerShape.new(name: 'LongAttribute')
93
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
94
+ Namespace = Shapes::StringShape.new(name: 'Namespace')
95
+ NamespaceList = Shapes::ListShape.new(name: 'NamespaceList')
96
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
97
+ OpenIdIssuer = Shapes::StringShape.new(name: 'OpenIdIssuer')
98
+ ParentList = Shapes::ListShape.new(name: 'ParentList')
99
+ PolicyDefinition = Shapes::UnionShape.new(name: 'PolicyDefinition')
100
+ PolicyDefinitionDetail = Shapes::UnionShape.new(name: 'PolicyDefinitionDetail')
101
+ PolicyDefinitionItem = Shapes::UnionShape.new(name: 'PolicyDefinitionItem')
102
+ PolicyFilter = Shapes::StructureShape.new(name: 'PolicyFilter')
103
+ PolicyId = Shapes::StringShape.new(name: 'PolicyId')
104
+ PolicyItem = Shapes::StructureShape.new(name: 'PolicyItem')
105
+ PolicyList = Shapes::ListShape.new(name: 'PolicyList')
106
+ PolicyStatement = Shapes::StringShape.new(name: 'PolicyStatement')
107
+ PolicyStoreId = Shapes::StringShape.new(name: 'PolicyStoreId')
108
+ PolicyStoreItem = Shapes::StructureShape.new(name: 'PolicyStoreItem')
109
+ PolicyStoreList = Shapes::ListShape.new(name: 'PolicyStoreList')
110
+ PolicyTemplateDescription = Shapes::StringShape.new(name: 'PolicyTemplateDescription')
111
+ PolicyTemplateId = Shapes::StringShape.new(name: 'PolicyTemplateId')
112
+ PolicyTemplateItem = Shapes::StructureShape.new(name: 'PolicyTemplateItem')
113
+ PolicyTemplatesList = Shapes::ListShape.new(name: 'PolicyTemplatesList')
114
+ PolicyType = Shapes::StringShape.new(name: 'PolicyType')
115
+ PrincipalEntityType = Shapes::StringShape.new(name: 'PrincipalEntityType')
116
+ PutSchemaInput = Shapes::StructureShape.new(name: 'PutSchemaInput')
117
+ PutSchemaOutput = Shapes::StructureShape.new(name: 'PutSchemaOutput')
118
+ RecordAttribute = Shapes::MapShape.new(name: 'RecordAttribute')
119
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
120
+ ResourceConflict = Shapes::StructureShape.new(name: 'ResourceConflict')
121
+ ResourceConflictList = Shapes::ListShape.new(name: 'ResourceConflictList')
122
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
123
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
124
+ SchemaDefinition = Shapes::UnionShape.new(name: 'SchemaDefinition')
125
+ SchemaJson = Shapes::StringShape.new(name: 'SchemaJson')
126
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
127
+ SetAttribute = Shapes::ListShape.new(name: 'SetAttribute')
128
+ StaticPolicyDefinition = Shapes::StructureShape.new(name: 'StaticPolicyDefinition')
129
+ StaticPolicyDefinitionDetail = Shapes::StructureShape.new(name: 'StaticPolicyDefinitionDetail')
130
+ StaticPolicyDefinitionItem = Shapes::StructureShape.new(name: 'StaticPolicyDefinitionItem')
131
+ StaticPolicyDescription = Shapes::StringShape.new(name: 'StaticPolicyDescription')
132
+ String = Shapes::StringShape.new(name: 'String')
133
+ StringAttribute = Shapes::StringShape.new(name: 'StringAttribute')
134
+ TemplateLinkedPolicyDefinition = Shapes::StructureShape.new(name: 'TemplateLinkedPolicyDefinition')
135
+ TemplateLinkedPolicyDefinitionDetail = Shapes::StructureShape.new(name: 'TemplateLinkedPolicyDefinitionDetail')
136
+ TemplateLinkedPolicyDefinitionItem = Shapes::StructureShape.new(name: 'TemplateLinkedPolicyDefinitionItem')
137
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
138
+ TimestampFormat = Shapes::TimestampShape.new(name: 'TimestampFormat', timestampFormat: "iso8601")
139
+ Token = Shapes::StringShape.new(name: 'Token')
140
+ UpdateCognitoUserPoolConfiguration = Shapes::StructureShape.new(name: 'UpdateCognitoUserPoolConfiguration')
141
+ UpdateConfiguration = Shapes::UnionShape.new(name: 'UpdateConfiguration')
142
+ UpdateIdentitySourceInput = Shapes::StructureShape.new(name: 'UpdateIdentitySourceInput')
143
+ UpdateIdentitySourceOutput = Shapes::StructureShape.new(name: 'UpdateIdentitySourceOutput')
144
+ UpdatePolicyDefinition = Shapes::UnionShape.new(name: 'UpdatePolicyDefinition')
145
+ UpdatePolicyInput = Shapes::StructureShape.new(name: 'UpdatePolicyInput')
146
+ UpdatePolicyOutput = Shapes::StructureShape.new(name: 'UpdatePolicyOutput')
147
+ UpdatePolicyStoreInput = Shapes::StructureShape.new(name: 'UpdatePolicyStoreInput')
148
+ UpdatePolicyStoreOutput = Shapes::StructureShape.new(name: 'UpdatePolicyStoreOutput')
149
+ UpdatePolicyTemplateInput = Shapes::StructureShape.new(name: 'UpdatePolicyTemplateInput')
150
+ UpdatePolicyTemplateOutput = Shapes::StructureShape.new(name: 'UpdatePolicyTemplateOutput')
151
+ UpdateStaticPolicyDefinition = Shapes::StructureShape.new(name: 'UpdateStaticPolicyDefinition')
152
+ UserPoolArn = Shapes::StringShape.new(name: 'UserPoolArn')
153
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
154
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
155
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
156
+ ValidationMode = Shapes::StringShape.new(name: 'ValidationMode')
157
+ ValidationSettings = Shapes::StructureShape.new(name: 'ValidationSettings')
158
+
159
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
160
+ AccessDeniedException.struct_class = Types::AccessDeniedException
161
+
162
+ ActionIdentifier.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "actionType"))
163
+ ActionIdentifier.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, required: true, location_name: "actionId"))
164
+ ActionIdentifier.struct_class = Types::ActionIdentifier
165
+
166
+ AttributeValue.add_member(:boolean, Shapes::ShapeRef.new(shape: BooleanAttribute, location_name: "boolean"))
167
+ AttributeValue.add_member(:entity_identifier, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "entityIdentifier"))
168
+ AttributeValue.add_member(:long, Shapes::ShapeRef.new(shape: LongAttribute, location_name: "long"))
169
+ AttributeValue.add_member(:string, Shapes::ShapeRef.new(shape: StringAttribute, location_name: "string"))
170
+ AttributeValue.add_member(:set, Shapes::ShapeRef.new(shape: SetAttribute, location_name: "set"))
171
+ AttributeValue.add_member(:record, Shapes::ShapeRef.new(shape: RecordAttribute, location_name: "record"))
172
+ AttributeValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
173
+ AttributeValue.add_member_subclass(:boolean, Types::AttributeValue::Boolean)
174
+ AttributeValue.add_member_subclass(:entity_identifier, Types::AttributeValue::EntityIdentifier)
175
+ AttributeValue.add_member_subclass(:long, Types::AttributeValue::Long)
176
+ AttributeValue.add_member_subclass(:string, Types::AttributeValue::String)
177
+ AttributeValue.add_member_subclass(:set, Types::AttributeValue::Set)
178
+ AttributeValue.add_member_subclass(:record, Types::AttributeValue::Record)
179
+ AttributeValue.add_member_subclass(:unknown, Types::AttributeValue::Unknown)
180
+ AttributeValue.struct_class = Types::AttributeValue
181
+
182
+ ClientIds.member = Shapes::ShapeRef.new(shape: ClientId)
183
+
184
+ CognitoUserPoolConfiguration.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
185
+ CognitoUserPoolConfiguration.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
186
+ CognitoUserPoolConfiguration.struct_class = Types::CognitoUserPoolConfiguration
187
+
188
+ Configuration.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: CognitoUserPoolConfiguration, location_name: "cognitoUserPoolConfiguration"))
189
+ Configuration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
190
+ Configuration.add_member_subclass(:cognito_user_pool_configuration, Types::Configuration::CognitoUserPoolConfiguration)
191
+ Configuration.add_member_subclass(:unknown, Types::Configuration::Unknown)
192
+ Configuration.struct_class = Types::Configuration
193
+
194
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
195
+ ConflictException.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceConflictList, required: true, location_name: "resources"))
196
+ ConflictException.struct_class = Types::ConflictException
197
+
198
+ ContextDefinition.add_member(:context_map, Shapes::ShapeRef.new(shape: ContextMap, location_name: "contextMap"))
199
+ ContextDefinition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
200
+ ContextDefinition.add_member_subclass(:context_map, Types::ContextDefinition::ContextMap)
201
+ ContextDefinition.add_member_subclass(:unknown, Types::ContextDefinition::Unknown)
202
+ ContextDefinition.struct_class = Types::ContextDefinition
203
+
204
+ ContextMap.key = Shapes::ShapeRef.new(shape: String)
205
+ ContextMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
206
+
207
+ CreateIdentitySourceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
208
+ CreateIdentitySourceInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
209
+ CreateIdentitySourceInput.add_member(:configuration, Shapes::ShapeRef.new(shape: Configuration, required: true, location_name: "configuration"))
210
+ CreateIdentitySourceInput.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, location_name: "principalEntityType"))
211
+ CreateIdentitySourceInput.struct_class = Types::CreateIdentitySourceInput
212
+
213
+ CreateIdentitySourceOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
214
+ CreateIdentitySourceOutput.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
215
+ CreateIdentitySourceOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
216
+ CreateIdentitySourceOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
217
+ CreateIdentitySourceOutput.struct_class = Types::CreateIdentitySourceOutput
218
+
219
+ CreatePolicyInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
220
+ CreatePolicyInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
221
+ CreatePolicyInput.add_member(:definition, Shapes::ShapeRef.new(shape: PolicyDefinition, required: true, location_name: "definition"))
222
+ CreatePolicyInput.struct_class = Types::CreatePolicyInput
223
+
224
+ CreatePolicyOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
225
+ CreatePolicyOutput.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "policyId"))
226
+ CreatePolicyOutput.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
227
+ CreatePolicyOutput.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
228
+ CreatePolicyOutput.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
229
+ CreatePolicyOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
230
+ CreatePolicyOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
231
+ CreatePolicyOutput.struct_class = Types::CreatePolicyOutput
232
+
233
+ CreatePolicyStoreInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
234
+ CreatePolicyStoreInput.add_member(:validation_settings, Shapes::ShapeRef.new(shape: ValidationSettings, required: true, location_name: "validationSettings"))
235
+ CreatePolicyStoreInput.struct_class = Types::CreatePolicyStoreInput
236
+
237
+ CreatePolicyStoreOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
238
+ CreatePolicyStoreOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
239
+ CreatePolicyStoreOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
240
+ CreatePolicyStoreOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
241
+ CreatePolicyStoreOutput.struct_class = Types::CreatePolicyStoreOutput
242
+
243
+ CreatePolicyTemplateInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
244
+ CreatePolicyTemplateInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
245
+ CreatePolicyTemplateInput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyTemplateDescription, location_name: "description"))
246
+ CreatePolicyTemplateInput.add_member(:statement, Shapes::ShapeRef.new(shape: PolicyStatement, required: true, location_name: "statement"))
247
+ CreatePolicyTemplateInput.struct_class = Types::CreatePolicyTemplateInput
248
+
249
+ CreatePolicyTemplateOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
250
+ CreatePolicyTemplateOutput.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
251
+ CreatePolicyTemplateOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
252
+ CreatePolicyTemplateOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
253
+ CreatePolicyTemplateOutput.struct_class = Types::CreatePolicyTemplateOutput
254
+
255
+ DeleteIdentitySourceInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
256
+ DeleteIdentitySourceInput.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
257
+ DeleteIdentitySourceInput.struct_class = Types::DeleteIdentitySourceInput
258
+
259
+ DeleteIdentitySourceOutput.struct_class = Types::DeleteIdentitySourceOutput
260
+
261
+ DeletePolicyInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
262
+ DeletePolicyInput.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "policyId"))
263
+ DeletePolicyInput.struct_class = Types::DeletePolicyInput
264
+
265
+ DeletePolicyOutput.struct_class = Types::DeletePolicyOutput
266
+
267
+ DeletePolicyStoreInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
268
+ DeletePolicyStoreInput.struct_class = Types::DeletePolicyStoreInput
269
+
270
+ DeletePolicyStoreOutput.struct_class = Types::DeletePolicyStoreOutput
271
+
272
+ DeletePolicyTemplateInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
273
+ DeletePolicyTemplateInput.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
274
+ DeletePolicyTemplateInput.struct_class = Types::DeletePolicyTemplateInput
275
+
276
+ DeletePolicyTemplateOutput.struct_class = Types::DeletePolicyTemplateOutput
277
+
278
+ DeterminingPolicyItem.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "policyId"))
279
+ DeterminingPolicyItem.struct_class = Types::DeterminingPolicyItem
280
+
281
+ DeterminingPolicyList.member = Shapes::ShapeRef.new(shape: DeterminingPolicyItem)
282
+
283
+ EntitiesDefinition.add_member(:entity_list, Shapes::ShapeRef.new(shape: EntityList, location_name: "entityList"))
284
+ EntitiesDefinition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
285
+ EntitiesDefinition.add_member_subclass(:entity_list, Types::EntitiesDefinition::EntityList)
286
+ EntitiesDefinition.add_member_subclass(:unknown, Types::EntitiesDefinition::Unknown)
287
+ EntitiesDefinition.struct_class = Types::EntitiesDefinition
288
+
289
+ EntityAttributes.key = Shapes::ShapeRef.new(shape: String)
290
+ EntityAttributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
291
+
292
+ EntityIdentifier.add_member(:entity_type, Shapes::ShapeRef.new(shape: EntityType, required: true, location_name: "entityType"))
293
+ EntityIdentifier.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "entityId"))
294
+ EntityIdentifier.struct_class = Types::EntityIdentifier
295
+
296
+ EntityItem.add_member(:identifier, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "identifier"))
297
+ EntityItem.add_member(:attributes, Shapes::ShapeRef.new(shape: EntityAttributes, location_name: "attributes"))
298
+ EntityItem.add_member(:parents, Shapes::ShapeRef.new(shape: ParentList, location_name: "parents"))
299
+ EntityItem.struct_class = Types::EntityItem
300
+
301
+ EntityList.member = Shapes::ShapeRef.new(shape: EntityItem)
302
+
303
+ EntityReference.add_member(:unspecified, Shapes::ShapeRef.new(shape: Boolean, location_name: "unspecified"))
304
+ EntityReference.add_member(:identifier, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "identifier"))
305
+ EntityReference.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
306
+ EntityReference.add_member_subclass(:unspecified, Types::EntityReference::Unspecified)
307
+ EntityReference.add_member_subclass(:identifier, Types::EntityReference::Identifier)
308
+ EntityReference.add_member_subclass(:unknown, Types::EntityReference::Unknown)
309
+ EntityReference.struct_class = Types::EntityReference
310
+
311
+ EvaluationErrorItem.add_member(:error_description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "errorDescription"))
312
+ EvaluationErrorItem.struct_class = Types::EvaluationErrorItem
313
+
314
+ EvaluationErrorList.member = Shapes::ShapeRef.new(shape: EvaluationErrorItem)
315
+
316
+ GetIdentitySourceInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
317
+ GetIdentitySourceInput.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
318
+ GetIdentitySourceInput.struct_class = Types::GetIdentitySourceInput
319
+
320
+ GetIdentitySourceOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
321
+ GetIdentitySourceOutput.add_member(:details, Shapes::ShapeRef.new(shape: IdentitySourceDetails, required: true, location_name: "details"))
322
+ GetIdentitySourceOutput.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
323
+ GetIdentitySourceOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
324
+ GetIdentitySourceOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
325
+ GetIdentitySourceOutput.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, required: true, location_name: "principalEntityType"))
326
+ GetIdentitySourceOutput.struct_class = Types::GetIdentitySourceOutput
327
+
328
+ GetPolicyInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
329
+ GetPolicyInput.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "policyId"))
330
+ GetPolicyInput.struct_class = Types::GetPolicyInput
331
+
332
+ GetPolicyOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
333
+ GetPolicyOutput.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "policyId"))
334
+ GetPolicyOutput.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
335
+ GetPolicyOutput.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
336
+ GetPolicyOutput.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
337
+ GetPolicyOutput.add_member(:definition, Shapes::ShapeRef.new(shape: PolicyDefinitionDetail, required: true, location_name: "definition"))
338
+ GetPolicyOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
339
+ GetPolicyOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
340
+ GetPolicyOutput.struct_class = Types::GetPolicyOutput
341
+
342
+ GetPolicyStoreInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
343
+ GetPolicyStoreInput.struct_class = Types::GetPolicyStoreInput
344
+
345
+ GetPolicyStoreOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
346
+ GetPolicyStoreOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
347
+ GetPolicyStoreOutput.add_member(:validation_settings, Shapes::ShapeRef.new(shape: ValidationSettings, required: true, location_name: "validationSettings"))
348
+ GetPolicyStoreOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
349
+ GetPolicyStoreOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
350
+ GetPolicyStoreOutput.struct_class = Types::GetPolicyStoreOutput
351
+
352
+ GetPolicyTemplateInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
353
+ GetPolicyTemplateInput.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
354
+ GetPolicyTemplateInput.struct_class = Types::GetPolicyTemplateInput
355
+
356
+ GetPolicyTemplateOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
357
+ GetPolicyTemplateOutput.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
358
+ GetPolicyTemplateOutput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyTemplateDescription, location_name: "description"))
359
+ GetPolicyTemplateOutput.add_member(:statement, Shapes::ShapeRef.new(shape: PolicyStatement, required: true, location_name: "statement"))
360
+ GetPolicyTemplateOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
361
+ GetPolicyTemplateOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
362
+ GetPolicyTemplateOutput.struct_class = Types::GetPolicyTemplateOutput
363
+
364
+ GetSchemaInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
365
+ GetSchemaInput.struct_class = Types::GetSchemaInput
366
+
367
+ GetSchemaOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
368
+ GetSchemaOutput.add_member(:schema, Shapes::ShapeRef.new(shape: SchemaJson, required: true, location_name: "schema"))
369
+ GetSchemaOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
370
+ GetSchemaOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
371
+ GetSchemaOutput.struct_class = Types::GetSchemaOutput
372
+
373
+ IdentitySourceDetails.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
374
+ IdentitySourceDetails.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, location_name: "userPoolArn"))
375
+ IdentitySourceDetails.add_member(:discovery_url, Shapes::ShapeRef.new(shape: DiscoveryUrl, location_name: "discoveryUrl"))
376
+ IdentitySourceDetails.add_member(:open_id_issuer, Shapes::ShapeRef.new(shape: OpenIdIssuer, location_name: "openIdIssuer"))
377
+ IdentitySourceDetails.struct_class = Types::IdentitySourceDetails
378
+
379
+ IdentitySourceFilter.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, location_name: "principalEntityType"))
380
+ IdentitySourceFilter.struct_class = Types::IdentitySourceFilter
381
+
382
+ IdentitySourceFilters.member = Shapes::ShapeRef.new(shape: IdentitySourceFilter)
383
+
384
+ IdentitySourceItem.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
385
+ IdentitySourceItem.add_member(:details, Shapes::ShapeRef.new(shape: IdentitySourceItemDetails, required: true, location_name: "details"))
386
+ IdentitySourceItem.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
387
+ IdentitySourceItem.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
388
+ IdentitySourceItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
389
+ IdentitySourceItem.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, required: true, location_name: "principalEntityType"))
390
+ IdentitySourceItem.struct_class = Types::IdentitySourceItem
391
+
392
+ IdentitySourceItemDetails.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
393
+ IdentitySourceItemDetails.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, location_name: "userPoolArn"))
394
+ IdentitySourceItemDetails.add_member(:discovery_url, Shapes::ShapeRef.new(shape: DiscoveryUrl, location_name: "discoveryUrl"))
395
+ IdentitySourceItemDetails.add_member(:open_id_issuer, Shapes::ShapeRef.new(shape: OpenIdIssuer, location_name: "openIdIssuer"))
396
+ IdentitySourceItemDetails.struct_class = Types::IdentitySourceItemDetails
397
+
398
+ IdentitySources.member = Shapes::ShapeRef.new(shape: IdentitySourceItem)
399
+
400
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
401
+ InternalServerException.struct_class = Types::InternalServerException
402
+
403
+ IsAuthorizedInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
404
+ IsAuthorizedInput.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
405
+ IsAuthorizedInput.add_member(:action, Shapes::ShapeRef.new(shape: ActionIdentifier, location_name: "action"))
406
+ IsAuthorizedInput.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
407
+ IsAuthorizedInput.add_member(:context, Shapes::ShapeRef.new(shape: ContextDefinition, location_name: "context"))
408
+ IsAuthorizedInput.add_member(:entities, Shapes::ShapeRef.new(shape: EntitiesDefinition, location_name: "entities"))
409
+ IsAuthorizedInput.struct_class = Types::IsAuthorizedInput
410
+
411
+ IsAuthorizedOutput.add_member(:decision, Shapes::ShapeRef.new(shape: Decision, required: true, location_name: "decision"))
412
+ IsAuthorizedOutput.add_member(:determining_policies, Shapes::ShapeRef.new(shape: DeterminingPolicyList, required: true, location_name: "determiningPolicies"))
413
+ IsAuthorizedOutput.add_member(:errors, Shapes::ShapeRef.new(shape: EvaluationErrorList, required: true, location_name: "errors"))
414
+ IsAuthorizedOutput.struct_class = Types::IsAuthorizedOutput
415
+
416
+ IsAuthorizedWithTokenInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
417
+ IsAuthorizedWithTokenInput.add_member(:identity_token, Shapes::ShapeRef.new(shape: Token, location_name: "identityToken"))
418
+ IsAuthorizedWithTokenInput.add_member(:access_token, Shapes::ShapeRef.new(shape: Token, location_name: "accessToken"))
419
+ IsAuthorizedWithTokenInput.add_member(:action, Shapes::ShapeRef.new(shape: ActionIdentifier, location_name: "action"))
420
+ IsAuthorizedWithTokenInput.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
421
+ IsAuthorizedWithTokenInput.add_member(:context, Shapes::ShapeRef.new(shape: ContextDefinition, location_name: "context"))
422
+ IsAuthorizedWithTokenInput.add_member(:entities, Shapes::ShapeRef.new(shape: EntitiesDefinition, location_name: "entities"))
423
+ IsAuthorizedWithTokenInput.struct_class = Types::IsAuthorizedWithTokenInput
424
+
425
+ IsAuthorizedWithTokenOutput.add_member(:decision, Shapes::ShapeRef.new(shape: Decision, required: true, location_name: "decision"))
426
+ IsAuthorizedWithTokenOutput.add_member(:determining_policies, Shapes::ShapeRef.new(shape: DeterminingPolicyList, required: true, location_name: "determiningPolicies"))
427
+ IsAuthorizedWithTokenOutput.add_member(:errors, Shapes::ShapeRef.new(shape: EvaluationErrorList, required: true, location_name: "errors"))
428
+ IsAuthorizedWithTokenOutput.struct_class = Types::IsAuthorizedWithTokenOutput
429
+
430
+ ListIdentitySourcesInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
431
+ ListIdentitySourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
432
+ ListIdentitySourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListIdentitySourcesMaxResults, location_name: "maxResults"))
433
+ ListIdentitySourcesInput.add_member(:filters, Shapes::ShapeRef.new(shape: IdentitySourceFilters, location_name: "filters"))
434
+ ListIdentitySourcesInput.struct_class = Types::ListIdentitySourcesInput
435
+
436
+ ListIdentitySourcesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
437
+ ListIdentitySourcesOutput.add_member(:identity_sources, Shapes::ShapeRef.new(shape: IdentitySources, required: true, location_name: "identitySources"))
438
+ ListIdentitySourcesOutput.struct_class = Types::ListIdentitySourcesOutput
439
+
440
+ ListPoliciesInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
441
+ ListPoliciesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
442
+ ListPoliciesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
443
+ ListPoliciesInput.add_member(:filter, Shapes::ShapeRef.new(shape: PolicyFilter, location_name: "filter"))
444
+ ListPoliciesInput.struct_class = Types::ListPoliciesInput
445
+
446
+ ListPoliciesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
447
+ ListPoliciesOutput.add_member(:policies, Shapes::ShapeRef.new(shape: PolicyList, required: true, location_name: "policies"))
448
+ ListPoliciesOutput.struct_class = Types::ListPoliciesOutput
449
+
450
+ ListPolicyStoresInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
451
+ ListPolicyStoresInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
452
+ ListPolicyStoresInput.struct_class = Types::ListPolicyStoresInput
453
+
454
+ ListPolicyStoresOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
455
+ ListPolicyStoresOutput.add_member(:policy_stores, Shapes::ShapeRef.new(shape: PolicyStoreList, required: true, location_name: "policyStores"))
456
+ ListPolicyStoresOutput.struct_class = Types::ListPolicyStoresOutput
457
+
458
+ ListPolicyTemplatesInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
459
+ ListPolicyTemplatesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
460
+ ListPolicyTemplatesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
461
+ ListPolicyTemplatesInput.struct_class = Types::ListPolicyTemplatesInput
462
+
463
+ ListPolicyTemplatesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
464
+ ListPolicyTemplatesOutput.add_member(:policy_templates, Shapes::ShapeRef.new(shape: PolicyTemplatesList, required: true, location_name: "policyTemplates"))
465
+ ListPolicyTemplatesOutput.struct_class = Types::ListPolicyTemplatesOutput
466
+
467
+ NamespaceList.member = Shapes::ShapeRef.new(shape: Namespace)
468
+
469
+ ParentList.member = Shapes::ShapeRef.new(shape: EntityIdentifier)
470
+
471
+ PolicyDefinition.add_member(:static, Shapes::ShapeRef.new(shape: StaticPolicyDefinition, location_name: "static"))
472
+ PolicyDefinition.add_member(:template_linked, Shapes::ShapeRef.new(shape: TemplateLinkedPolicyDefinition, location_name: "templateLinked"))
473
+ PolicyDefinition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
474
+ PolicyDefinition.add_member_subclass(:static, Types::PolicyDefinition::Static)
475
+ PolicyDefinition.add_member_subclass(:template_linked, Types::PolicyDefinition::TemplateLinked)
476
+ PolicyDefinition.add_member_subclass(:unknown, Types::PolicyDefinition::Unknown)
477
+ PolicyDefinition.struct_class = Types::PolicyDefinition
478
+
479
+ PolicyDefinitionDetail.add_member(:static, Shapes::ShapeRef.new(shape: StaticPolicyDefinitionDetail, location_name: "static"))
480
+ PolicyDefinitionDetail.add_member(:template_linked, Shapes::ShapeRef.new(shape: TemplateLinkedPolicyDefinitionDetail, location_name: "templateLinked"))
481
+ PolicyDefinitionDetail.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
482
+ PolicyDefinitionDetail.add_member_subclass(:static, Types::PolicyDefinitionDetail::Static)
483
+ PolicyDefinitionDetail.add_member_subclass(:template_linked, Types::PolicyDefinitionDetail::TemplateLinked)
484
+ PolicyDefinitionDetail.add_member_subclass(:unknown, Types::PolicyDefinitionDetail::Unknown)
485
+ PolicyDefinitionDetail.struct_class = Types::PolicyDefinitionDetail
486
+
487
+ PolicyDefinitionItem.add_member(:static, Shapes::ShapeRef.new(shape: StaticPolicyDefinitionItem, location_name: "static"))
488
+ PolicyDefinitionItem.add_member(:template_linked, Shapes::ShapeRef.new(shape: TemplateLinkedPolicyDefinitionItem, location_name: "templateLinked"))
489
+ PolicyDefinitionItem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
490
+ PolicyDefinitionItem.add_member_subclass(:static, Types::PolicyDefinitionItem::Static)
491
+ PolicyDefinitionItem.add_member_subclass(:template_linked, Types::PolicyDefinitionItem::TemplateLinked)
492
+ PolicyDefinitionItem.add_member_subclass(:unknown, Types::PolicyDefinitionItem::Unknown)
493
+ PolicyDefinitionItem.struct_class = Types::PolicyDefinitionItem
494
+
495
+ PolicyFilter.add_member(:principal, Shapes::ShapeRef.new(shape: EntityReference, location_name: "principal"))
496
+ PolicyFilter.add_member(:resource, Shapes::ShapeRef.new(shape: EntityReference, location_name: "resource"))
497
+ PolicyFilter.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, location_name: "policyType"))
498
+ PolicyFilter.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, location_name: "policyTemplateId"))
499
+ PolicyFilter.struct_class = Types::PolicyFilter
500
+
501
+ PolicyItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
502
+ PolicyItem.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "policyId"))
503
+ PolicyItem.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
504
+ PolicyItem.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
505
+ PolicyItem.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
506
+ PolicyItem.add_member(:definition, Shapes::ShapeRef.new(shape: PolicyDefinitionItem, required: true, location_name: "definition"))
507
+ PolicyItem.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
508
+ PolicyItem.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
509
+ PolicyItem.struct_class = Types::PolicyItem
510
+
511
+ PolicyList.member = Shapes::ShapeRef.new(shape: PolicyItem)
512
+
513
+ PolicyStoreItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
514
+ PolicyStoreItem.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
515
+ PolicyStoreItem.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
516
+ PolicyStoreItem.struct_class = Types::PolicyStoreItem
517
+
518
+ PolicyStoreList.member = Shapes::ShapeRef.new(shape: PolicyStoreItem)
519
+
520
+ PolicyTemplateItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
521
+ PolicyTemplateItem.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
522
+ PolicyTemplateItem.add_member(:description, Shapes::ShapeRef.new(shape: PolicyTemplateDescription, location_name: "description"))
523
+ PolicyTemplateItem.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
524
+ PolicyTemplateItem.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
525
+ PolicyTemplateItem.struct_class = Types::PolicyTemplateItem
526
+
527
+ PolicyTemplatesList.member = Shapes::ShapeRef.new(shape: PolicyTemplateItem)
528
+
529
+ PutSchemaInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
530
+ PutSchemaInput.add_member(:definition, Shapes::ShapeRef.new(shape: SchemaDefinition, required: true, location_name: "definition"))
531
+ PutSchemaInput.struct_class = Types::PutSchemaInput
532
+
533
+ PutSchemaOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
534
+ PutSchemaOutput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespaceList, required: true, location_name: "namespaces"))
535
+ PutSchemaOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
536
+ PutSchemaOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
537
+ PutSchemaOutput.struct_class = Types::PutSchemaOutput
538
+
539
+ RecordAttribute.key = Shapes::ShapeRef.new(shape: String)
540
+ RecordAttribute.value = Shapes::ShapeRef.new(shape: AttributeValue)
541
+
542
+ ResourceConflict.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
543
+ ResourceConflict.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
544
+ ResourceConflict.struct_class = Types::ResourceConflict
545
+
546
+ ResourceConflictList.member = Shapes::ShapeRef.new(shape: ResourceConflict)
547
+
548
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
549
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
550
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
551
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
552
+
553
+ SchemaDefinition.add_member(:cedar_json, Shapes::ShapeRef.new(shape: SchemaJson, location_name: "cedarJson"))
554
+ SchemaDefinition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
555
+ SchemaDefinition.add_member_subclass(:cedar_json, Types::SchemaDefinition::CedarJson)
556
+ SchemaDefinition.add_member_subclass(:unknown, Types::SchemaDefinition::Unknown)
557
+ SchemaDefinition.struct_class = Types::SchemaDefinition
558
+
559
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
560
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
561
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
562
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
563
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
564
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
565
+
566
+ SetAttribute.member = Shapes::ShapeRef.new(shape: AttributeValue)
567
+
568
+ StaticPolicyDefinition.add_member(:description, Shapes::ShapeRef.new(shape: StaticPolicyDescription, location_name: "description"))
569
+ StaticPolicyDefinition.add_member(:statement, Shapes::ShapeRef.new(shape: PolicyStatement, required: true, location_name: "statement"))
570
+ StaticPolicyDefinition.struct_class = Types::StaticPolicyDefinition
571
+
572
+ StaticPolicyDefinitionDetail.add_member(:description, Shapes::ShapeRef.new(shape: StaticPolicyDescription, location_name: "description"))
573
+ StaticPolicyDefinitionDetail.add_member(:statement, Shapes::ShapeRef.new(shape: PolicyStatement, required: true, location_name: "statement"))
574
+ StaticPolicyDefinitionDetail.struct_class = Types::StaticPolicyDefinitionDetail
575
+
576
+ StaticPolicyDefinitionItem.add_member(:description, Shapes::ShapeRef.new(shape: StaticPolicyDescription, location_name: "description"))
577
+ StaticPolicyDefinitionItem.struct_class = Types::StaticPolicyDefinitionItem
578
+
579
+ TemplateLinkedPolicyDefinition.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
580
+ TemplateLinkedPolicyDefinition.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
581
+ TemplateLinkedPolicyDefinition.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
582
+ TemplateLinkedPolicyDefinition.struct_class = Types::TemplateLinkedPolicyDefinition
583
+
584
+ TemplateLinkedPolicyDefinitionDetail.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
585
+ TemplateLinkedPolicyDefinitionDetail.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
586
+ TemplateLinkedPolicyDefinitionDetail.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
587
+ TemplateLinkedPolicyDefinitionDetail.struct_class = Types::TemplateLinkedPolicyDefinitionDetail
588
+
589
+ TemplateLinkedPolicyDefinitionItem.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
590
+ TemplateLinkedPolicyDefinitionItem.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
591
+ TemplateLinkedPolicyDefinitionItem.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
592
+ TemplateLinkedPolicyDefinitionItem.struct_class = Types::TemplateLinkedPolicyDefinitionItem
593
+
594
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
595
+ ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
596
+ ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
597
+ ThrottlingException.struct_class = Types::ThrottlingException
598
+
599
+ UpdateCognitoUserPoolConfiguration.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
600
+ UpdateCognitoUserPoolConfiguration.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
601
+ UpdateCognitoUserPoolConfiguration.struct_class = Types::UpdateCognitoUserPoolConfiguration
602
+
603
+ UpdateConfiguration.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: UpdateCognitoUserPoolConfiguration, location_name: "cognitoUserPoolConfiguration"))
604
+ UpdateConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
605
+ UpdateConfiguration.add_member_subclass(:cognito_user_pool_configuration, Types::UpdateConfiguration::CognitoUserPoolConfiguration)
606
+ UpdateConfiguration.add_member_subclass(:unknown, Types::UpdateConfiguration::Unknown)
607
+ UpdateConfiguration.struct_class = Types::UpdateConfiguration
608
+
609
+ UpdateIdentitySourceInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
610
+ UpdateIdentitySourceInput.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
611
+ UpdateIdentitySourceInput.add_member(:update_configuration, Shapes::ShapeRef.new(shape: UpdateConfiguration, required: true, location_name: "updateConfiguration"))
612
+ UpdateIdentitySourceInput.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, location_name: "principalEntityType"))
613
+ UpdateIdentitySourceInput.struct_class = Types::UpdateIdentitySourceInput
614
+
615
+ UpdateIdentitySourceOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
616
+ UpdateIdentitySourceOutput.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
617
+ UpdateIdentitySourceOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
618
+ UpdateIdentitySourceOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
619
+ UpdateIdentitySourceOutput.struct_class = Types::UpdateIdentitySourceOutput
620
+
621
+ UpdatePolicyDefinition.add_member(:static, Shapes::ShapeRef.new(shape: UpdateStaticPolicyDefinition, location_name: "static"))
622
+ UpdatePolicyDefinition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
623
+ UpdatePolicyDefinition.add_member_subclass(:static, Types::UpdatePolicyDefinition::Static)
624
+ UpdatePolicyDefinition.add_member_subclass(:unknown, Types::UpdatePolicyDefinition::Unknown)
625
+ UpdatePolicyDefinition.struct_class = Types::UpdatePolicyDefinition
626
+
627
+ UpdatePolicyInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
628
+ UpdatePolicyInput.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "policyId"))
629
+ UpdatePolicyInput.add_member(:definition, Shapes::ShapeRef.new(shape: UpdatePolicyDefinition, required: true, location_name: "definition"))
630
+ UpdatePolicyInput.struct_class = Types::UpdatePolicyInput
631
+
632
+ UpdatePolicyOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
633
+ UpdatePolicyOutput.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "policyId"))
634
+ UpdatePolicyOutput.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
635
+ UpdatePolicyOutput.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
636
+ UpdatePolicyOutput.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
637
+ UpdatePolicyOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
638
+ UpdatePolicyOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
639
+ UpdatePolicyOutput.struct_class = Types::UpdatePolicyOutput
640
+
641
+ UpdatePolicyStoreInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
642
+ UpdatePolicyStoreInput.add_member(:validation_settings, Shapes::ShapeRef.new(shape: ValidationSettings, required: true, location_name: "validationSettings"))
643
+ UpdatePolicyStoreInput.struct_class = Types::UpdatePolicyStoreInput
644
+
645
+ UpdatePolicyStoreOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
646
+ UpdatePolicyStoreOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
647
+ UpdatePolicyStoreOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
648
+ UpdatePolicyStoreOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
649
+ UpdatePolicyStoreOutput.struct_class = Types::UpdatePolicyStoreOutput
650
+
651
+ UpdatePolicyTemplateInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
652
+ UpdatePolicyTemplateInput.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
653
+ UpdatePolicyTemplateInput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyTemplateDescription, location_name: "description"))
654
+ UpdatePolicyTemplateInput.add_member(:statement, Shapes::ShapeRef.new(shape: PolicyStatement, required: true, location_name: "statement"))
655
+ UpdatePolicyTemplateInput.struct_class = Types::UpdatePolicyTemplateInput
656
+
657
+ UpdatePolicyTemplateOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
658
+ UpdatePolicyTemplateOutput.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
659
+ UpdatePolicyTemplateOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
660
+ UpdatePolicyTemplateOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
661
+ UpdatePolicyTemplateOutput.struct_class = Types::UpdatePolicyTemplateOutput
662
+
663
+ UpdateStaticPolicyDefinition.add_member(:description, Shapes::ShapeRef.new(shape: StaticPolicyDescription, location_name: "description"))
664
+ UpdateStaticPolicyDefinition.add_member(:statement, Shapes::ShapeRef.new(shape: PolicyStatement, required: true, location_name: "statement"))
665
+ UpdateStaticPolicyDefinition.struct_class = Types::UpdateStaticPolicyDefinition
666
+
667
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
668
+ ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
669
+ ValidationException.struct_class = Types::ValidationException
670
+
671
+ ValidationExceptionField.add_member(:path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "path"))
672
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
673
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
674
+
675
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
676
+
677
+ ValidationSettings.add_member(:mode, Shapes::ShapeRef.new(shape: ValidationMode, required: true, location_name: "mode"))
678
+ ValidationSettings.struct_class = Types::ValidationSettings
679
+
680
+
681
+ # @api private
682
+ API = Seahorse::Model::Api.new.tap do |api|
683
+
684
+ api.version = "2021-12-01"
685
+
686
+ api.metadata = {
687
+ "apiVersion" => "2021-12-01",
688
+ "endpointPrefix" => "verifiedpermissions",
689
+ "jsonVersion" => "1.0",
690
+ "protocol" => "json",
691
+ "serviceFullName" => "Amazon Verified Permissions",
692
+ "serviceId" => "VerifiedPermissions",
693
+ "signatureVersion" => "v4",
694
+ "signingName" => "verifiedpermissions",
695
+ "targetPrefix" => "VerifiedPermissions",
696
+ "uid" => "verifiedpermissions-2021-12-01",
697
+ }
698
+
699
+ api.add_operation(:create_identity_source, Seahorse::Model::Operation.new.tap do |o|
700
+ o.name = "CreateIdentitySource"
701
+ o.http_method = "POST"
702
+ o.http_request_uri = "/"
703
+ o.input = Shapes::ShapeRef.new(shape: CreateIdentitySourceInput)
704
+ o.output = Shapes::ShapeRef.new(shape: CreateIdentitySourceOutput)
705
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
706
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
707
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
708
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
709
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
710
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
711
+ end)
712
+
713
+ api.add_operation(:create_policy, Seahorse::Model::Operation.new.tap do |o|
714
+ o.name = "CreatePolicy"
715
+ o.http_method = "POST"
716
+ o.http_request_uri = "/"
717
+ o.input = Shapes::ShapeRef.new(shape: CreatePolicyInput)
718
+ o.output = Shapes::ShapeRef.new(shape: CreatePolicyOutput)
719
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
721
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
722
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
723
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
724
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
725
+ end)
726
+
727
+ api.add_operation(:create_policy_store, Seahorse::Model::Operation.new.tap do |o|
728
+ o.name = "CreatePolicyStore"
729
+ o.http_method = "POST"
730
+ o.http_request_uri = "/"
731
+ o.input = Shapes::ShapeRef.new(shape: CreatePolicyStoreInput)
732
+ o.output = Shapes::ShapeRef.new(shape: CreatePolicyStoreOutput)
733
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
734
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
735
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
736
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
737
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
738
+ end)
739
+
740
+ api.add_operation(:create_policy_template, Seahorse::Model::Operation.new.tap do |o|
741
+ o.name = "CreatePolicyTemplate"
742
+ o.http_method = "POST"
743
+ o.http_request_uri = "/"
744
+ o.input = Shapes::ShapeRef.new(shape: CreatePolicyTemplateInput)
745
+ o.output = Shapes::ShapeRef.new(shape: CreatePolicyTemplateOutput)
746
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
747
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
748
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
749
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
750
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
751
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
752
+ end)
753
+
754
+ api.add_operation(:delete_identity_source, Seahorse::Model::Operation.new.tap do |o|
755
+ o.name = "DeleteIdentitySource"
756
+ o.http_method = "POST"
757
+ o.http_request_uri = "/"
758
+ o.input = Shapes::ShapeRef.new(shape: DeleteIdentitySourceInput)
759
+ o.output = Shapes::ShapeRef.new(shape: DeleteIdentitySourceOutput)
760
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
761
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
762
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
763
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
764
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
765
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
766
+ end)
767
+
768
+ api.add_operation(:delete_policy, Seahorse::Model::Operation.new.tap do |o|
769
+ o.name = "DeletePolicy"
770
+ o.http_method = "POST"
771
+ o.http_request_uri = "/"
772
+ o.input = Shapes::ShapeRef.new(shape: DeletePolicyInput)
773
+ o.output = Shapes::ShapeRef.new(shape: DeletePolicyOutput)
774
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
775
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
776
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
777
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
778
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
779
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
780
+ end)
781
+
782
+ api.add_operation(:delete_policy_store, Seahorse::Model::Operation.new.tap do |o|
783
+ o.name = "DeletePolicyStore"
784
+ o.http_method = "POST"
785
+ o.http_request_uri = "/"
786
+ o.input = Shapes::ShapeRef.new(shape: DeletePolicyStoreInput)
787
+ o.output = Shapes::ShapeRef.new(shape: DeletePolicyStoreOutput)
788
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
789
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
790
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
791
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
792
+ end)
793
+
794
+ api.add_operation(:delete_policy_template, Seahorse::Model::Operation.new.tap do |o|
795
+ o.name = "DeletePolicyTemplate"
796
+ o.http_method = "POST"
797
+ o.http_request_uri = "/"
798
+ o.input = Shapes::ShapeRef.new(shape: DeletePolicyTemplateInput)
799
+ o.output = Shapes::ShapeRef.new(shape: DeletePolicyTemplateOutput)
800
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
801
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
802
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
803
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
804
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
805
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
806
+ end)
807
+
808
+ api.add_operation(:get_identity_source, Seahorse::Model::Operation.new.tap do |o|
809
+ o.name = "GetIdentitySource"
810
+ o.http_method = "POST"
811
+ o.http_request_uri = "/"
812
+ o.input = Shapes::ShapeRef.new(shape: GetIdentitySourceInput)
813
+ o.output = Shapes::ShapeRef.new(shape: GetIdentitySourceOutput)
814
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
815
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
816
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
817
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
818
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
819
+ end)
820
+
821
+ api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
822
+ o.name = "GetPolicy"
823
+ o.http_method = "POST"
824
+ o.http_request_uri = "/"
825
+ o.input = Shapes::ShapeRef.new(shape: GetPolicyInput)
826
+ o.output = Shapes::ShapeRef.new(shape: GetPolicyOutput)
827
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
828
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
829
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
830
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
831
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
832
+ end)
833
+
834
+ api.add_operation(:get_policy_store, Seahorse::Model::Operation.new.tap do |o|
835
+ o.name = "GetPolicyStore"
836
+ o.http_method = "POST"
837
+ o.http_request_uri = "/"
838
+ o.input = Shapes::ShapeRef.new(shape: GetPolicyStoreInput)
839
+ o.output = Shapes::ShapeRef.new(shape: GetPolicyStoreOutput)
840
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
841
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
842
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
843
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
844
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
845
+ end)
846
+
847
+ api.add_operation(:get_policy_template, Seahorse::Model::Operation.new.tap do |o|
848
+ o.name = "GetPolicyTemplate"
849
+ o.http_method = "POST"
850
+ o.http_request_uri = "/"
851
+ o.input = Shapes::ShapeRef.new(shape: GetPolicyTemplateInput)
852
+ o.output = Shapes::ShapeRef.new(shape: GetPolicyTemplateOutput)
853
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
854
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
855
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
856
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
857
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
858
+ end)
859
+
860
+ api.add_operation(:get_schema, Seahorse::Model::Operation.new.tap do |o|
861
+ o.name = "GetSchema"
862
+ o.http_method = "POST"
863
+ o.http_request_uri = "/"
864
+ o.input = Shapes::ShapeRef.new(shape: GetSchemaInput)
865
+ o.output = Shapes::ShapeRef.new(shape: GetSchemaOutput)
866
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
867
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
868
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
869
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
870
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
871
+ end)
872
+
873
+ api.add_operation(:is_authorized, Seahorse::Model::Operation.new.tap do |o|
874
+ o.name = "IsAuthorized"
875
+ o.http_method = "POST"
876
+ o.http_request_uri = "/"
877
+ o.input = Shapes::ShapeRef.new(shape: IsAuthorizedInput)
878
+ o.output = Shapes::ShapeRef.new(shape: IsAuthorizedOutput)
879
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
880
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
881
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
882
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
883
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
884
+ end)
885
+
886
+ api.add_operation(:is_authorized_with_token, Seahorse::Model::Operation.new.tap do |o|
887
+ o.name = "IsAuthorizedWithToken"
888
+ o.http_method = "POST"
889
+ o.http_request_uri = "/"
890
+ o.input = Shapes::ShapeRef.new(shape: IsAuthorizedWithTokenInput)
891
+ o.output = Shapes::ShapeRef.new(shape: IsAuthorizedWithTokenOutput)
892
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
893
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
894
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
895
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
896
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
897
+ end)
898
+
899
+ api.add_operation(:list_identity_sources, Seahorse::Model::Operation.new.tap do |o|
900
+ o.name = "ListIdentitySources"
901
+ o.http_method = "POST"
902
+ o.http_request_uri = "/"
903
+ o.input = Shapes::ShapeRef.new(shape: ListIdentitySourcesInput)
904
+ o.output = Shapes::ShapeRef.new(shape: ListIdentitySourcesOutput)
905
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
906
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
907
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
908
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
909
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
910
+ o[:pager] = Aws::Pager.new(
911
+ limit_key: "max_results",
912
+ tokens: {
913
+ "next_token" => "next_token"
914
+ }
915
+ )
916
+ end)
917
+
918
+ api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
919
+ o.name = "ListPolicies"
920
+ o.http_method = "POST"
921
+ o.http_request_uri = "/"
922
+ o.input = Shapes::ShapeRef.new(shape: ListPoliciesInput)
923
+ o.output = Shapes::ShapeRef.new(shape: ListPoliciesOutput)
924
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
925
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
926
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
927
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
928
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
929
+ o[:pager] = Aws::Pager.new(
930
+ limit_key: "max_results",
931
+ tokens: {
932
+ "next_token" => "next_token"
933
+ }
934
+ )
935
+ end)
936
+
937
+ api.add_operation(:list_policy_stores, Seahorse::Model::Operation.new.tap do |o|
938
+ o.name = "ListPolicyStores"
939
+ o.http_method = "POST"
940
+ o.http_request_uri = "/"
941
+ o.input = Shapes::ShapeRef.new(shape: ListPolicyStoresInput)
942
+ o.output = Shapes::ShapeRef.new(shape: ListPolicyStoresOutput)
943
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
944
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
945
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
946
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
947
+ o[:pager] = Aws::Pager.new(
948
+ limit_key: "max_results",
949
+ tokens: {
950
+ "next_token" => "next_token"
951
+ }
952
+ )
953
+ end)
954
+
955
+ api.add_operation(:list_policy_templates, Seahorse::Model::Operation.new.tap do |o|
956
+ o.name = "ListPolicyTemplates"
957
+ o.http_method = "POST"
958
+ o.http_request_uri = "/"
959
+ o.input = Shapes::ShapeRef.new(shape: ListPolicyTemplatesInput)
960
+ o.output = Shapes::ShapeRef.new(shape: ListPolicyTemplatesOutput)
961
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
962
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
963
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
964
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
965
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
966
+ o[:pager] = Aws::Pager.new(
967
+ limit_key: "max_results",
968
+ tokens: {
969
+ "next_token" => "next_token"
970
+ }
971
+ )
972
+ end)
973
+
974
+ api.add_operation(:put_schema, Seahorse::Model::Operation.new.tap do |o|
975
+ o.name = "PutSchema"
976
+ o.http_method = "POST"
977
+ o.http_request_uri = "/"
978
+ o.input = Shapes::ShapeRef.new(shape: PutSchemaInput)
979
+ o.output = Shapes::ShapeRef.new(shape: PutSchemaOutput)
980
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
981
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
982
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
983
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
984
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
985
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
986
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
987
+ end)
988
+
989
+ api.add_operation(:update_identity_source, Seahorse::Model::Operation.new.tap do |o|
990
+ o.name = "UpdateIdentitySource"
991
+ o.http_method = "POST"
992
+ o.http_request_uri = "/"
993
+ o.input = Shapes::ShapeRef.new(shape: UpdateIdentitySourceInput)
994
+ o.output = Shapes::ShapeRef.new(shape: UpdateIdentitySourceOutput)
995
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
996
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
997
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
998
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
999
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1000
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1001
+ end)
1002
+
1003
+ api.add_operation(:update_policy, Seahorse::Model::Operation.new.tap do |o|
1004
+ o.name = "UpdatePolicy"
1005
+ o.http_method = "POST"
1006
+ o.http_request_uri = "/"
1007
+ o.input = Shapes::ShapeRef.new(shape: UpdatePolicyInput)
1008
+ o.output = Shapes::ShapeRef.new(shape: UpdatePolicyOutput)
1009
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1010
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1011
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1012
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1013
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1014
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1015
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1016
+ end)
1017
+
1018
+ api.add_operation(:update_policy_store, Seahorse::Model::Operation.new.tap do |o|
1019
+ o.name = "UpdatePolicyStore"
1020
+ o.http_method = "POST"
1021
+ o.http_request_uri = "/"
1022
+ o.input = Shapes::ShapeRef.new(shape: UpdatePolicyStoreInput)
1023
+ o.output = Shapes::ShapeRef.new(shape: UpdatePolicyStoreOutput)
1024
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1025
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1026
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1027
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1028
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1030
+ end)
1031
+
1032
+ api.add_operation(:update_policy_template, Seahorse::Model::Operation.new.tap do |o|
1033
+ o.name = "UpdatePolicyTemplate"
1034
+ o.http_method = "POST"
1035
+ o.http_request_uri = "/"
1036
+ o.input = Shapes::ShapeRef.new(shape: UpdatePolicyTemplateInput)
1037
+ o.output = Shapes::ShapeRef.new(shape: UpdatePolicyTemplateOutput)
1038
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1041
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1042
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1043
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1044
+ end)
1045
+ end
1046
+
1047
+ end
1048
+ end