aws-sdk-prometheusservice 1.6.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-prometheusservice/client.rb +614 -2
- data/lib/aws-sdk-prometheusservice/client_api.rb +345 -0
- data/lib/aws-sdk-prometheusservice/types.rb +728 -1
- data/lib/aws-sdk-prometheusservice/waiters.rb +172 -0
- data/lib/aws-sdk-prometheusservice.rb +3 -2
- metadata +5 -4
@@ -14,24 +14,63 @@ module Aws::PrometheusService
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AlertManagerDefinitionData = Shapes::BlobShape.new(name: 'AlertManagerDefinitionData')
|
18
|
+
AlertManagerDefinitionDescription = Shapes::StructureShape.new(name: 'AlertManagerDefinitionDescription')
|
19
|
+
AlertManagerDefinitionStatus = Shapes::StructureShape.new(name: 'AlertManagerDefinitionStatus')
|
20
|
+
AlertManagerDefinitionStatusCode = Shapes::StringShape.new(name: 'AlertManagerDefinitionStatusCode')
|
17
21
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
22
|
+
CreateAlertManagerDefinitionRequest = Shapes::StructureShape.new(name: 'CreateAlertManagerDefinitionRequest')
|
23
|
+
CreateAlertManagerDefinitionResponse = Shapes::StructureShape.new(name: 'CreateAlertManagerDefinitionResponse')
|
24
|
+
CreateRuleGroupsNamespaceRequest = Shapes::StructureShape.new(name: 'CreateRuleGroupsNamespaceRequest')
|
25
|
+
CreateRuleGroupsNamespaceResponse = Shapes::StructureShape.new(name: 'CreateRuleGroupsNamespaceResponse')
|
18
26
|
CreateWorkspaceRequest = Shapes::StructureShape.new(name: 'CreateWorkspaceRequest')
|
19
27
|
CreateWorkspaceResponse = Shapes::StructureShape.new(name: 'CreateWorkspaceResponse')
|
28
|
+
DeleteAlertManagerDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteAlertManagerDefinitionRequest')
|
29
|
+
DeleteRuleGroupsNamespaceRequest = Shapes::StructureShape.new(name: 'DeleteRuleGroupsNamespaceRequest')
|
20
30
|
DeleteWorkspaceRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceRequest')
|
31
|
+
DescribeAlertManagerDefinitionRequest = Shapes::StructureShape.new(name: 'DescribeAlertManagerDefinitionRequest')
|
32
|
+
DescribeAlertManagerDefinitionResponse = Shapes::StructureShape.new(name: 'DescribeAlertManagerDefinitionResponse')
|
33
|
+
DescribeRuleGroupsNamespaceRequest = Shapes::StructureShape.new(name: 'DescribeRuleGroupsNamespaceRequest')
|
34
|
+
DescribeRuleGroupsNamespaceResponse = Shapes::StructureShape.new(name: 'DescribeRuleGroupsNamespaceResponse')
|
21
35
|
DescribeWorkspaceRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceRequest')
|
22
36
|
DescribeWorkspaceResponse = Shapes::StructureShape.new(name: 'DescribeWorkspaceResponse')
|
23
37
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
24
38
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
25
39
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
40
|
+
ListRuleGroupsNamespacesRequest = Shapes::StructureShape.new(name: 'ListRuleGroupsNamespacesRequest')
|
41
|
+
ListRuleGroupsNamespacesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRuleGroupsNamespacesRequestMaxResultsInteger')
|
42
|
+
ListRuleGroupsNamespacesResponse = Shapes::StructureShape.new(name: 'ListRuleGroupsNamespacesResponse')
|
43
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
44
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
26
45
|
ListWorkspacesRequest = Shapes::StructureShape.new(name: 'ListWorkspacesRequest')
|
27
46
|
ListWorkspacesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListWorkspacesRequestMaxResultsInteger')
|
28
47
|
ListWorkspacesResponse = Shapes::StructureShape.new(name: 'ListWorkspacesResponse')
|
29
48
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
49
|
+
PutAlertManagerDefinitionRequest = Shapes::StructureShape.new(name: 'PutAlertManagerDefinitionRequest')
|
50
|
+
PutAlertManagerDefinitionResponse = Shapes::StructureShape.new(name: 'PutAlertManagerDefinitionResponse')
|
51
|
+
PutRuleGroupsNamespaceRequest = Shapes::StructureShape.new(name: 'PutRuleGroupsNamespaceRequest')
|
52
|
+
PutRuleGroupsNamespaceResponse = Shapes::StructureShape.new(name: 'PutRuleGroupsNamespaceResponse')
|
30
53
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
54
|
+
RuleGroupsNamespaceArn = Shapes::StringShape.new(name: 'RuleGroupsNamespaceArn')
|
55
|
+
RuleGroupsNamespaceData = Shapes::BlobShape.new(name: 'RuleGroupsNamespaceData')
|
56
|
+
RuleGroupsNamespaceDescription = Shapes::StructureShape.new(name: 'RuleGroupsNamespaceDescription')
|
57
|
+
RuleGroupsNamespaceName = Shapes::StringShape.new(name: 'RuleGroupsNamespaceName')
|
58
|
+
RuleGroupsNamespaceStatus = Shapes::StructureShape.new(name: 'RuleGroupsNamespaceStatus')
|
59
|
+
RuleGroupsNamespaceStatusCode = Shapes::StringShape.new(name: 'RuleGroupsNamespaceStatusCode')
|
60
|
+
RuleGroupsNamespaceSummary = Shapes::StructureShape.new(name: 'RuleGroupsNamespaceSummary')
|
61
|
+
RuleGroupsNamespaceSummaryList = Shapes::ListShape.new(name: 'RuleGroupsNamespaceSummaryList')
|
31
62
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
32
63
|
String = Shapes::StringShape.new(name: 'String')
|
64
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
65
|
+
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
66
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
67
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
68
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
69
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
33
70
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
34
71
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
72
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
73
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
35
74
|
UpdateWorkspaceAliasRequest = Shapes::StructureShape.new(name: 'UpdateWorkspaceAliasRequest')
|
36
75
|
Uri = Shapes::StringShape.new(name: 'Uri')
|
37
76
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
@@ -50,24 +89,79 @@ module Aws::PrometheusService
|
|
50
89
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
51
90
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
52
91
|
|
92
|
+
AlertManagerDefinitionDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
93
|
+
AlertManagerDefinitionDescription.add_member(:data, Shapes::ShapeRef.new(shape: AlertManagerDefinitionData, required: true, location_name: "data"))
|
94
|
+
AlertManagerDefinitionDescription.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
95
|
+
AlertManagerDefinitionDescription.add_member(:status, Shapes::ShapeRef.new(shape: AlertManagerDefinitionStatus, required: true, location_name: "status"))
|
96
|
+
AlertManagerDefinitionDescription.struct_class = Types::AlertManagerDefinitionDescription
|
97
|
+
|
98
|
+
AlertManagerDefinitionStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: AlertManagerDefinitionStatusCode, required: true, location_name: "statusCode"))
|
99
|
+
AlertManagerDefinitionStatus.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
100
|
+
AlertManagerDefinitionStatus.struct_class = Types::AlertManagerDefinitionStatus
|
101
|
+
|
53
102
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
54
103
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
55
104
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
56
105
|
ConflictException.struct_class = Types::ConflictException
|
57
106
|
|
107
|
+
CreateAlertManagerDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
108
|
+
CreateAlertManagerDefinitionRequest.add_member(:data, Shapes::ShapeRef.new(shape: AlertManagerDefinitionData, required: true, location_name: "data"))
|
109
|
+
CreateAlertManagerDefinitionRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
110
|
+
CreateAlertManagerDefinitionRequest.struct_class = Types::CreateAlertManagerDefinitionRequest
|
111
|
+
|
112
|
+
CreateAlertManagerDefinitionResponse.add_member(:status, Shapes::ShapeRef.new(shape: AlertManagerDefinitionStatus, required: true, location_name: "status"))
|
113
|
+
CreateAlertManagerDefinitionResponse.struct_class = Types::CreateAlertManagerDefinitionResponse
|
114
|
+
|
115
|
+
CreateRuleGroupsNamespaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
116
|
+
CreateRuleGroupsNamespaceRequest.add_member(:data, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceData, required: true, location_name: "data"))
|
117
|
+
CreateRuleGroupsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location_name: "name"))
|
118
|
+
CreateRuleGroupsNamespaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
119
|
+
CreateRuleGroupsNamespaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
120
|
+
CreateRuleGroupsNamespaceRequest.struct_class = Types::CreateRuleGroupsNamespaceRequest
|
121
|
+
|
122
|
+
CreateRuleGroupsNamespaceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceArn, required: true, location_name: "arn"))
|
123
|
+
CreateRuleGroupsNamespaceResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location_name: "name"))
|
124
|
+
CreateRuleGroupsNamespaceResponse.add_member(:status, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceStatus, required: true, location_name: "status"))
|
125
|
+
CreateRuleGroupsNamespaceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
126
|
+
CreateRuleGroupsNamespaceResponse.struct_class = Types::CreateRuleGroupsNamespaceResponse
|
127
|
+
|
58
128
|
CreateWorkspaceRequest.add_member(:alias, Shapes::ShapeRef.new(shape: WorkspaceAlias, location_name: "alias"))
|
59
129
|
CreateWorkspaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
130
|
+
CreateWorkspaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
60
131
|
CreateWorkspaceRequest.struct_class = Types::CreateWorkspaceRequest
|
61
132
|
|
62
133
|
CreateWorkspaceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: WorkspaceArn, required: true, location_name: "arn"))
|
63
134
|
CreateWorkspaceResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceStatus, required: true, location_name: "status"))
|
135
|
+
CreateWorkspaceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
64
136
|
CreateWorkspaceResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
|
65
137
|
CreateWorkspaceResponse.struct_class = Types::CreateWorkspaceResponse
|
66
138
|
|
139
|
+
DeleteAlertManagerDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
140
|
+
DeleteAlertManagerDefinitionRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
141
|
+
DeleteAlertManagerDefinitionRequest.struct_class = Types::DeleteAlertManagerDefinitionRequest
|
142
|
+
|
143
|
+
DeleteRuleGroupsNamespaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
144
|
+
DeleteRuleGroupsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location: "uri", location_name: "name"))
|
145
|
+
DeleteRuleGroupsNamespaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
146
|
+
DeleteRuleGroupsNamespaceRequest.struct_class = Types::DeleteRuleGroupsNamespaceRequest
|
147
|
+
|
67
148
|
DeleteWorkspaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
68
149
|
DeleteWorkspaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
69
150
|
DeleteWorkspaceRequest.struct_class = Types::DeleteWorkspaceRequest
|
70
151
|
|
152
|
+
DescribeAlertManagerDefinitionRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
153
|
+
DescribeAlertManagerDefinitionRequest.struct_class = Types::DescribeAlertManagerDefinitionRequest
|
154
|
+
|
155
|
+
DescribeAlertManagerDefinitionResponse.add_member(:alert_manager_definition, Shapes::ShapeRef.new(shape: AlertManagerDefinitionDescription, required: true, location_name: "alertManagerDefinition"))
|
156
|
+
DescribeAlertManagerDefinitionResponse.struct_class = Types::DescribeAlertManagerDefinitionResponse
|
157
|
+
|
158
|
+
DescribeRuleGroupsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location: "uri", location_name: "name"))
|
159
|
+
DescribeRuleGroupsNamespaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
160
|
+
DescribeRuleGroupsNamespaceRequest.struct_class = Types::DescribeRuleGroupsNamespaceRequest
|
161
|
+
|
162
|
+
DescribeRuleGroupsNamespaceResponse.add_member(:rule_groups_namespace, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceDescription, required: true, location_name: "ruleGroupsNamespace"))
|
163
|
+
DescribeRuleGroupsNamespaceResponse.struct_class = Types::DescribeRuleGroupsNamespaceResponse
|
164
|
+
|
71
165
|
DescribeWorkspaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
72
166
|
DescribeWorkspaceRequest.struct_class = Types::DescribeWorkspaceRequest
|
73
167
|
|
@@ -78,6 +172,22 @@ module Aws::PrometheusService
|
|
78
172
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
79
173
|
InternalServerException.struct_class = Types::InternalServerException
|
80
174
|
|
175
|
+
ListRuleGroupsNamespacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRuleGroupsNamespacesRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
176
|
+
ListRuleGroupsNamespacesRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, location: "querystring", location_name: "name"))
|
177
|
+
ListRuleGroupsNamespacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
178
|
+
ListRuleGroupsNamespacesRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
179
|
+
ListRuleGroupsNamespacesRequest.struct_class = Types::ListRuleGroupsNamespacesRequest
|
180
|
+
|
181
|
+
ListRuleGroupsNamespacesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
182
|
+
ListRuleGroupsNamespacesResponse.add_member(:rule_groups_namespaces, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceSummaryList, required: true, location_name: "ruleGroupsNamespaces"))
|
183
|
+
ListRuleGroupsNamespacesResponse.struct_class = Types::ListRuleGroupsNamespacesResponse
|
184
|
+
|
185
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
186
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
187
|
+
|
188
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
189
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
190
|
+
|
81
191
|
ListWorkspacesRequest.add_member(:alias, Shapes::ShapeRef.new(shape: WorkspaceAlias, location: "querystring", location_name: "alias"))
|
82
192
|
ListWorkspacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkspacesRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
83
193
|
ListWorkspacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
@@ -87,11 +197,54 @@ module Aws::PrometheusService
|
|
87
197
|
ListWorkspacesResponse.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceSummaryList, required: true, location_name: "workspaces"))
|
88
198
|
ListWorkspacesResponse.struct_class = Types::ListWorkspacesResponse
|
89
199
|
|
200
|
+
PutAlertManagerDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
201
|
+
PutAlertManagerDefinitionRequest.add_member(:data, Shapes::ShapeRef.new(shape: AlertManagerDefinitionData, required: true, location_name: "data"))
|
202
|
+
PutAlertManagerDefinitionRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
203
|
+
PutAlertManagerDefinitionRequest.struct_class = Types::PutAlertManagerDefinitionRequest
|
204
|
+
|
205
|
+
PutAlertManagerDefinitionResponse.add_member(:status, Shapes::ShapeRef.new(shape: AlertManagerDefinitionStatus, required: true, location_name: "status"))
|
206
|
+
PutAlertManagerDefinitionResponse.struct_class = Types::PutAlertManagerDefinitionResponse
|
207
|
+
|
208
|
+
PutRuleGroupsNamespaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
209
|
+
PutRuleGroupsNamespaceRequest.add_member(:data, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceData, required: true, location_name: "data"))
|
210
|
+
PutRuleGroupsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location: "uri", location_name: "name"))
|
211
|
+
PutRuleGroupsNamespaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
212
|
+
PutRuleGroupsNamespaceRequest.struct_class = Types::PutRuleGroupsNamespaceRequest
|
213
|
+
|
214
|
+
PutRuleGroupsNamespaceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceArn, required: true, location_name: "arn"))
|
215
|
+
PutRuleGroupsNamespaceResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location_name: "name"))
|
216
|
+
PutRuleGroupsNamespaceResponse.add_member(:status, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceStatus, required: true, location_name: "status"))
|
217
|
+
PutRuleGroupsNamespaceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
218
|
+
PutRuleGroupsNamespaceResponse.struct_class = Types::PutRuleGroupsNamespaceResponse
|
219
|
+
|
90
220
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
91
221
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
92
222
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
93
223
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
94
224
|
|
225
|
+
RuleGroupsNamespaceDescription.add_member(:arn, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceArn, required: true, location_name: "arn"))
|
226
|
+
RuleGroupsNamespaceDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
227
|
+
RuleGroupsNamespaceDescription.add_member(:data, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceData, required: true, location_name: "data"))
|
228
|
+
RuleGroupsNamespaceDescription.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
229
|
+
RuleGroupsNamespaceDescription.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location_name: "name"))
|
230
|
+
RuleGroupsNamespaceDescription.add_member(:status, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceStatus, required: true, location_name: "status"))
|
231
|
+
RuleGroupsNamespaceDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
232
|
+
RuleGroupsNamespaceDescription.struct_class = Types::RuleGroupsNamespaceDescription
|
233
|
+
|
234
|
+
RuleGroupsNamespaceStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceStatusCode, required: true, location_name: "statusCode"))
|
235
|
+
RuleGroupsNamespaceStatus.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
236
|
+
RuleGroupsNamespaceStatus.struct_class = Types::RuleGroupsNamespaceStatus
|
237
|
+
|
238
|
+
RuleGroupsNamespaceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceArn, required: true, location_name: "arn"))
|
239
|
+
RuleGroupsNamespaceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
240
|
+
RuleGroupsNamespaceSummary.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
241
|
+
RuleGroupsNamespaceSummary.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location_name: "name"))
|
242
|
+
RuleGroupsNamespaceSummary.add_member(:status, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceStatus, required: true, location_name: "status"))
|
243
|
+
RuleGroupsNamespaceSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
244
|
+
RuleGroupsNamespaceSummary.struct_class = Types::RuleGroupsNamespaceSummary
|
245
|
+
|
246
|
+
RuleGroupsNamespaceSummaryList.member = Shapes::ShapeRef.new(shape: RuleGroupsNamespaceSummary)
|
247
|
+
|
95
248
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
96
249
|
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
|
97
250
|
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
@@ -99,12 +252,29 @@ module Aws::PrometheusService
|
|
99
252
|
ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode"))
|
100
253
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
101
254
|
|
255
|
+
TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
|
256
|
+
|
257
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
258
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
259
|
+
|
260
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
261
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
262
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
263
|
+
|
264
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
265
|
+
|
102
266
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
103
267
|
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
104
268
|
ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
105
269
|
ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
|
106
270
|
ThrottlingException.struct_class = Types::ThrottlingException
|
107
271
|
|
272
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
273
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
|
274
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
275
|
+
|
276
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
277
|
+
|
108
278
|
UpdateWorkspaceAliasRequest.add_member(:alias, Shapes::ShapeRef.new(shape: WorkspaceAlias, location_name: "alias"))
|
109
279
|
UpdateWorkspaceAliasRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
110
280
|
UpdateWorkspaceAliasRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
@@ -126,6 +296,7 @@ module Aws::PrometheusService
|
|
126
296
|
WorkspaceDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
127
297
|
WorkspaceDescription.add_member(:prometheus_endpoint, Shapes::ShapeRef.new(shape: Uri, location_name: "prometheusEndpoint"))
|
128
298
|
WorkspaceDescription.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceStatus, required: true, location_name: "status"))
|
299
|
+
WorkspaceDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
129
300
|
WorkspaceDescription.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
|
130
301
|
WorkspaceDescription.struct_class = Types::WorkspaceDescription
|
131
302
|
|
@@ -136,6 +307,7 @@ module Aws::PrometheusService
|
|
136
307
|
WorkspaceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: WorkspaceArn, required: true, location_name: "arn"))
|
137
308
|
WorkspaceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
138
309
|
WorkspaceSummary.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceStatus, required: true, location_name: "status"))
|
310
|
+
WorkspaceSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
139
311
|
WorkspaceSummary.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
|
140
312
|
WorkspaceSummary.struct_class = Types::WorkspaceSummary
|
141
313
|
|
@@ -159,6 +331,36 @@ module Aws::PrometheusService
|
|
159
331
|
"uid" => "amp-2020-08-01",
|
160
332
|
}
|
161
333
|
|
334
|
+
api.add_operation(:create_alert_manager_definition, Seahorse::Model::Operation.new.tap do |o|
|
335
|
+
o.name = "CreateAlertManagerDefinition"
|
336
|
+
o.http_method = "POST"
|
337
|
+
o.http_request_uri = "/workspaces/{workspaceId}/alertmanager/definition"
|
338
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAlertManagerDefinitionRequest)
|
339
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAlertManagerDefinitionResponse)
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
341
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
342
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
343
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
344
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
345
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
346
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
347
|
+
end)
|
348
|
+
|
349
|
+
api.add_operation(:create_rule_groups_namespace, Seahorse::Model::Operation.new.tap do |o|
|
350
|
+
o.name = "CreateRuleGroupsNamespace"
|
351
|
+
o.http_method = "POST"
|
352
|
+
o.http_request_uri = "/workspaces/{workspaceId}/rulegroupsnamespaces"
|
353
|
+
o.input = Shapes::ShapeRef.new(shape: CreateRuleGroupsNamespaceRequest)
|
354
|
+
o.output = Shapes::ShapeRef.new(shape: CreateRuleGroupsNamespaceResponse)
|
355
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
356
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
357
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
358
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
362
|
+
end)
|
363
|
+
|
162
364
|
api.add_operation(:create_workspace, Seahorse::Model::Operation.new.tap do |o|
|
163
365
|
o.name = "CreateWorkspace"
|
164
366
|
o.http_method = "POST"
|
@@ -173,6 +375,34 @@ module Aws::PrometheusService
|
|
173
375
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
174
376
|
end)
|
175
377
|
|
378
|
+
api.add_operation(:delete_alert_manager_definition, Seahorse::Model::Operation.new.tap do |o|
|
379
|
+
o.name = "DeleteAlertManagerDefinition"
|
380
|
+
o.http_method = "DELETE"
|
381
|
+
o.http_request_uri = "/workspaces/{workspaceId}/alertmanager/definition"
|
382
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAlertManagerDefinitionRequest)
|
383
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
386
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
387
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
388
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
390
|
+
end)
|
391
|
+
|
392
|
+
api.add_operation(:delete_rule_groups_namespace, Seahorse::Model::Operation.new.tap do |o|
|
393
|
+
o.name = "DeleteRuleGroupsNamespace"
|
394
|
+
o.http_method = "DELETE"
|
395
|
+
o.http_request_uri = "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}"
|
396
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRuleGroupsNamespaceRequest)
|
397
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
398
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
399
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
400
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
401
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
404
|
+
end)
|
405
|
+
|
176
406
|
api.add_operation(:delete_workspace, Seahorse::Model::Operation.new.tap do |o|
|
177
407
|
o.name = "DeleteWorkspace"
|
178
408
|
o.http_method = "DELETE"
|
@@ -180,6 +410,33 @@ module Aws::PrometheusService
|
|
180
410
|
o.input = Shapes::ShapeRef.new(shape: DeleteWorkspaceRequest)
|
181
411
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
182
412
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
418
|
+
end)
|
419
|
+
|
420
|
+
api.add_operation(:describe_alert_manager_definition, Seahorse::Model::Operation.new.tap do |o|
|
421
|
+
o.name = "DescribeAlertManagerDefinition"
|
422
|
+
o.http_method = "GET"
|
423
|
+
o.http_request_uri = "/workspaces/{workspaceId}/alertmanager/definition"
|
424
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAlertManagerDefinitionRequest)
|
425
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAlertManagerDefinitionResponse)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
431
|
+
end)
|
432
|
+
|
433
|
+
api.add_operation(:describe_rule_groups_namespace, Seahorse::Model::Operation.new.tap do |o|
|
434
|
+
o.name = "DescribeRuleGroupsNamespace"
|
435
|
+
o.http_method = "GET"
|
436
|
+
o.http_request_uri = "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}"
|
437
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeRuleGroupsNamespaceRequest)
|
438
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeRuleGroupsNamespaceResponse)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
183
440
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
184
441
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
185
442
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
@@ -199,6 +456,38 @@ module Aws::PrometheusService
|
|
199
456
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
200
457
|
end)
|
201
458
|
|
459
|
+
api.add_operation(:list_rule_groups_namespaces, Seahorse::Model::Operation.new.tap do |o|
|
460
|
+
o.name = "ListRuleGroupsNamespaces"
|
461
|
+
o.http_method = "GET"
|
462
|
+
o.http_request_uri = "/workspaces/{workspaceId}/rulegroupsnamespaces"
|
463
|
+
o.input = Shapes::ShapeRef.new(shape: ListRuleGroupsNamespacesRequest)
|
464
|
+
o.output = Shapes::ShapeRef.new(shape: ListRuleGroupsNamespacesResponse)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
470
|
+
o[:pager] = Aws::Pager.new(
|
471
|
+
limit_key: "max_results",
|
472
|
+
tokens: {
|
473
|
+
"next_token" => "next_token"
|
474
|
+
}
|
475
|
+
)
|
476
|
+
end)
|
477
|
+
|
478
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
479
|
+
o.name = "ListTagsForResource"
|
480
|
+
o.http_method = "GET"
|
481
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
482
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
483
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
489
|
+
end)
|
490
|
+
|
202
491
|
api.add_operation(:list_workspaces, Seahorse::Model::Operation.new.tap do |o|
|
203
492
|
o.name = "ListWorkspaces"
|
204
493
|
o.http_method = "GET"
|
@@ -217,6 +506,62 @@ module Aws::PrometheusService
|
|
217
506
|
)
|
218
507
|
end)
|
219
508
|
|
509
|
+
api.add_operation(:put_alert_manager_definition, Seahorse::Model::Operation.new.tap do |o|
|
510
|
+
o.name = "PutAlertManagerDefinition"
|
511
|
+
o.http_method = "PUT"
|
512
|
+
o.http_request_uri = "/workspaces/{workspaceId}/alertmanager/definition"
|
513
|
+
o.input = Shapes::ShapeRef.new(shape: PutAlertManagerDefinitionRequest)
|
514
|
+
o.output = Shapes::ShapeRef.new(shape: PutAlertManagerDefinitionResponse)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
518
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
522
|
+
end)
|
523
|
+
|
524
|
+
api.add_operation(:put_rule_groups_namespace, Seahorse::Model::Operation.new.tap do |o|
|
525
|
+
o.name = "PutRuleGroupsNamespace"
|
526
|
+
o.http_method = "PUT"
|
527
|
+
o.http_request_uri = "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}"
|
528
|
+
o.input = Shapes::ShapeRef.new(shape: PutRuleGroupsNamespaceRequest)
|
529
|
+
o.output = Shapes::ShapeRef.new(shape: PutRuleGroupsNamespaceResponse)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
537
|
+
end)
|
538
|
+
|
539
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
540
|
+
o.name = "TagResource"
|
541
|
+
o.http_method = "POST"
|
542
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
543
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
544
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
545
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
550
|
+
end)
|
551
|
+
|
552
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
553
|
+
o.name = "UntagResource"
|
554
|
+
o.http_method = "DELETE"
|
555
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
556
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
557
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
563
|
+
end)
|
564
|
+
|
220
565
|
api.add_operation(:update_workspace_alias, Seahorse::Model::Operation.new.tap do |o|
|
221
566
|
o.name = "UpdateWorkspaceAlias"
|
222
567
|
o.http_method = "POST"
|