aws-sdk-rolesanywhere 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-rolesanywhere/client.rb +1627 -0
- data/lib/aws-sdk-rolesanywhere/client_api.rb +617 -0
- data/lib/aws-sdk-rolesanywhere/customizations.rb +0 -0
- data/lib/aws-sdk-rolesanywhere/errors.rb +102 -0
- data/lib/aws-sdk-rolesanywhere/resource.rb +26 -0
- data/lib/aws-sdk-rolesanywhere/types.rb +1158 -0
- data/lib/aws-sdk-rolesanywhere.rb +53 -0
- metadata +90 -0
@@ -0,0 +1,617 @@
|
|
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::RolesAnywhere
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
18
|
+
Blob = Shapes::BlobShape.new(name: 'Blob')
|
19
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
20
|
+
CreateProfileRequest = Shapes::StructureShape.new(name: 'CreateProfileRequest')
|
21
|
+
CreateProfileRequestDurationSecondsInteger = Shapes::IntegerShape.new(name: 'CreateProfileRequestDurationSecondsInteger')
|
22
|
+
CreateTrustAnchorRequest = Shapes::StructureShape.new(name: 'CreateTrustAnchorRequest')
|
23
|
+
CredentialSummaries = Shapes::ListShape.new(name: 'CredentialSummaries')
|
24
|
+
CredentialSummary = Shapes::StructureShape.new(name: 'CredentialSummary')
|
25
|
+
CrlDetail = Shapes::StructureShape.new(name: 'CrlDetail')
|
26
|
+
CrlDetailResponse = Shapes::StructureShape.new(name: 'CrlDetailResponse')
|
27
|
+
CrlDetails = Shapes::ListShape.new(name: 'CrlDetails')
|
28
|
+
ImportCrlRequest = Shapes::StructureShape.new(name: 'ImportCrlRequest')
|
29
|
+
ImportCrlRequestCrlDataBlob = Shapes::BlobShape.new(name: 'ImportCrlRequestCrlDataBlob')
|
30
|
+
InstanceProperties = Shapes::ListShape.new(name: 'InstanceProperties')
|
31
|
+
InstanceProperty = Shapes::StructureShape.new(name: 'InstanceProperty')
|
32
|
+
InstancePropertyMap = Shapes::MapShape.new(name: 'InstancePropertyMap')
|
33
|
+
InstancePropertyMapKeyString = Shapes::StringShape.new(name: 'InstancePropertyMapKeyString')
|
34
|
+
InstancePropertyMapValueString = Shapes::StringShape.new(name: 'InstancePropertyMapValueString')
|
35
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
36
|
+
ListCrlsResponse = Shapes::StructureShape.new(name: 'ListCrlsResponse')
|
37
|
+
ListProfilesResponse = Shapes::StructureShape.new(name: 'ListProfilesResponse')
|
38
|
+
ListRequest = Shapes::StructureShape.new(name: 'ListRequest')
|
39
|
+
ListRequestNextTokenString = Shapes::StringShape.new(name: 'ListRequestNextTokenString')
|
40
|
+
ListSubjectsResponse = Shapes::StructureShape.new(name: 'ListSubjectsResponse')
|
41
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
42
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
43
|
+
ListTrustAnchorsResponse = Shapes::StructureShape.new(name: 'ListTrustAnchorsResponse')
|
44
|
+
ManagedPolicyList = Shapes::ListShape.new(name: 'ManagedPolicyList')
|
45
|
+
ManagedPolicyListMemberString = Shapes::StringShape.new(name: 'ManagedPolicyListMemberString')
|
46
|
+
ProfileArn = Shapes::StringShape.new(name: 'ProfileArn')
|
47
|
+
ProfileDetail = Shapes::StructureShape.new(name: 'ProfileDetail')
|
48
|
+
ProfileDetailResponse = Shapes::StructureShape.new(name: 'ProfileDetailResponse')
|
49
|
+
ProfileDetails = Shapes::ListShape.new(name: 'ProfileDetails')
|
50
|
+
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
51
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
52
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
53
|
+
RoleArnList = Shapes::ListShape.new(name: 'RoleArnList')
|
54
|
+
ScalarCrlRequest = Shapes::StructureShape.new(name: 'ScalarCrlRequest')
|
55
|
+
ScalarProfileRequest = Shapes::StructureShape.new(name: 'ScalarProfileRequest')
|
56
|
+
ScalarSubjectRequest = Shapes::StructureShape.new(name: 'ScalarSubjectRequest')
|
57
|
+
ScalarTrustAnchorRequest = Shapes::StructureShape.new(name: 'ScalarTrustAnchorRequest')
|
58
|
+
Source = Shapes::StructureShape.new(name: 'Source')
|
59
|
+
SourceData = Shapes::UnionShape.new(name: 'SourceData')
|
60
|
+
String = Shapes::StringShape.new(name: 'String')
|
61
|
+
SubjectDetail = Shapes::StructureShape.new(name: 'SubjectDetail')
|
62
|
+
SubjectDetailResponse = Shapes::StructureShape.new(name: 'SubjectDetailResponse')
|
63
|
+
SubjectSummaries = Shapes::ListShape.new(name: 'SubjectSummaries')
|
64
|
+
SubjectSummary = Shapes::StructureShape.new(name: 'SubjectSummary')
|
65
|
+
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
66
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
67
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
68
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
69
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
70
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
71
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
72
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
73
|
+
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
74
|
+
TrustAnchorArn = Shapes::StringShape.new(name: 'TrustAnchorArn')
|
75
|
+
TrustAnchorDetail = Shapes::StructureShape.new(name: 'TrustAnchorDetail')
|
76
|
+
TrustAnchorDetailResponse = Shapes::StructureShape.new(name: 'TrustAnchorDetailResponse')
|
77
|
+
TrustAnchorDetails = Shapes::ListShape.new(name: 'TrustAnchorDetails')
|
78
|
+
TrustAnchorType = Shapes::StringShape.new(name: 'TrustAnchorType')
|
79
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
80
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
81
|
+
UpdateCrlRequest = Shapes::StructureShape.new(name: 'UpdateCrlRequest')
|
82
|
+
UpdateCrlRequestCrlDataBlob = Shapes::BlobShape.new(name: 'UpdateCrlRequestCrlDataBlob')
|
83
|
+
UpdateProfileRequest = Shapes::StructureShape.new(name: 'UpdateProfileRequest')
|
84
|
+
UpdateProfileRequestDurationSecondsInteger = Shapes::IntegerShape.new(name: 'UpdateProfileRequestDurationSecondsInteger')
|
85
|
+
UpdateProfileRequestSessionPolicyString = Shapes::StringShape.new(name: 'UpdateProfileRequestSessionPolicyString')
|
86
|
+
UpdateTrustAnchorRequest = Shapes::StructureShape.new(name: 'UpdateTrustAnchorRequest')
|
87
|
+
Uuid = Shapes::StringShape.new(name: 'Uuid')
|
88
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
89
|
+
|
90
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
91
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
92
|
+
|
93
|
+
CreateProfileRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: CreateProfileRequestDurationSecondsInteger, location_name: "durationSeconds"))
|
94
|
+
CreateProfileRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
95
|
+
CreateProfileRequest.add_member(:managed_policy_arns, Shapes::ShapeRef.new(shape: ManagedPolicyList, location_name: "managedPolicyArns"))
|
96
|
+
CreateProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
97
|
+
CreateProfileRequest.add_member(:require_instance_properties, Shapes::ShapeRef.new(shape: Boolean, location_name: "requireInstanceProperties"))
|
98
|
+
CreateProfileRequest.add_member(:role_arns, Shapes::ShapeRef.new(shape: RoleArnList, required: true, location_name: "roleArns"))
|
99
|
+
CreateProfileRequest.add_member(:session_policy, Shapes::ShapeRef.new(shape: String, location_name: "sessionPolicy"))
|
100
|
+
CreateProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
101
|
+
CreateProfileRequest.struct_class = Types::CreateProfileRequest
|
102
|
+
|
103
|
+
CreateTrustAnchorRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
104
|
+
CreateTrustAnchorRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
105
|
+
CreateTrustAnchorRequest.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
106
|
+
CreateTrustAnchorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
107
|
+
CreateTrustAnchorRequest.struct_class = Types::CreateTrustAnchorRequest
|
108
|
+
|
109
|
+
CredentialSummaries.member = Shapes::ShapeRef.new(shape: CredentialSummary)
|
110
|
+
|
111
|
+
CredentialSummary.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
112
|
+
CredentialSummary.add_member(:failed, Shapes::ShapeRef.new(shape: Boolean, location_name: "failed"))
|
113
|
+
CredentialSummary.add_member(:issuer, Shapes::ShapeRef.new(shape: String, location_name: "issuer"))
|
114
|
+
CredentialSummary.add_member(:seen_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "seenAt"))
|
115
|
+
CredentialSummary.add_member(:serial_number, Shapes::ShapeRef.new(shape: String, location_name: "serialNumber"))
|
116
|
+
CredentialSummary.add_member(:x509_certificate_data, Shapes::ShapeRef.new(shape: String, location_name: "x509CertificateData"))
|
117
|
+
CredentialSummary.struct_class = Types::CredentialSummary
|
118
|
+
|
119
|
+
CrlDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
120
|
+
CrlDetail.add_member(:crl_arn, Shapes::ShapeRef.new(shape: String, location_name: "crlArn"))
|
121
|
+
CrlDetail.add_member(:crl_data, Shapes::ShapeRef.new(shape: Blob, location_name: "crlData"))
|
122
|
+
CrlDetail.add_member(:crl_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "crlId"))
|
123
|
+
CrlDetail.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
124
|
+
CrlDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
125
|
+
CrlDetail.add_member(:trust_anchor_arn, Shapes::ShapeRef.new(shape: String, location_name: "trustAnchorArn"))
|
126
|
+
CrlDetail.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
127
|
+
CrlDetail.struct_class = Types::CrlDetail
|
128
|
+
|
129
|
+
CrlDetailResponse.add_member(:crl, Shapes::ShapeRef.new(shape: CrlDetail, required: true, location_name: "crl"))
|
130
|
+
CrlDetailResponse.struct_class = Types::CrlDetailResponse
|
131
|
+
|
132
|
+
CrlDetails.member = Shapes::ShapeRef.new(shape: CrlDetail)
|
133
|
+
|
134
|
+
ImportCrlRequest.add_member(:crl_data, Shapes::ShapeRef.new(shape: ImportCrlRequestCrlDataBlob, required: true, location_name: "crlData"))
|
135
|
+
ImportCrlRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
136
|
+
ImportCrlRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
137
|
+
ImportCrlRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
138
|
+
ImportCrlRequest.add_member(:trust_anchor_arn, Shapes::ShapeRef.new(shape: TrustAnchorArn, required: true, location_name: "trustAnchorArn"))
|
139
|
+
ImportCrlRequest.struct_class = Types::ImportCrlRequest
|
140
|
+
|
141
|
+
InstanceProperties.member = Shapes::ShapeRef.new(shape: InstanceProperty)
|
142
|
+
|
143
|
+
InstanceProperty.add_member(:failed, Shapes::ShapeRef.new(shape: Boolean, location_name: "failed"))
|
144
|
+
InstanceProperty.add_member(:properties, Shapes::ShapeRef.new(shape: InstancePropertyMap, location_name: "properties"))
|
145
|
+
InstanceProperty.add_member(:seen_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "seenAt"))
|
146
|
+
InstanceProperty.struct_class = Types::InstanceProperty
|
147
|
+
|
148
|
+
InstancePropertyMap.key = Shapes::ShapeRef.new(shape: InstancePropertyMapKeyString)
|
149
|
+
InstancePropertyMap.value = Shapes::ShapeRef.new(shape: InstancePropertyMapValueString)
|
150
|
+
|
151
|
+
ListCrlsResponse.add_member(:crls, Shapes::ShapeRef.new(shape: CrlDetails, location_name: "crls"))
|
152
|
+
ListCrlsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
153
|
+
ListCrlsResponse.struct_class = Types::ListCrlsResponse
|
154
|
+
|
155
|
+
ListProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
156
|
+
ListProfilesResponse.add_member(:profiles, Shapes::ShapeRef.new(shape: ProfileDetails, location_name: "profiles"))
|
157
|
+
ListProfilesResponse.struct_class = Types::ListProfilesResponse
|
158
|
+
|
159
|
+
ListRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListRequestNextTokenString, location: "querystring", location_name: "nextToken"))
|
160
|
+
ListRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "pageSize"))
|
161
|
+
ListRequest.struct_class = Types::ListRequest
|
162
|
+
|
163
|
+
ListSubjectsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
164
|
+
ListSubjectsResponse.add_member(:subjects, Shapes::ShapeRef.new(shape: SubjectSummaries, location_name: "subjects"))
|
165
|
+
ListSubjectsResponse.struct_class = Types::ListSubjectsResponse
|
166
|
+
|
167
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "querystring", location_name: "resourceArn"))
|
168
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
169
|
+
|
170
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
171
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
172
|
+
|
173
|
+
ListTrustAnchorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
174
|
+
ListTrustAnchorsResponse.add_member(:trust_anchors, Shapes::ShapeRef.new(shape: TrustAnchorDetails, location_name: "trustAnchors"))
|
175
|
+
ListTrustAnchorsResponse.struct_class = Types::ListTrustAnchorsResponse
|
176
|
+
|
177
|
+
ManagedPolicyList.member = Shapes::ShapeRef.new(shape: ManagedPolicyListMemberString)
|
178
|
+
|
179
|
+
ProfileDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
180
|
+
ProfileDetail.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "createdBy"))
|
181
|
+
ProfileDetail.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "durationSeconds"))
|
182
|
+
ProfileDetail.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
183
|
+
ProfileDetail.add_member(:managed_policy_arns, Shapes::ShapeRef.new(shape: ManagedPolicyList, location_name: "managedPolicyArns"))
|
184
|
+
ProfileDetail.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
185
|
+
ProfileDetail.add_member(:profile_arn, Shapes::ShapeRef.new(shape: ProfileArn, location_name: "profileArn"))
|
186
|
+
ProfileDetail.add_member(:profile_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "profileId"))
|
187
|
+
ProfileDetail.add_member(:require_instance_properties, Shapes::ShapeRef.new(shape: Boolean, location_name: "requireInstanceProperties"))
|
188
|
+
ProfileDetail.add_member(:role_arns, Shapes::ShapeRef.new(shape: RoleArnList, location_name: "roleArns"))
|
189
|
+
ProfileDetail.add_member(:session_policy, Shapes::ShapeRef.new(shape: String, location_name: "sessionPolicy"))
|
190
|
+
ProfileDetail.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
191
|
+
ProfileDetail.struct_class = Types::ProfileDetail
|
192
|
+
|
193
|
+
ProfileDetailResponse.add_member(:profile, Shapes::ShapeRef.new(shape: ProfileDetail, location_name: "profile"))
|
194
|
+
ProfileDetailResponse.struct_class = Types::ProfileDetailResponse
|
195
|
+
|
196
|
+
ProfileDetails.member = Shapes::ShapeRef.new(shape: ProfileDetail)
|
197
|
+
|
198
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
199
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
200
|
+
|
201
|
+
RoleArnList.member = Shapes::ShapeRef.new(shape: RoleArn)
|
202
|
+
|
203
|
+
ScalarCrlRequest.add_member(:crl_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "crlId"))
|
204
|
+
ScalarCrlRequest.struct_class = Types::ScalarCrlRequest
|
205
|
+
|
206
|
+
ScalarProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "profileId"))
|
207
|
+
ScalarProfileRequest.struct_class = Types::ScalarProfileRequest
|
208
|
+
|
209
|
+
ScalarSubjectRequest.add_member(:subject_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "subjectId"))
|
210
|
+
ScalarSubjectRequest.struct_class = Types::ScalarSubjectRequest
|
211
|
+
|
212
|
+
ScalarTrustAnchorRequest.add_member(:trust_anchor_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "trustAnchorId"))
|
213
|
+
ScalarTrustAnchorRequest.struct_class = Types::ScalarTrustAnchorRequest
|
214
|
+
|
215
|
+
Source.add_member(:source_data, Shapes::ShapeRef.new(shape: SourceData, location_name: "sourceData"))
|
216
|
+
Source.add_member(:source_type, Shapes::ShapeRef.new(shape: TrustAnchorType, location_name: "sourceType"))
|
217
|
+
Source.struct_class = Types::Source
|
218
|
+
|
219
|
+
SourceData.add_member(:acm_pca_arn, Shapes::ShapeRef.new(shape: String, location_name: "acmPcaArn"))
|
220
|
+
SourceData.add_member(:x509_certificate_data, Shapes::ShapeRef.new(shape: String, location_name: "x509CertificateData"))
|
221
|
+
SourceData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
222
|
+
SourceData.add_member_subclass(:acm_pca_arn, Types::SourceData::AcmPcaArn)
|
223
|
+
SourceData.add_member_subclass(:x509_certificate_data, Types::SourceData::X509CertificateData)
|
224
|
+
SourceData.add_member_subclass(:unknown, Types::SourceData::Unknown)
|
225
|
+
SourceData.struct_class = Types::SourceData
|
226
|
+
|
227
|
+
SubjectDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
228
|
+
SubjectDetail.add_member(:credentials, Shapes::ShapeRef.new(shape: CredentialSummaries, location_name: "credentials"))
|
229
|
+
SubjectDetail.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
230
|
+
SubjectDetail.add_member(:instance_properties, Shapes::ShapeRef.new(shape: InstanceProperties, location_name: "instanceProperties"))
|
231
|
+
SubjectDetail.add_member(:last_seen_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastSeenAt"))
|
232
|
+
SubjectDetail.add_member(:subject_arn, Shapes::ShapeRef.new(shape: String, location_name: "subjectArn"))
|
233
|
+
SubjectDetail.add_member(:subject_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "subjectId"))
|
234
|
+
SubjectDetail.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
235
|
+
SubjectDetail.add_member(:x509_subject, Shapes::ShapeRef.new(shape: String, location_name: "x509Subject"))
|
236
|
+
SubjectDetail.struct_class = Types::SubjectDetail
|
237
|
+
|
238
|
+
SubjectDetailResponse.add_member(:subject, Shapes::ShapeRef.new(shape: SubjectDetail, location_name: "subject"))
|
239
|
+
SubjectDetailResponse.struct_class = Types::SubjectDetailResponse
|
240
|
+
|
241
|
+
SubjectSummaries.member = Shapes::ShapeRef.new(shape: SubjectSummary)
|
242
|
+
|
243
|
+
SubjectSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
244
|
+
SubjectSummary.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
245
|
+
SubjectSummary.add_member(:last_seen_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastSeenAt"))
|
246
|
+
SubjectSummary.add_member(:subject_arn, Shapes::ShapeRef.new(shape: String, location_name: "subjectArn"))
|
247
|
+
SubjectSummary.add_member(:subject_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "subjectId"))
|
248
|
+
SubjectSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
249
|
+
SubjectSummary.add_member(:x509_subject, Shapes::ShapeRef.new(shape: String, location_name: "x509Subject"))
|
250
|
+
SubjectSummary.struct_class = Types::SubjectSummary
|
251
|
+
|
252
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
253
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
254
|
+
Tag.struct_class = Types::Tag
|
255
|
+
|
256
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
257
|
+
|
258
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
259
|
+
|
260
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "resourceArn"))
|
261
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
|
262
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
263
|
+
|
264
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
265
|
+
|
266
|
+
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
267
|
+
TooManyTagsException.struct_class = Types::TooManyTagsException
|
268
|
+
|
269
|
+
TrustAnchorDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
270
|
+
TrustAnchorDetail.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
271
|
+
TrustAnchorDetail.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
272
|
+
TrustAnchorDetail.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
|
273
|
+
TrustAnchorDetail.add_member(:trust_anchor_arn, Shapes::ShapeRef.new(shape: String, location_name: "trustAnchorArn"))
|
274
|
+
TrustAnchorDetail.add_member(:trust_anchor_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "trustAnchorId"))
|
275
|
+
TrustAnchorDetail.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
276
|
+
TrustAnchorDetail.struct_class = Types::TrustAnchorDetail
|
277
|
+
|
278
|
+
TrustAnchorDetailResponse.add_member(:trust_anchor, Shapes::ShapeRef.new(shape: TrustAnchorDetail, required: true, location_name: "trustAnchor"))
|
279
|
+
TrustAnchorDetailResponse.struct_class = Types::TrustAnchorDetailResponse
|
280
|
+
|
281
|
+
TrustAnchorDetails.member = Shapes::ShapeRef.new(shape: TrustAnchorDetail)
|
282
|
+
|
283
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "resourceArn"))
|
284
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
285
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
286
|
+
|
287
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
288
|
+
|
289
|
+
UpdateCrlRequest.add_member(:crl_data, Shapes::ShapeRef.new(shape: UpdateCrlRequestCrlDataBlob, location_name: "crlData"))
|
290
|
+
UpdateCrlRequest.add_member(:crl_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "crlId"))
|
291
|
+
UpdateCrlRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
292
|
+
UpdateCrlRequest.struct_class = Types::UpdateCrlRequest
|
293
|
+
|
294
|
+
UpdateProfileRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: UpdateProfileRequestDurationSecondsInteger, location_name: "durationSeconds"))
|
295
|
+
UpdateProfileRequest.add_member(:managed_policy_arns, Shapes::ShapeRef.new(shape: ManagedPolicyList, location_name: "managedPolicyArns"))
|
296
|
+
UpdateProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
297
|
+
UpdateProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "profileId"))
|
298
|
+
UpdateProfileRequest.add_member(:role_arns, Shapes::ShapeRef.new(shape: RoleArnList, location_name: "roleArns"))
|
299
|
+
UpdateProfileRequest.add_member(:session_policy, Shapes::ShapeRef.new(shape: UpdateProfileRequestSessionPolicyString, location_name: "sessionPolicy"))
|
300
|
+
UpdateProfileRequest.struct_class = Types::UpdateProfileRequest
|
301
|
+
|
302
|
+
UpdateTrustAnchorRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
303
|
+
UpdateTrustAnchorRequest.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
|
304
|
+
UpdateTrustAnchorRequest.add_member(:trust_anchor_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "trustAnchorId"))
|
305
|
+
UpdateTrustAnchorRequest.struct_class = Types::UpdateTrustAnchorRequest
|
306
|
+
|
307
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
308
|
+
ValidationException.struct_class = Types::ValidationException
|
309
|
+
|
310
|
+
|
311
|
+
# @api private
|
312
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
313
|
+
|
314
|
+
api.version = "2018-05-10"
|
315
|
+
|
316
|
+
api.metadata = {
|
317
|
+
"apiVersion" => "2018-05-10",
|
318
|
+
"endpointPrefix" => "rolesanywhere",
|
319
|
+
"jsonVersion" => "1.1",
|
320
|
+
"protocol" => "rest-json",
|
321
|
+
"serviceFullName" => "IAM Roles Anywhere",
|
322
|
+
"serviceId" => "RolesAnywhere",
|
323
|
+
"signatureVersion" => "v4",
|
324
|
+
"signingName" => "rolesanywhere",
|
325
|
+
"uid" => "rolesanywhere-2018-05-10",
|
326
|
+
}
|
327
|
+
|
328
|
+
api.add_operation(:create_profile, Seahorse::Model::Operation.new.tap do |o|
|
329
|
+
o.name = "CreateProfile"
|
330
|
+
o.http_method = "POST"
|
331
|
+
o.http_request_uri = "/profiles"
|
332
|
+
o.input = Shapes::ShapeRef.new(shape: CreateProfileRequest)
|
333
|
+
o.output = Shapes::ShapeRef.new(shape: ProfileDetailResponse)
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
336
|
+
end)
|
337
|
+
|
338
|
+
api.add_operation(:create_trust_anchor, Seahorse::Model::Operation.new.tap do |o|
|
339
|
+
o.name = "CreateTrustAnchor"
|
340
|
+
o.http_method = "POST"
|
341
|
+
o.http_request_uri = "/trustanchors"
|
342
|
+
o.input = Shapes::ShapeRef.new(shape: CreateTrustAnchorRequest)
|
343
|
+
o.output = Shapes::ShapeRef.new(shape: TrustAnchorDetailResponse)
|
344
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
345
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
346
|
+
end)
|
347
|
+
|
348
|
+
api.add_operation(:delete_crl, Seahorse::Model::Operation.new.tap do |o|
|
349
|
+
o.name = "DeleteCrl"
|
350
|
+
o.http_method = "DELETE"
|
351
|
+
o.http_request_uri = "/crl/{crlId}"
|
352
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarCrlRequest)
|
353
|
+
o.output = Shapes::ShapeRef.new(shape: CrlDetailResponse)
|
354
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
355
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
356
|
+
end)
|
357
|
+
|
358
|
+
api.add_operation(:delete_profile, Seahorse::Model::Operation.new.tap do |o|
|
359
|
+
o.name = "DeleteProfile"
|
360
|
+
o.http_method = "DELETE"
|
361
|
+
o.http_request_uri = "/profile/{profileId}"
|
362
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarProfileRequest)
|
363
|
+
o.output = Shapes::ShapeRef.new(shape: ProfileDetailResponse)
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
366
|
+
end)
|
367
|
+
|
368
|
+
api.add_operation(:delete_trust_anchor, Seahorse::Model::Operation.new.tap do |o|
|
369
|
+
o.name = "DeleteTrustAnchor"
|
370
|
+
o.http_method = "DELETE"
|
371
|
+
o.http_request_uri = "/trustanchor/{trustAnchorId}"
|
372
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarTrustAnchorRequest)
|
373
|
+
o.output = Shapes::ShapeRef.new(shape: TrustAnchorDetailResponse)
|
374
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
375
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
376
|
+
end)
|
377
|
+
|
378
|
+
api.add_operation(:disable_crl, Seahorse::Model::Operation.new.tap do |o|
|
379
|
+
o.name = "DisableCrl"
|
380
|
+
o.http_method = "POST"
|
381
|
+
o.http_request_uri = "/crl/{crlId}/disable"
|
382
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarCrlRequest)
|
383
|
+
o.output = Shapes::ShapeRef.new(shape: CrlDetailResponse)
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
386
|
+
end)
|
387
|
+
|
388
|
+
api.add_operation(:disable_profile, Seahorse::Model::Operation.new.tap do |o|
|
389
|
+
o.name = "DisableProfile"
|
390
|
+
o.http_method = "POST"
|
391
|
+
o.http_request_uri = "/profile/{profileId}/disable"
|
392
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarProfileRequest)
|
393
|
+
o.output = Shapes::ShapeRef.new(shape: ProfileDetailResponse)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
396
|
+
end)
|
397
|
+
|
398
|
+
api.add_operation(:disable_trust_anchor, Seahorse::Model::Operation.new.tap do |o|
|
399
|
+
o.name = "DisableTrustAnchor"
|
400
|
+
o.http_method = "POST"
|
401
|
+
o.http_request_uri = "/trustanchor/{trustAnchorId}/disable"
|
402
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarTrustAnchorRequest)
|
403
|
+
o.output = Shapes::ShapeRef.new(shape: TrustAnchorDetailResponse)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
406
|
+
end)
|
407
|
+
|
408
|
+
api.add_operation(:enable_crl, Seahorse::Model::Operation.new.tap do |o|
|
409
|
+
o.name = "EnableCrl"
|
410
|
+
o.http_method = "POST"
|
411
|
+
o.http_request_uri = "/crl/{crlId}/enable"
|
412
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarCrlRequest)
|
413
|
+
o.output = Shapes::ShapeRef.new(shape: CrlDetailResponse)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
416
|
+
end)
|
417
|
+
|
418
|
+
api.add_operation(:enable_profile, Seahorse::Model::Operation.new.tap do |o|
|
419
|
+
o.name = "EnableProfile"
|
420
|
+
o.http_method = "POST"
|
421
|
+
o.http_request_uri = "/profile/{profileId}/enable"
|
422
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarProfileRequest)
|
423
|
+
o.output = Shapes::ShapeRef.new(shape: ProfileDetailResponse)
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
426
|
+
end)
|
427
|
+
|
428
|
+
api.add_operation(:enable_trust_anchor, Seahorse::Model::Operation.new.tap do |o|
|
429
|
+
o.name = "EnableTrustAnchor"
|
430
|
+
o.http_method = "POST"
|
431
|
+
o.http_request_uri = "/trustanchor/{trustAnchorId}/enable"
|
432
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarTrustAnchorRequest)
|
433
|
+
o.output = Shapes::ShapeRef.new(shape: TrustAnchorDetailResponse)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
436
|
+
end)
|
437
|
+
|
438
|
+
api.add_operation(:get_crl, Seahorse::Model::Operation.new.tap do |o|
|
439
|
+
o.name = "GetCrl"
|
440
|
+
o.http_method = "GET"
|
441
|
+
o.http_request_uri = "/crl/{crlId}"
|
442
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarCrlRequest)
|
443
|
+
o.output = Shapes::ShapeRef.new(shape: CrlDetailResponse)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
445
|
+
end)
|
446
|
+
|
447
|
+
api.add_operation(:get_profile, Seahorse::Model::Operation.new.tap do |o|
|
448
|
+
o.name = "GetProfile"
|
449
|
+
o.http_method = "GET"
|
450
|
+
o.http_request_uri = "/profile/{profileId}"
|
451
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarProfileRequest)
|
452
|
+
o.output = Shapes::ShapeRef.new(shape: ProfileDetailResponse)
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
454
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
455
|
+
end)
|
456
|
+
|
457
|
+
api.add_operation(:get_subject, Seahorse::Model::Operation.new.tap do |o|
|
458
|
+
o.name = "GetSubject"
|
459
|
+
o.http_method = "GET"
|
460
|
+
o.http_request_uri = "/subject/{subjectId}"
|
461
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarSubjectRequest)
|
462
|
+
o.output = Shapes::ShapeRef.new(shape: SubjectDetailResponse)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
465
|
+
end)
|
466
|
+
|
467
|
+
api.add_operation(:get_trust_anchor, Seahorse::Model::Operation.new.tap do |o|
|
468
|
+
o.name = "GetTrustAnchor"
|
469
|
+
o.http_method = "GET"
|
470
|
+
o.http_request_uri = "/trustanchor/{trustAnchorId}"
|
471
|
+
o.input = Shapes::ShapeRef.new(shape: ScalarTrustAnchorRequest)
|
472
|
+
o.output = Shapes::ShapeRef.new(shape: TrustAnchorDetailResponse)
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
476
|
+
end)
|
477
|
+
|
478
|
+
api.add_operation(:import_crl, Seahorse::Model::Operation.new.tap do |o|
|
479
|
+
o.name = "ImportCrl"
|
480
|
+
o.http_method = "POST"
|
481
|
+
o.http_request_uri = "/crls"
|
482
|
+
o.input = Shapes::ShapeRef.new(shape: ImportCrlRequest)
|
483
|
+
o.output = Shapes::ShapeRef.new(shape: CrlDetailResponse)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
486
|
+
end)
|
487
|
+
|
488
|
+
api.add_operation(:list_crls, Seahorse::Model::Operation.new.tap do |o|
|
489
|
+
o.name = "ListCrls"
|
490
|
+
o.http_method = "GET"
|
491
|
+
o.http_request_uri = "/crls"
|
492
|
+
o.input = Shapes::ShapeRef.new(shape: ListRequest)
|
493
|
+
o.output = Shapes::ShapeRef.new(shape: ListCrlsResponse)
|
494
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
495
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
496
|
+
o[:pager] = Aws::Pager.new(
|
497
|
+
tokens: {
|
498
|
+
"next_token" => "next_token"
|
499
|
+
}
|
500
|
+
)
|
501
|
+
end)
|
502
|
+
|
503
|
+
api.add_operation(:list_profiles, Seahorse::Model::Operation.new.tap do |o|
|
504
|
+
o.name = "ListProfiles"
|
505
|
+
o.http_method = "GET"
|
506
|
+
o.http_request_uri = "/profiles"
|
507
|
+
o.input = Shapes::ShapeRef.new(shape: ListRequest)
|
508
|
+
o.output = Shapes::ShapeRef.new(shape: ListProfilesResponse)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
511
|
+
o[:pager] = Aws::Pager.new(
|
512
|
+
tokens: {
|
513
|
+
"next_token" => "next_token"
|
514
|
+
}
|
515
|
+
)
|
516
|
+
end)
|
517
|
+
|
518
|
+
api.add_operation(:list_subjects, Seahorse::Model::Operation.new.tap do |o|
|
519
|
+
o.name = "ListSubjects"
|
520
|
+
o.http_method = "GET"
|
521
|
+
o.http_request_uri = "/subjects"
|
522
|
+
o.input = Shapes::ShapeRef.new(shape: ListRequest)
|
523
|
+
o.output = Shapes::ShapeRef.new(shape: ListSubjectsResponse)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
526
|
+
o[:pager] = Aws::Pager.new(
|
527
|
+
tokens: {
|
528
|
+
"next_token" => "next_token"
|
529
|
+
}
|
530
|
+
)
|
531
|
+
end)
|
532
|
+
|
533
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
534
|
+
o.name = "ListTagsForResource"
|
535
|
+
o.http_method = "GET"
|
536
|
+
o.http_request_uri = "/ListTagsForResource"
|
537
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
538
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
541
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
542
|
+
end)
|
543
|
+
|
544
|
+
api.add_operation(:list_trust_anchors, Seahorse::Model::Operation.new.tap do |o|
|
545
|
+
o.name = "ListTrustAnchors"
|
546
|
+
o.http_method = "GET"
|
547
|
+
o.http_request_uri = "/trustanchors"
|
548
|
+
o.input = Shapes::ShapeRef.new(shape: ListRequest)
|
549
|
+
o.output = Shapes::ShapeRef.new(shape: ListTrustAnchorsResponse)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
552
|
+
o[:pager] = Aws::Pager.new(
|
553
|
+
tokens: {
|
554
|
+
"next_token" => "next_token"
|
555
|
+
}
|
556
|
+
)
|
557
|
+
end)
|
558
|
+
|
559
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
560
|
+
o.name = "TagResource"
|
561
|
+
o.http_method = "POST"
|
562
|
+
o.http_request_uri = "/TagResource"
|
563
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
564
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
566
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
567
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
568
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
569
|
+
end)
|
570
|
+
|
571
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
572
|
+
o.name = "UntagResource"
|
573
|
+
o.http_method = "POST"
|
574
|
+
o.http_request_uri = "/UntagResource"
|
575
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
576
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
580
|
+
end)
|
581
|
+
|
582
|
+
api.add_operation(:update_crl, Seahorse::Model::Operation.new.tap do |o|
|
583
|
+
o.name = "UpdateCrl"
|
584
|
+
o.http_method = "PATCH"
|
585
|
+
o.http_request_uri = "/crl/{crlId}"
|
586
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateCrlRequest)
|
587
|
+
o.output = Shapes::ShapeRef.new(shape: CrlDetailResponse)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
591
|
+
end)
|
592
|
+
|
593
|
+
api.add_operation(:update_profile, Seahorse::Model::Operation.new.tap do |o|
|
594
|
+
o.name = "UpdateProfile"
|
595
|
+
o.http_method = "PATCH"
|
596
|
+
o.http_request_uri = "/profile/{profileId}"
|
597
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateProfileRequest)
|
598
|
+
o.output = Shapes::ShapeRef.new(shape: ProfileDetailResponse)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
602
|
+
end)
|
603
|
+
|
604
|
+
api.add_operation(:update_trust_anchor, Seahorse::Model::Operation.new.tap do |o|
|
605
|
+
o.name = "UpdateTrustAnchor"
|
606
|
+
o.http_method = "PATCH"
|
607
|
+
o.http_request_uri = "/trustanchor/{trustAnchorId}"
|
608
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateTrustAnchorRequest)
|
609
|
+
o.output = Shapes::ShapeRef.new(shape: TrustAnchorDetailResponse)
|
610
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
611
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
613
|
+
end)
|
614
|
+
end
|
615
|
+
|
616
|
+
end
|
617
|
+
end
|
File without changes
|