aws-sdk-repostspace 1.22.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-repostspace/client.rb +679 -99
- data/lib/aws-sdk-repostspace/client_api.rb +262 -54
- data/lib/aws-sdk-repostspace/errors.rb +15 -15
- data/lib/aws-sdk-repostspace/types.rb +572 -201
- data/lib/aws-sdk-repostspace/waiters.rb +289 -0
- data/lib/aws-sdk-repostspace.rb +3 -2
- data/sig/client.rbs +149 -35
- data/sig/errors.rbs +3 -3
- data/sig/types.rbs +159 -46
- data/sig/waiters.rbs +42 -0
- metadata +2 -1
@@ -18,31 +18,57 @@ module Aws::Repostspace
|
|
18
18
|
AccessorId = Shapes::StringShape.new(name: 'AccessorId')
|
19
19
|
AccessorIdList = Shapes::ListShape.new(name: 'AccessorIdList')
|
20
20
|
AdminId = Shapes::StringShape.new(name: 'AdminId')
|
21
|
+
AllowedDomainsList = Shapes::ListShape.new(name: 'AllowedDomainsList')
|
21
22
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
23
|
+
BatchAddChannelRoleToAccessorsInput = Shapes::StructureShape.new(name: 'BatchAddChannelRoleToAccessorsInput')
|
24
|
+
BatchAddChannelRoleToAccessorsOutput = Shapes::StructureShape.new(name: 'BatchAddChannelRoleToAccessorsOutput')
|
22
25
|
BatchAddRoleInput = Shapes::StructureShape.new(name: 'BatchAddRoleInput')
|
23
26
|
BatchAddRoleOutput = Shapes::StructureShape.new(name: 'BatchAddRoleOutput')
|
24
27
|
BatchError = Shapes::StructureShape.new(name: 'BatchError')
|
25
28
|
BatchErrorList = Shapes::ListShape.new(name: 'BatchErrorList')
|
29
|
+
BatchRemoveChannelRoleFromAccessorsInput = Shapes::StructureShape.new(name: 'BatchRemoveChannelRoleFromAccessorsInput')
|
30
|
+
BatchRemoveChannelRoleFromAccessorsOutput = Shapes::StructureShape.new(name: 'BatchRemoveChannelRoleFromAccessorsOutput')
|
26
31
|
BatchRemoveRoleInput = Shapes::StructureShape.new(name: 'BatchRemoveRoleInput')
|
27
32
|
BatchRemoveRoleOutput = Shapes::StructureShape.new(name: 'BatchRemoveRoleOutput')
|
33
|
+
ChannelData = Shapes::StructureShape.new(name: 'ChannelData')
|
34
|
+
ChannelDescription = Shapes::StringShape.new(name: 'ChannelDescription')
|
35
|
+
ChannelId = Shapes::StringShape.new(name: 'ChannelId')
|
36
|
+
ChannelName = Shapes::StringShape.new(name: 'ChannelName')
|
37
|
+
ChannelRole = Shapes::StringShape.new(name: 'ChannelRole')
|
38
|
+
ChannelRoleList = Shapes::ListShape.new(name: 'ChannelRoleList')
|
39
|
+
ChannelRoles = Shapes::MapShape.new(name: 'ChannelRoles')
|
40
|
+
ChannelStatus = Shapes::StringShape.new(name: 'ChannelStatus')
|
41
|
+
ChannelsList = Shapes::ListShape.new(name: 'ChannelsList')
|
28
42
|
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
29
43
|
ConfigurationStatus = Shapes::StringShape.new(name: 'ConfigurationStatus')
|
30
44
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
31
45
|
ContentSize = Shapes::IntegerShape.new(name: 'ContentSize')
|
46
|
+
CreateChannelInput = Shapes::StructureShape.new(name: 'CreateChannelInput')
|
47
|
+
CreateChannelOutput = Shapes::StructureShape.new(name: 'CreateChannelOutput')
|
32
48
|
CreateSpaceInput = Shapes::StructureShape.new(name: 'CreateSpaceInput')
|
33
49
|
CreateSpaceOutput = Shapes::StructureShape.new(name: 'CreateSpaceOutput')
|
34
50
|
DeleteSpaceInput = Shapes::StructureShape.new(name: 'DeleteSpaceInput')
|
35
51
|
DeregisterAdminInput = Shapes::StructureShape.new(name: 'DeregisterAdminInput')
|
52
|
+
EmailDomain = Shapes::StringShape.new(name: 'EmailDomain')
|
36
53
|
ErrorCode = Shapes::IntegerShape.new(name: 'ErrorCode')
|
37
54
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
55
|
+
FeatureEnableParameter = Shapes::StringShape.new(name: 'FeatureEnableParameter')
|
56
|
+
FeatureEnableStatus = Shapes::StringShape.new(name: 'FeatureEnableStatus')
|
57
|
+
GetChannelInput = Shapes::StructureShape.new(name: 'GetChannelInput')
|
58
|
+
GetChannelOutput = Shapes::StructureShape.new(name: 'GetChannelOutput')
|
38
59
|
GetSpaceInput = Shapes::StructureShape.new(name: 'GetSpaceInput')
|
39
60
|
GetSpaceOutput = Shapes::StructureShape.new(name: 'GetSpaceOutput')
|
40
61
|
GroupAdmins = Shapes::ListShape.new(name: 'GroupAdmins')
|
62
|
+
GroupCount = Shapes::IntegerShape.new(name: 'GroupCount')
|
63
|
+
IdentityStoreId = Shapes::StringShape.new(name: 'IdentityStoreId')
|
41
64
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
42
65
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
43
66
|
InviteBody = Shapes::StringShape.new(name: 'InviteBody')
|
44
67
|
InviteTitle = Shapes::StringShape.new(name: 'InviteTitle')
|
45
68
|
KMSKey = Shapes::StringShape.new(name: 'KMSKey')
|
69
|
+
ListChannelsInput = Shapes::StructureShape.new(name: 'ListChannelsInput')
|
70
|
+
ListChannelsLimit = Shapes::IntegerShape.new(name: 'ListChannelsLimit')
|
71
|
+
ListChannelsOutput = Shapes::StructureShape.new(name: 'ListChannelsOutput')
|
46
72
|
ListSpacesInput = Shapes::StructureShape.new(name: 'ListSpacesInput')
|
47
73
|
ListSpacesLimit = Shapes::IntegerShape.new(name: 'ListSpacesLimit')
|
48
74
|
ListSpacesOutput = Shapes::StructureShape.new(name: 'ListSpacesOutput')
|
@@ -64,6 +90,8 @@ module Aws::Repostspace
|
|
64
90
|
SpacesList = Shapes::ListShape.new(name: 'SpacesList')
|
65
91
|
StorageLimit = Shapes::IntegerShape.new(name: 'StorageLimit')
|
66
92
|
String = Shapes::StringShape.new(name: 'String')
|
93
|
+
SupportedEmailDomainsParameters = Shapes::StructureShape.new(name: 'SupportedEmailDomainsParameters')
|
94
|
+
SupportedEmailDomainsStatus = Shapes::StructureShape.new(name: 'SupportedEmailDomainsStatus')
|
67
95
|
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
68
96
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
69
97
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -75,6 +103,8 @@ module Aws::Repostspace
|
|
75
103
|
TierLevel = Shapes::StringShape.new(name: 'TierLevel')
|
76
104
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
77
105
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
106
|
+
UpdateChannelInput = Shapes::StructureShape.new(name: 'UpdateChannelInput')
|
107
|
+
UpdateChannelOutput = Shapes::StructureShape.new(name: 'UpdateChannelOutput')
|
78
108
|
UpdateSpaceInput = Shapes::StructureShape.new(name: 'UpdateSpaceInput')
|
79
109
|
Url = Shapes::StringShape.new(name: 'Url')
|
80
110
|
UserAdmins = Shapes::ListShape.new(name: 'UserAdmins')
|
@@ -90,9 +120,21 @@ module Aws::Repostspace
|
|
90
120
|
|
91
121
|
AccessorIdList.member = Shapes::ShapeRef.new(shape: AccessorId)
|
92
122
|
|
123
|
+
AllowedDomainsList.member = Shapes::ShapeRef.new(shape: EmailDomain)
|
124
|
+
|
125
|
+
BatchAddChannelRoleToAccessorsInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
126
|
+
BatchAddChannelRoleToAccessorsInput.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, required: true, location: "uri", location_name: "channelId"))
|
127
|
+
BatchAddChannelRoleToAccessorsInput.add_member(:accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "accessorIds"))
|
128
|
+
BatchAddChannelRoleToAccessorsInput.add_member(:channel_role, Shapes::ShapeRef.new(shape: ChannelRole, required: true, location_name: "channelRole"))
|
129
|
+
BatchAddChannelRoleToAccessorsInput.struct_class = Types::BatchAddChannelRoleToAccessorsInput
|
130
|
+
|
131
|
+
BatchAddChannelRoleToAccessorsOutput.add_member(:added_accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "addedAccessorIds"))
|
132
|
+
BatchAddChannelRoleToAccessorsOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchErrorList, required: true, location_name: "errors"))
|
133
|
+
BatchAddChannelRoleToAccessorsOutput.struct_class = Types::BatchAddChannelRoleToAccessorsOutput
|
134
|
+
|
135
|
+
BatchAddRoleInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
93
136
|
BatchAddRoleInput.add_member(:accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "accessorIds"))
|
94
137
|
BatchAddRoleInput.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "role"))
|
95
|
-
BatchAddRoleInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
96
138
|
BatchAddRoleInput.struct_class = Types::BatchAddRoleInput
|
97
139
|
|
98
140
|
BatchAddRoleOutput.add_member(:added_accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "addedAccessorIds"))
|
@@ -106,27 +148,64 @@ module Aws::Repostspace
|
|
106
148
|
|
107
149
|
BatchErrorList.member = Shapes::ShapeRef.new(shape: BatchError)
|
108
150
|
|
151
|
+
BatchRemoveChannelRoleFromAccessorsInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
152
|
+
BatchRemoveChannelRoleFromAccessorsInput.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, required: true, location: "uri", location_name: "channelId"))
|
153
|
+
BatchRemoveChannelRoleFromAccessorsInput.add_member(:accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "accessorIds"))
|
154
|
+
BatchRemoveChannelRoleFromAccessorsInput.add_member(:channel_role, Shapes::ShapeRef.new(shape: ChannelRole, required: true, location_name: "channelRole"))
|
155
|
+
BatchRemoveChannelRoleFromAccessorsInput.struct_class = Types::BatchRemoveChannelRoleFromAccessorsInput
|
156
|
+
|
157
|
+
BatchRemoveChannelRoleFromAccessorsOutput.add_member(:removed_accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "removedAccessorIds"))
|
158
|
+
BatchRemoveChannelRoleFromAccessorsOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchErrorList, required: true, location_name: "errors"))
|
159
|
+
BatchRemoveChannelRoleFromAccessorsOutput.struct_class = Types::BatchRemoveChannelRoleFromAccessorsOutput
|
160
|
+
|
161
|
+
BatchRemoveRoleInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
109
162
|
BatchRemoveRoleInput.add_member(:accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "accessorIds"))
|
110
163
|
BatchRemoveRoleInput.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "role"))
|
111
|
-
BatchRemoveRoleInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
112
164
|
BatchRemoveRoleInput.struct_class = Types::BatchRemoveRoleInput
|
113
165
|
|
114
|
-
BatchRemoveRoleOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchErrorList, required: true, location_name: "errors"))
|
115
166
|
BatchRemoveRoleOutput.add_member(:removed_accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "removedAccessorIds"))
|
167
|
+
BatchRemoveRoleOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchErrorList, required: true, location_name: "errors"))
|
116
168
|
BatchRemoveRoleOutput.struct_class = Types::BatchRemoveRoleOutput
|
117
169
|
|
170
|
+
ChannelData.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
|
171
|
+
ChannelData.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, required: true, location_name: "channelId"))
|
172
|
+
ChannelData.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "channelName"))
|
173
|
+
ChannelData.add_member(:channel_description, Shapes::ShapeRef.new(shape: ChannelDescription, location_name: "channelDescription"))
|
174
|
+
ChannelData.add_member(:create_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createDateTime"))
|
175
|
+
ChannelData.add_member(:delete_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "deleteDateTime"))
|
176
|
+
ChannelData.add_member(:channel_status, Shapes::ShapeRef.new(shape: ChannelStatus, required: true, location_name: "channelStatus"))
|
177
|
+
ChannelData.add_member(:user_count, Shapes::ShapeRef.new(shape: UserCount, required: true, location_name: "userCount"))
|
178
|
+
ChannelData.add_member(:group_count, Shapes::ShapeRef.new(shape: GroupCount, required: true, location_name: "groupCount"))
|
179
|
+
ChannelData.struct_class = Types::ChannelData
|
180
|
+
|
181
|
+
ChannelRoleList.member = Shapes::ShapeRef.new(shape: ChannelRole)
|
182
|
+
|
183
|
+
ChannelRoles.key = Shapes::ShapeRef.new(shape: AccessorId)
|
184
|
+
ChannelRoles.value = Shapes::ShapeRef.new(shape: ChannelRoleList)
|
185
|
+
|
186
|
+
ChannelsList.member = Shapes::ShapeRef.new(shape: ChannelData)
|
187
|
+
|
118
188
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
119
189
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
120
190
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
121
191
|
ConflictException.struct_class = Types::ConflictException
|
122
192
|
|
123
|
-
|
193
|
+
CreateChannelInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
194
|
+
CreateChannelInput.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "channelName"))
|
195
|
+
CreateChannelInput.add_member(:channel_description, Shapes::ShapeRef.new(shape: ChannelDescription, location_name: "channelDescription"))
|
196
|
+
CreateChannelInput.struct_class = Types::CreateChannelInput
|
197
|
+
|
198
|
+
CreateChannelOutput.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, required: true, location_name: "channelId"))
|
199
|
+
CreateChannelOutput.struct_class = Types::CreateChannelOutput
|
200
|
+
|
124
201
|
CreateSpaceInput.add_member(:name, Shapes::ShapeRef.new(shape: SpaceName, required: true, location_name: "name"))
|
125
|
-
CreateSpaceInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
126
202
|
CreateSpaceInput.add_member(:subdomain, Shapes::ShapeRef.new(shape: SpaceSubdomain, required: true, location_name: "subdomain"))
|
127
|
-
CreateSpaceInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
128
203
|
CreateSpaceInput.add_member(:tier, Shapes::ShapeRef.new(shape: TierLevel, required: true, location_name: "tier"))
|
204
|
+
CreateSpaceInput.add_member(:description, Shapes::ShapeRef.new(shape: SpaceDescription, location_name: "description"))
|
129
205
|
CreateSpaceInput.add_member(:user_kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "userKMSKey"))
|
206
|
+
CreateSpaceInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
207
|
+
CreateSpaceInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
208
|
+
CreateSpaceInput.add_member(:supported_email_domains, Shapes::ShapeRef.new(shape: SupportedEmailDomainsParameters, location_name: "supportedEmailDomains"))
|
130
209
|
CreateSpaceInput.struct_class = Types::CreateSpaceInput
|
131
210
|
|
132
211
|
CreateSpaceOutput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
|
@@ -135,34 +214,51 @@ module Aws::Repostspace
|
|
135
214
|
DeleteSpaceInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
136
215
|
DeleteSpaceInput.struct_class = Types::DeleteSpaceInput
|
137
216
|
|
138
|
-
DeregisterAdminInput.add_member(:admin_id, Shapes::ShapeRef.new(shape: AdminId, required: true, location: "uri", location_name: "adminId"))
|
139
217
|
DeregisterAdminInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
218
|
+
DeregisterAdminInput.add_member(:admin_id, Shapes::ShapeRef.new(shape: AdminId, required: true, location: "uri", location_name: "adminId"))
|
140
219
|
DeregisterAdminInput.struct_class = Types::DeregisterAdminInput
|
141
220
|
|
221
|
+
GetChannelInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
222
|
+
GetChannelInput.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, required: true, location: "uri", location_name: "channelId"))
|
223
|
+
GetChannelInput.struct_class = Types::GetChannelInput
|
224
|
+
|
225
|
+
GetChannelOutput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
|
226
|
+
GetChannelOutput.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, required: true, location_name: "channelId"))
|
227
|
+
GetChannelOutput.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "channelName"))
|
228
|
+
GetChannelOutput.add_member(:channel_description, Shapes::ShapeRef.new(shape: ChannelDescription, location_name: "channelDescription"))
|
229
|
+
GetChannelOutput.add_member(:create_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createDateTime"))
|
230
|
+
GetChannelOutput.add_member(:delete_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "deleteDateTime"))
|
231
|
+
GetChannelOutput.add_member(:channel_roles, Shapes::ShapeRef.new(shape: ChannelRoles, location_name: "channelRoles"))
|
232
|
+
GetChannelOutput.add_member(:channel_status, Shapes::ShapeRef.new(shape: ChannelStatus, required: true, location_name: "channelStatus"))
|
233
|
+
GetChannelOutput.struct_class = Types::GetChannelOutput
|
234
|
+
|
142
235
|
GetSpaceInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
143
236
|
GetSpaceInput.struct_class = Types::GetSpaceInput
|
144
237
|
|
238
|
+
GetSpaceOutput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
|
145
239
|
GetSpaceOutput.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
|
146
|
-
GetSpaceOutput.add_member(:
|
240
|
+
GetSpaceOutput.add_member(:name, Shapes::ShapeRef.new(shape: SpaceName, required: true, location_name: "name"))
|
241
|
+
GetSpaceOutput.add_member(:status, Shapes::ShapeRef.new(shape: ProvisioningStatus, required: true, location_name: "status"))
|
147
242
|
GetSpaceOutput.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
|
148
|
-
GetSpaceOutput.add_member(:
|
149
|
-
GetSpaceOutput.add_member(:
|
150
|
-
GetSpaceOutput.add_member(:
|
151
|
-
GetSpaceOutput.add_member(:delete_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "deleteDateTime"))
|
243
|
+
GetSpaceOutput.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, required: true, location_name: "clientId"))
|
244
|
+
GetSpaceOutput.add_member(:identity_store_id, Shapes::ShapeRef.new(shape: IdentityStoreId, location_name: "identityStoreId"))
|
245
|
+
GetSpaceOutput.add_member(:application_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "applicationArn"))
|
152
246
|
GetSpaceOutput.add_member(:description, Shapes::ShapeRef.new(shape: SpaceDescription, location_name: "description"))
|
153
|
-
GetSpaceOutput.add_member(:
|
154
|
-
GetSpaceOutput.add_member(:
|
247
|
+
GetSpaceOutput.add_member(:vanity_domain_status, Shapes::ShapeRef.new(shape: VanityDomainStatus, required: true, location_name: "vanityDomainStatus"))
|
248
|
+
GetSpaceOutput.add_member(:vanity_domain, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "vanityDomain"))
|
155
249
|
GetSpaceOutput.add_member(:random_domain, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "randomDomain"))
|
156
|
-
GetSpaceOutput.add_member(:
|
157
|
-
GetSpaceOutput.add_member(:
|
158
|
-
GetSpaceOutput.add_member(:
|
159
|
-
GetSpaceOutput.add_member(:storage_limit, Shapes::ShapeRef.new(shape: StorageLimit, required: true, location_name: "storageLimit"))
|
250
|
+
GetSpaceOutput.add_member(:customer_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "customerRoleArn"))
|
251
|
+
GetSpaceOutput.add_member(:create_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createDateTime"))
|
252
|
+
GetSpaceOutput.add_member(:delete_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "deleteDateTime"))
|
160
253
|
GetSpaceOutput.add_member(:tier, Shapes::ShapeRef.new(shape: TierLevel, required: true, location_name: "tier"))
|
254
|
+
GetSpaceOutput.add_member(:storage_limit, Shapes::ShapeRef.new(shape: StorageLimit, required: true, location_name: "storageLimit"))
|
161
255
|
GetSpaceOutput.add_member(:user_admins, Shapes::ShapeRef.new(shape: UserAdmins, deprecated: true, location_name: "userAdmins", metadata: {"deprecatedMessage" => "This property has been depracted and will be replaced by the roles property."}))
|
162
|
-
GetSpaceOutput.add_member(:
|
256
|
+
GetSpaceOutput.add_member(:group_admins, Shapes::ShapeRef.new(shape: GroupAdmins, deprecated: true, location_name: "groupAdmins", metadata: {"deprecatedMessage" => "This property has been depracted and will be replaced by the roles property."}))
|
257
|
+
GetSpaceOutput.add_member(:roles, Shapes::ShapeRef.new(shape: Roles, location_name: "roles"))
|
163
258
|
GetSpaceOutput.add_member(:user_kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "userKMSKey"))
|
164
|
-
GetSpaceOutput.add_member(:
|
165
|
-
GetSpaceOutput.add_member(:
|
259
|
+
GetSpaceOutput.add_member(:user_count, Shapes::ShapeRef.new(shape: UserCount, location_name: "userCount"))
|
260
|
+
GetSpaceOutput.add_member(:content_size, Shapes::ShapeRef.new(shape: ContentSize, location_name: "contentSize"))
|
261
|
+
GetSpaceOutput.add_member(:supported_email_domains, Shapes::ShapeRef.new(shape: SupportedEmailDomainsStatus, location_name: "supportedEmailDomains"))
|
166
262
|
GetSpaceOutput.struct_class = Types::GetSpaceOutput
|
167
263
|
|
168
264
|
GroupAdmins.member = Shapes::ShapeRef.new(shape: AdminId)
|
@@ -171,12 +267,21 @@ module Aws::Repostspace
|
|
171
267
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
172
268
|
InternalServerException.struct_class = Types::InternalServerException
|
173
269
|
|
174
|
-
|
270
|
+
ListChannelsInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
271
|
+
ListChannelsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
272
|
+
ListChannelsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListChannelsLimit, location: "querystring", location_name: "maxResults"))
|
273
|
+
ListChannelsInput.struct_class = Types::ListChannelsInput
|
274
|
+
|
275
|
+
ListChannelsOutput.add_member(:channels, Shapes::ShapeRef.new(shape: ChannelsList, required: true, location_name: "channels"))
|
276
|
+
ListChannelsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
277
|
+
ListChannelsOutput.struct_class = Types::ListChannelsOutput
|
278
|
+
|
175
279
|
ListSpacesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
280
|
+
ListSpacesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSpacesLimit, location: "querystring", location_name: "maxResults"))
|
176
281
|
ListSpacesInput.struct_class = Types::ListSpacesInput
|
177
282
|
|
178
|
-
ListSpacesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
179
283
|
ListSpacesOutput.add_member(:spaces, Shapes::ShapeRef.new(shape: SpacesList, required: true, location_name: "spaces"))
|
284
|
+
ListSpacesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
180
285
|
ListSpacesOutput.struct_class = Types::ListSpacesOutput
|
181
286
|
|
182
287
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
@@ -185,8 +290,8 @@ module Aws::Repostspace
|
|
185
290
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
186
291
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
187
292
|
|
188
|
-
RegisterAdminInput.add_member(:admin_id, Shapes::ShapeRef.new(shape: AdminId, required: true, location: "uri", location_name: "adminId"))
|
189
293
|
RegisterAdminInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
294
|
+
RegisterAdminInput.add_member(:admin_id, Shapes::ShapeRef.new(shape: AdminId, required: true, location: "uri", location_name: "adminId"))
|
190
295
|
RegisterAdminInput.struct_class = Types::RegisterAdminInput
|
191
296
|
|
192
297
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -199,39 +304,48 @@ module Aws::Repostspace
|
|
199
304
|
Roles.key = Shapes::ShapeRef.new(shape: AccessorId)
|
200
305
|
Roles.value = Shapes::ShapeRef.new(shape: RoleList)
|
201
306
|
|
202
|
-
SendInvitesInput.add_member(:accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "accessorIds"))
|
203
|
-
SendInvitesInput.add_member(:body, Shapes::ShapeRef.new(shape: InviteBody, required: true, location_name: "body"))
|
204
307
|
SendInvitesInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
308
|
+
SendInvitesInput.add_member(:accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "accessorIds"))
|
205
309
|
SendInvitesInput.add_member(:title, Shapes::ShapeRef.new(shape: InviteTitle, required: true, location_name: "title"))
|
310
|
+
SendInvitesInput.add_member(:body, Shapes::ShapeRef.new(shape: InviteBody, required: true, location_name: "body"))
|
206
311
|
SendInvitesInput.struct_class = Types::SendInvitesInput
|
207
312
|
|
208
313
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
209
|
-
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
|
210
314
|
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
211
315
|
ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
212
316
|
ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode"))
|
317
|
+
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
|
213
318
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
214
319
|
|
320
|
+
SpaceData.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
|
215
321
|
SpaceData.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
|
216
|
-
SpaceData.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
|
217
|
-
SpaceData.add_member(:content_size, Shapes::ShapeRef.new(shape: ContentSize, location_name: "contentSize"))
|
218
|
-
SpaceData.add_member(:create_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createDateTime"))
|
219
|
-
SpaceData.add_member(:delete_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "deleteDateTime"))
|
220
|
-
SpaceData.add_member(:description, Shapes::ShapeRef.new(shape: SpaceDescription, location_name: "description"))
|
221
322
|
SpaceData.add_member(:name, Shapes::ShapeRef.new(shape: SpaceName, required: true, location_name: "name"))
|
222
|
-
SpaceData.add_member(:
|
223
|
-
SpaceData.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
|
323
|
+
SpaceData.add_member(:description, Shapes::ShapeRef.new(shape: SpaceDescription, location_name: "description"))
|
224
324
|
SpaceData.add_member(:status, Shapes::ShapeRef.new(shape: ProvisioningStatus, required: true, location_name: "status"))
|
225
|
-
SpaceData.add_member(:
|
325
|
+
SpaceData.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
|
326
|
+
SpaceData.add_member(:vanity_domain_status, Shapes::ShapeRef.new(shape: VanityDomainStatus, required: true, location_name: "vanityDomainStatus"))
|
327
|
+
SpaceData.add_member(:vanity_domain, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "vanityDomain"))
|
328
|
+
SpaceData.add_member(:random_domain, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "randomDomain"))
|
226
329
|
SpaceData.add_member(:tier, Shapes::ShapeRef.new(shape: TierLevel, required: true, location_name: "tier"))
|
227
|
-
SpaceData.add_member(:
|
330
|
+
SpaceData.add_member(:storage_limit, Shapes::ShapeRef.new(shape: StorageLimit, required: true, location_name: "storageLimit"))
|
331
|
+
SpaceData.add_member(:create_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createDateTime"))
|
332
|
+
SpaceData.add_member(:delete_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "deleteDateTime"))
|
228
333
|
SpaceData.add_member(:user_kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "userKMSKey"))
|
229
|
-
SpaceData.add_member(:
|
230
|
-
SpaceData.add_member(:
|
334
|
+
SpaceData.add_member(:user_count, Shapes::ShapeRef.new(shape: UserCount, location_name: "userCount"))
|
335
|
+
SpaceData.add_member(:content_size, Shapes::ShapeRef.new(shape: ContentSize, location_name: "contentSize"))
|
336
|
+
SpaceData.add_member(:supported_email_domains, Shapes::ShapeRef.new(shape: SupportedEmailDomainsStatus, location_name: "supportedEmailDomains"))
|
231
337
|
SpaceData.struct_class = Types::SpaceData
|
232
338
|
|
233
339
|
SpacesList.member = Shapes::ShapeRef.new(shape: SpaceData)
|
234
340
|
|
341
|
+
SupportedEmailDomainsParameters.add_member(:enabled, Shapes::ShapeRef.new(shape: FeatureEnableParameter, location_name: "enabled"))
|
342
|
+
SupportedEmailDomainsParameters.add_member(:allowed_domains, Shapes::ShapeRef.new(shape: AllowedDomainsList, location_name: "allowedDomains"))
|
343
|
+
SupportedEmailDomainsParameters.struct_class = Types::SupportedEmailDomainsParameters
|
344
|
+
|
345
|
+
SupportedEmailDomainsStatus.add_member(:enabled, Shapes::ShapeRef.new(shape: FeatureEnableStatus, location_name: "enabled"))
|
346
|
+
SupportedEmailDomainsStatus.add_member(:allowed_domains, Shapes::ShapeRef.new(shape: AllowedDomainsList, location_name: "allowedDomains"))
|
347
|
+
SupportedEmailDomainsStatus.struct_class = Types::SupportedEmailDomainsStatus
|
348
|
+
|
235
349
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
236
350
|
|
237
351
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
@@ -244,9 +358,9 @@ module Aws::Repostspace
|
|
244
358
|
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
245
359
|
|
246
360
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
361
|
+
ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
|
247
362
|
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
248
363
|
ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
249
|
-
ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
|
250
364
|
ThrottlingException.struct_class = Types::ThrottlingException
|
251
365
|
|
252
366
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
@@ -255,21 +369,30 @@ module Aws::Repostspace
|
|
255
369
|
|
256
370
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
257
371
|
|
258
|
-
|
259
|
-
|
372
|
+
UpdateChannelInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
373
|
+
UpdateChannelInput.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, required: true, location: "uri", location_name: "channelId"))
|
374
|
+
UpdateChannelInput.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "channelName"))
|
375
|
+
UpdateChannelInput.add_member(:channel_description, Shapes::ShapeRef.new(shape: ChannelDescription, location_name: "channelDescription"))
|
376
|
+
UpdateChannelInput.struct_class = Types::UpdateChannelInput
|
377
|
+
|
378
|
+
UpdateChannelOutput.struct_class = Types::UpdateChannelOutput
|
379
|
+
|
260
380
|
UpdateSpaceInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
|
381
|
+
UpdateSpaceInput.add_member(:description, Shapes::ShapeRef.new(shape: SpaceDescription, location_name: "description"))
|
261
382
|
UpdateSpaceInput.add_member(:tier, Shapes::ShapeRef.new(shape: TierLevel, location_name: "tier"))
|
383
|
+
UpdateSpaceInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
384
|
+
UpdateSpaceInput.add_member(:supported_email_domains, Shapes::ShapeRef.new(shape: SupportedEmailDomainsParameters, location_name: "supportedEmailDomains"))
|
262
385
|
UpdateSpaceInput.struct_class = Types::UpdateSpaceInput
|
263
386
|
|
264
387
|
UserAdmins.member = Shapes::ShapeRef.new(shape: AdminId)
|
265
388
|
|
266
|
-
ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
|
267
389
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
268
390
|
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
|
391
|
+
ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
|
269
392
|
ValidationException.struct_class = Types::ValidationException
|
270
393
|
|
271
|
-
ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
272
394
|
ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
395
|
+
ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
273
396
|
ValidationExceptionField.struct_class = Types::ValidationExceptionField
|
274
397
|
|
275
398
|
ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
|
@@ -284,7 +407,6 @@ module Aws::Repostspace
|
|
284
407
|
"apiVersion" => "2022-05-13",
|
285
408
|
"auth" => ["aws.auth#sigv4"],
|
286
409
|
"endpointPrefix" => "repostspace",
|
287
|
-
"jsonVersion" => "1.1",
|
288
410
|
"protocol" => "rest-json",
|
289
411
|
"protocols" => ["rest-json"],
|
290
412
|
"serviceFullName" => "AWS re:Post Private",
|
@@ -294,14 +416,40 @@ module Aws::Repostspace
|
|
294
416
|
"uid" => "repostspace-2022-05-13",
|
295
417
|
}
|
296
418
|
|
419
|
+
api.add_operation(:batch_add_channel_role_to_accessors, Seahorse::Model::Operation.new.tap do |o|
|
420
|
+
o.name = "BatchAddChannelRoleToAccessors"
|
421
|
+
o.http_method = "POST"
|
422
|
+
o.http_request_uri = "/spaces/{spaceId}/channels/{channelId}/roles"
|
423
|
+
o.input = Shapes::ShapeRef.new(shape: BatchAddChannelRoleToAccessorsInput)
|
424
|
+
o.output = Shapes::ShapeRef.new(shape: BatchAddChannelRoleToAccessorsOutput)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
430
|
+
end)
|
431
|
+
|
297
432
|
api.add_operation(:batch_add_role, Seahorse::Model::Operation.new.tap do |o|
|
298
433
|
o.name = "BatchAddRole"
|
299
434
|
o.http_method = "POST"
|
300
435
|
o.http_request_uri = "/spaces/{spaceId}/roles"
|
301
436
|
o.input = Shapes::ShapeRef.new(shape: BatchAddRoleInput)
|
302
437
|
o.output = Shapes::ShapeRef.new(shape: BatchAddRoleOutput)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
303
439
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
443
|
+
end)
|
444
|
+
|
445
|
+
api.add_operation(:batch_remove_channel_role_from_accessors, Seahorse::Model::Operation.new.tap do |o|
|
446
|
+
o.name = "BatchRemoveChannelRoleFromAccessors"
|
447
|
+
o.http_method = "PATCH"
|
448
|
+
o.http_request_uri = "/spaces/{spaceId}/channels/{channelId}/roles"
|
449
|
+
o.input = Shapes::ShapeRef.new(shape: BatchRemoveChannelRoleFromAccessorsInput)
|
450
|
+
o.output = Shapes::ShapeRef.new(shape: BatchRemoveChannelRoleFromAccessorsOutput)
|
304
451
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
305
453
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
306
454
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
307
455
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -313,8 +461,23 @@ module Aws::Repostspace
|
|
313
461
|
o.http_request_uri = "/spaces/{spaceId}/roles"
|
314
462
|
o.input = Shapes::ShapeRef.new(shape: BatchRemoveRoleInput)
|
315
463
|
o.output = Shapes::ShapeRef.new(shape: BatchRemoveRoleOutput)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
316
465
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
469
|
+
end)
|
470
|
+
|
471
|
+
api.add_operation(:create_channel, Seahorse::Model::Operation.new.tap do |o|
|
472
|
+
o.name = "CreateChannel"
|
473
|
+
o.http_method = "POST"
|
474
|
+
o.http_request_uri = "/spaces/{spaceId}/channels"
|
475
|
+
o.input = Shapes::ShapeRef.new(shape: CreateChannelInput)
|
476
|
+
o.output = Shapes::ShapeRef.new(shape: CreateChannelOutput)
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
317
478
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
318
481
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
319
482
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
320
483
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -327,9 +490,9 @@ module Aws::Repostspace
|
|
327
490
|
o.input = Shapes::ShapeRef.new(shape: CreateSpaceInput)
|
328
491
|
o.output = Shapes::ShapeRef.new(shape: CreateSpaceOutput)
|
329
492
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
330
494
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
331
495
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
332
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
333
496
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
334
497
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
335
498
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -341,8 +504,8 @@ module Aws::Repostspace
|
|
341
504
|
o.http_request_uri = "/spaces/{spaceId}"
|
342
505
|
o.input = Shapes::ShapeRef.new(shape: DeleteSpaceInput)
|
343
506
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
344
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
345
507
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
346
509
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
347
510
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
348
511
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -354,8 +517,21 @@ module Aws::Repostspace
|
|
354
517
|
o.http_request_uri = "/spaces/{spaceId}/admins/{adminId}"
|
355
518
|
o.input = Shapes::ShapeRef.new(shape: DeregisterAdminInput)
|
356
519
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
357
521
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
525
|
+
end)
|
526
|
+
|
527
|
+
api.add_operation(:get_channel, Seahorse::Model::Operation.new.tap do |o|
|
528
|
+
o.name = "GetChannel"
|
529
|
+
o.http_method = "GET"
|
530
|
+
o.http_request_uri = "/spaces/{spaceId}/channels/{channelId}"
|
531
|
+
o.input = Shapes::ShapeRef.new(shape: GetChannelInput)
|
532
|
+
o.output = Shapes::ShapeRef.new(shape: GetChannelOutput)
|
358
533
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
359
535
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
360
536
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
361
537
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -367,21 +543,39 @@ module Aws::Repostspace
|
|
367
543
|
o.http_request_uri = "/spaces/{spaceId}"
|
368
544
|
o.input = Shapes::ShapeRef.new(shape: GetSpaceInput)
|
369
545
|
o.output = Shapes::ShapeRef.new(shape: GetSpaceOutput)
|
370
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
371
546
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
372
548
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
373
549
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
374
550
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
375
551
|
end)
|
376
552
|
|
553
|
+
api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
|
554
|
+
o.name = "ListChannels"
|
555
|
+
o.http_method = "GET"
|
556
|
+
o.http_request_uri = "/spaces/{spaceId}/channels"
|
557
|
+
o.input = Shapes::ShapeRef.new(shape: ListChannelsInput)
|
558
|
+
o.output = Shapes::ShapeRef.new(shape: ListChannelsOutput)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
563
|
+
o[:pager] = Aws::Pager.new(
|
564
|
+
limit_key: "max_results",
|
565
|
+
tokens: {
|
566
|
+
"next_token" => "next_token"
|
567
|
+
}
|
568
|
+
)
|
569
|
+
end)
|
570
|
+
|
377
571
|
api.add_operation(:list_spaces, Seahorse::Model::Operation.new.tap do |o|
|
378
572
|
o.name = "ListSpaces"
|
379
573
|
o.http_method = "GET"
|
380
574
|
o.http_request_uri = "/spaces"
|
381
575
|
o.input = Shapes::ShapeRef.new(shape: ListSpacesInput)
|
382
576
|
o.output = Shapes::ShapeRef.new(shape: ListSpacesOutput)
|
383
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
384
577
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
385
579
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
386
580
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
387
581
|
o[:pager] = Aws::Pager.new(
|
@@ -398,8 +592,8 @@ module Aws::Repostspace
|
|
398
592
|
o.http_request_uri = "/tags/{resourceArn}"
|
399
593
|
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
400
594
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
401
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
402
595
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
596
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
403
597
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
404
598
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
405
599
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -411,8 +605,8 @@ module Aws::Repostspace
|
|
411
605
|
o.http_request_uri = "/spaces/{spaceId}/admins/{adminId}"
|
412
606
|
o.input = Shapes::ShapeRef.new(shape: RegisterAdminInput)
|
413
607
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
414
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
415
608
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
609
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
416
610
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
417
611
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
418
612
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -424,10 +618,10 @@ module Aws::Repostspace
|
|
424
618
|
o.http_request_uri = "/spaces/{spaceId}/invite"
|
425
619
|
o.input = Shapes::ShapeRef.new(shape: SendInvitesInput)
|
426
620
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
427
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
428
621
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
429
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
622
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
430
623
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
431
625
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
432
626
|
end)
|
433
627
|
|
@@ -437,8 +631,8 @@ module Aws::Repostspace
|
|
437
631
|
o.http_request_uri = "/tags/{resourceArn}"
|
438
632
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
439
633
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
440
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
441
634
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
635
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
442
636
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
443
637
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
444
638
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -450,8 +644,22 @@ module Aws::Repostspace
|
|
450
644
|
o.http_request_uri = "/tags/{resourceArn}"
|
451
645
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
452
646
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
453
648
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
649
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
650
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
651
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
652
|
+
end)
|
653
|
+
|
654
|
+
api.add_operation(:update_channel, Seahorse::Model::Operation.new.tap do |o|
|
655
|
+
o.name = "UpdateChannel"
|
656
|
+
o.http_method = "PUT"
|
657
|
+
o.http_request_uri = "/spaces/{spaceId}/channels/{channelId}"
|
658
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateChannelInput)
|
659
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateChannelOutput)
|
454
660
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
662
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
455
663
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
456
664
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
457
665
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -463,9 +671,9 @@ module Aws::Repostspace
|
|
463
671
|
o.http_request_uri = "/spaces/{spaceId}"
|
464
672
|
o.input = Shapes::ShapeRef.new(shape: UpdateSpaceInput)
|
465
673
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
674
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
466
675
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
467
676
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
468
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
469
677
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
470
678
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
471
679
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|