aws-sdk-prometheusservice 1.7.0 → 1.11.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 +521 -3
- data/lib/aws-sdk-prometheusservice/client_api.rb +269 -0
- data/lib/aws-sdk-prometheusservice/types.rb +613 -0
- data/lib/aws-sdk-prometheusservice/waiters.rb +172 -0
- data/lib/aws-sdk-prometheusservice.rb +3 -2
- metadata +5 -4
@@ -14,22 +14,51 @@ 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')
|
26
43
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
27
44
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
28
45
|
ListWorkspacesRequest = Shapes::StructureShape.new(name: 'ListWorkspacesRequest')
|
29
46
|
ListWorkspacesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListWorkspacesRequestMaxResultsInteger')
|
30
47
|
ListWorkspacesResponse = Shapes::StructureShape.new(name: 'ListWorkspacesResponse')
|
31
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')
|
32
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')
|
33
62
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
34
63
|
String = Shapes::StringShape.new(name: 'String')
|
35
64
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -60,11 +89,42 @@ module Aws::PrometheusService
|
|
60
89
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
61
90
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
62
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
|
+
|
63
102
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
64
103
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
65
104
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
66
105
|
ConflictException.struct_class = Types::ConflictException
|
67
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
|
+
|
68
128
|
CreateWorkspaceRequest.add_member(:alias, Shapes::ShapeRef.new(shape: WorkspaceAlias, location_name: "alias"))
|
69
129
|
CreateWorkspaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
70
130
|
CreateWorkspaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
@@ -76,10 +136,32 @@ module Aws::PrometheusService
|
|
76
136
|
CreateWorkspaceResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
|
77
137
|
CreateWorkspaceResponse.struct_class = Types::CreateWorkspaceResponse
|
78
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
|
+
|
79
148
|
DeleteWorkspaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
80
149
|
DeleteWorkspaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
81
150
|
DeleteWorkspaceRequest.struct_class = Types::DeleteWorkspaceRequest
|
82
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
|
+
|
83
165
|
DescribeWorkspaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
84
166
|
DescribeWorkspaceRequest.struct_class = Types::DescribeWorkspaceRequest
|
85
167
|
|
@@ -90,6 +172,16 @@ module Aws::PrometheusService
|
|
90
172
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
91
173
|
InternalServerException.struct_class = Types::InternalServerException
|
92
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
|
+
|
93
185
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
94
186
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
95
187
|
|
@@ -105,11 +197,54 @@ module Aws::PrometheusService
|
|
105
197
|
ListWorkspacesResponse.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceSummaryList, required: true, location_name: "workspaces"))
|
106
198
|
ListWorkspacesResponse.struct_class = Types::ListWorkspacesResponse
|
107
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
|
+
|
108
220
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
109
221
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
110
222
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
111
223
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
112
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
|
+
|
113
248
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
114
249
|
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
|
115
250
|
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
@@ -196,6 +331,36 @@ module Aws::PrometheusService
|
|
196
331
|
"uid" => "amp-2020-08-01",
|
197
332
|
}
|
198
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
|
+
|
199
364
|
api.add_operation(:create_workspace, Seahorse::Model::Operation.new.tap do |o|
|
200
365
|
o.name = "CreateWorkspace"
|
201
366
|
o.http_method = "POST"
|
@@ -210,6 +375,34 @@ module Aws::PrometheusService
|
|
210
375
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
211
376
|
end)
|
212
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
|
+
|
213
406
|
api.add_operation(:delete_workspace, Seahorse::Model::Operation.new.tap do |o|
|
214
407
|
o.name = "DeleteWorkspace"
|
215
408
|
o.http_method = "DELETE"
|
@@ -217,6 +410,33 @@ module Aws::PrometheusService
|
|
217
410
|
o.input = Shapes::ShapeRef.new(shape: DeleteWorkspaceRequest)
|
218
411
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
219
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)
|
220
440
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
221
441
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
222
442
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
@@ -236,6 +456,25 @@ module Aws::PrometheusService
|
|
236
456
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
237
457
|
end)
|
238
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
|
+
|
239
478
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
240
479
|
o.name = "ListTagsForResource"
|
241
480
|
o.http_method = "GET"
|
@@ -267,6 +506,36 @@ module Aws::PrometheusService
|
|
267
506
|
)
|
268
507
|
end)
|
269
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
|
+
|
270
539
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
271
540
|
o.name = "TagResource"
|
272
541
|
o.http_method = "POST"
|