aws-sdk-observabilityadmin 1.8.0 → 1.9.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.
@@ -17,9 +17,22 @@ module Aws::ObservabilityAdmin
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
18
  AccountIdentifier = Shapes::StringShape.new(name: 'AccountIdentifier')
19
19
  AccountIdentifiers = Shapes::ListShape.new(name: 'AccountIdentifiers')
20
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
21
+ CreateTelemetryRuleForOrganizationInput = Shapes::StructureShape.new(name: 'CreateTelemetryRuleForOrganizationInput')
22
+ CreateTelemetryRuleForOrganizationOutput = Shapes::StructureShape.new(name: 'CreateTelemetryRuleForOrganizationOutput')
23
+ CreateTelemetryRuleInput = Shapes::StructureShape.new(name: 'CreateTelemetryRuleInput')
24
+ CreateTelemetryRuleOutput = Shapes::StructureShape.new(name: 'CreateTelemetryRuleOutput')
25
+ DeleteTelemetryRuleForOrganizationInput = Shapes::StructureShape.new(name: 'DeleteTelemetryRuleForOrganizationInput')
26
+ DeleteTelemetryRuleInput = Shapes::StructureShape.new(name: 'DeleteTelemetryRuleInput')
27
+ DestinationType = Shapes::StringShape.new(name: 'DestinationType')
20
28
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
21
29
  GetTelemetryEvaluationStatusForOrganizationOutput = Shapes::StructureShape.new(name: 'GetTelemetryEvaluationStatusForOrganizationOutput')
22
30
  GetTelemetryEvaluationStatusOutput = Shapes::StructureShape.new(name: 'GetTelemetryEvaluationStatusOutput')
31
+ GetTelemetryRuleForOrganizationInput = Shapes::StructureShape.new(name: 'GetTelemetryRuleForOrganizationInput')
32
+ GetTelemetryRuleForOrganizationOutput = Shapes::StructureShape.new(name: 'GetTelemetryRuleForOrganizationOutput')
33
+ GetTelemetryRuleInput = Shapes::StructureShape.new(name: 'GetTelemetryRuleInput')
34
+ GetTelemetryRuleOutput = Shapes::StructureShape.new(name: 'GetTelemetryRuleOutput')
35
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
23
36
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
24
37
  ListResourceTelemetryForOrganizationInput = Shapes::StructureShape.new(name: 'ListResourceTelemetryForOrganizationInput')
25
38
  ListResourceTelemetryForOrganizationMaxResults = Shapes::IntegerShape.new(name: 'ListResourceTelemetryForOrganizationMaxResults')
@@ -27,23 +40,52 @@ module Aws::ObservabilityAdmin
27
40
  ListResourceTelemetryInput = Shapes::StructureShape.new(name: 'ListResourceTelemetryInput')
28
41
  ListResourceTelemetryMaxResults = Shapes::IntegerShape.new(name: 'ListResourceTelemetryMaxResults')
29
42
  ListResourceTelemetryOutput = Shapes::StructureShape.new(name: 'ListResourceTelemetryOutput')
43
+ ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
44
+ ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
45
+ ListTelemetryRulesForOrganizationInput = Shapes::StructureShape.new(name: 'ListTelemetryRulesForOrganizationInput')
46
+ ListTelemetryRulesForOrganizationMaxResults = Shapes::IntegerShape.new(name: 'ListTelemetryRulesForOrganizationMaxResults')
47
+ ListTelemetryRulesForOrganizationOutput = Shapes::StructureShape.new(name: 'ListTelemetryRulesForOrganizationOutput')
48
+ ListTelemetryRulesInput = Shapes::StructureShape.new(name: 'ListTelemetryRulesInput')
49
+ ListTelemetryRulesMaxResults = Shapes::IntegerShape.new(name: 'ListTelemetryRulesMaxResults')
50
+ ListTelemetryRulesOutput = Shapes::StructureShape.new(name: 'ListTelemetryRulesOutput')
30
51
  Long = Shapes::IntegerShape.new(name: 'Long')
31
52
  NextToken = Shapes::StringShape.new(name: 'NextToken')
53
+ OrganizationUnitIdentifier = Shapes::StringShape.new(name: 'OrganizationUnitIdentifier')
54
+ OrganizationUnitIdentifiers = Shapes::ListShape.new(name: 'OrganizationUnitIdentifiers')
55
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
32
56
  ResourceIdentifier = Shapes::StringShape.new(name: 'ResourceIdentifier')
33
57
  ResourceIdentifierPrefix = Shapes::StringShape.new(name: 'ResourceIdentifierPrefix')
58
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
34
59
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
35
60
  ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
61
+ RetentionPeriodInDays = Shapes::IntegerShape.new(name: 'RetentionPeriodInDays')
62
+ RuleIdentifier = Shapes::StringShape.new(name: 'RuleIdentifier')
63
+ RuleName = Shapes::StringShape.new(name: 'RuleName')
64
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
36
65
  Status = Shapes::StringShape.new(name: 'Status')
37
66
  String = Shapes::StringShape.new(name: 'String')
38
67
  TagKey = Shapes::StringShape.new(name: 'TagKey')
68
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
39
69
  TagMapInput = Shapes::MapShape.new(name: 'TagMapInput')
40
70
  TagMapOutput = Shapes::MapShape.new(name: 'TagMapOutput')
71
+ TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
41
72
  TagValue = Shapes::StringShape.new(name: 'TagValue')
42
73
  TelemetryConfiguration = Shapes::StructureShape.new(name: 'TelemetryConfiguration')
43
74
  TelemetryConfigurationState = Shapes::MapShape.new(name: 'TelemetryConfigurationState')
44
75
  TelemetryConfigurations = Shapes::ListShape.new(name: 'TelemetryConfigurations')
76
+ TelemetryDestinationConfiguration = Shapes::StructureShape.new(name: 'TelemetryDestinationConfiguration')
77
+ TelemetryRule = Shapes::StructureShape.new(name: 'TelemetryRule')
78
+ TelemetryRuleSummaries = Shapes::ListShape.new(name: 'TelemetryRuleSummaries')
79
+ TelemetryRuleSummary = Shapes::StructureShape.new(name: 'TelemetryRuleSummary')
45
80
  TelemetryState = Shapes::StringShape.new(name: 'TelemetryState')
46
81
  TelemetryType = Shapes::StringShape.new(name: 'TelemetryType')
82
+ TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
83
+ UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
84
+ UpdateTelemetryRuleForOrganizationInput = Shapes::StructureShape.new(name: 'UpdateTelemetryRuleForOrganizationInput')
85
+ UpdateTelemetryRuleForOrganizationOutput = Shapes::StructureShape.new(name: 'UpdateTelemetryRuleForOrganizationOutput')
86
+ UpdateTelemetryRuleInput = Shapes::StructureShape.new(name: 'UpdateTelemetryRuleInput')
87
+ UpdateTelemetryRuleOutput = Shapes::StructureShape.new(name: 'UpdateTelemetryRuleOutput')
88
+ VPCFlowLogParameters = Shapes::StructureShape.new(name: 'VPCFlowLogParameters')
47
89
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
48
90
 
49
91
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -52,6 +94,31 @@ module Aws::ObservabilityAdmin
52
94
 
53
95
  AccountIdentifiers.member = Shapes::ShapeRef.new(shape: AccountIdentifier)
54
96
 
97
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
98
+ ConflictException.struct_class = Types::ConflictException
99
+
100
+ CreateTelemetryRuleForOrganizationInput.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "RuleName"))
101
+ CreateTelemetryRuleForOrganizationInput.add_member(:rule, Shapes::ShapeRef.new(shape: TelemetryRule, required: true, location_name: "Rule"))
102
+ CreateTelemetryRuleForOrganizationInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMapInput, location_name: "Tags"))
103
+ CreateTelemetryRuleForOrganizationInput.struct_class = Types::CreateTelemetryRuleForOrganizationInput
104
+
105
+ CreateTelemetryRuleForOrganizationOutput.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "RuleArn"))
106
+ CreateTelemetryRuleForOrganizationOutput.struct_class = Types::CreateTelemetryRuleForOrganizationOutput
107
+
108
+ CreateTelemetryRuleInput.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "RuleName"))
109
+ CreateTelemetryRuleInput.add_member(:rule, Shapes::ShapeRef.new(shape: TelemetryRule, required: true, location_name: "Rule"))
110
+ CreateTelemetryRuleInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMapInput, location_name: "Tags"))
111
+ CreateTelemetryRuleInput.struct_class = Types::CreateTelemetryRuleInput
112
+
113
+ CreateTelemetryRuleOutput.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "RuleArn"))
114
+ CreateTelemetryRuleOutput.struct_class = Types::CreateTelemetryRuleOutput
115
+
116
+ DeleteTelemetryRuleForOrganizationInput.add_member(:rule_identifier, Shapes::ShapeRef.new(shape: RuleIdentifier, required: true, location_name: "RuleIdentifier"))
117
+ DeleteTelemetryRuleForOrganizationInput.struct_class = Types::DeleteTelemetryRuleForOrganizationInput
118
+
119
+ DeleteTelemetryRuleInput.add_member(:rule_identifier, Shapes::ShapeRef.new(shape: RuleIdentifier, required: true, location_name: "RuleIdentifier"))
120
+ DeleteTelemetryRuleInput.struct_class = Types::DeleteTelemetryRuleInput
121
+
55
122
  GetTelemetryEvaluationStatusForOrganizationOutput.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
56
123
  GetTelemetryEvaluationStatusForOrganizationOutput.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
57
124
  GetTelemetryEvaluationStatusForOrganizationOutput.struct_class = Types::GetTelemetryEvaluationStatusForOrganizationOutput
@@ -60,6 +127,26 @@ module Aws::ObservabilityAdmin
60
127
  GetTelemetryEvaluationStatusOutput.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
61
128
  GetTelemetryEvaluationStatusOutput.struct_class = Types::GetTelemetryEvaluationStatusOutput
62
129
 
130
+ GetTelemetryRuleForOrganizationInput.add_member(:rule_identifier, Shapes::ShapeRef.new(shape: RuleIdentifier, required: true, location_name: "RuleIdentifier"))
131
+ GetTelemetryRuleForOrganizationInput.struct_class = Types::GetTelemetryRuleForOrganizationInput
132
+
133
+ GetTelemetryRuleForOrganizationOutput.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "RuleName"))
134
+ GetTelemetryRuleForOrganizationOutput.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "RuleArn"))
135
+ GetTelemetryRuleForOrganizationOutput.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: Long, location_name: "CreatedTimeStamp"))
136
+ GetTelemetryRuleForOrganizationOutput.add_member(:last_update_time_stamp, Shapes::ShapeRef.new(shape: Long, location_name: "LastUpdateTimeStamp"))
137
+ GetTelemetryRuleForOrganizationOutput.add_member(:telemetry_rule, Shapes::ShapeRef.new(shape: TelemetryRule, location_name: "TelemetryRule"))
138
+ GetTelemetryRuleForOrganizationOutput.struct_class = Types::GetTelemetryRuleForOrganizationOutput
139
+
140
+ GetTelemetryRuleInput.add_member(:rule_identifier, Shapes::ShapeRef.new(shape: RuleIdentifier, required: true, location_name: "RuleIdentifier"))
141
+ GetTelemetryRuleInput.struct_class = Types::GetTelemetryRuleInput
142
+
143
+ GetTelemetryRuleOutput.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "RuleName"))
144
+ GetTelemetryRuleOutput.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "RuleArn"))
145
+ GetTelemetryRuleOutput.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: Long, location_name: "CreatedTimeStamp"))
146
+ GetTelemetryRuleOutput.add_member(:last_update_time_stamp, Shapes::ShapeRef.new(shape: Long, location_name: "LastUpdateTimeStamp"))
147
+ GetTelemetryRuleOutput.add_member(:telemetry_rule, Shapes::ShapeRef.new(shape: TelemetryRule, location_name: "TelemetryRule"))
148
+ GetTelemetryRuleOutput.struct_class = Types::GetTelemetryRuleOutput
149
+
63
150
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
64
151
  InternalServerException.add_member(:amzn_error_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "x-amzn-ErrorType"))
65
152
  InternalServerException.struct_class = Types::InternalServerException
@@ -89,14 +176,55 @@ module Aws::ObservabilityAdmin
89
176
  ListResourceTelemetryOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
90
177
  ListResourceTelemetryOutput.struct_class = Types::ListResourceTelemetryOutput
91
178
 
179
+ ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
180
+ ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
181
+
182
+ ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMapOutput, required: true, location_name: "Tags"))
183
+ ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
184
+
185
+ ListTelemetryRulesForOrganizationInput.add_member(:rule_name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "RuleNamePrefix"))
186
+ ListTelemetryRulesForOrganizationInput.add_member(:source_account_ids, Shapes::ShapeRef.new(shape: AccountIdentifiers, location_name: "SourceAccountIds"))
187
+ ListTelemetryRulesForOrganizationInput.add_member(:source_organization_unit_ids, Shapes::ShapeRef.new(shape: OrganizationUnitIdentifiers, location_name: "SourceOrganizationUnitIds"))
188
+ ListTelemetryRulesForOrganizationInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTelemetryRulesForOrganizationMaxResults, location_name: "MaxResults"))
189
+ ListTelemetryRulesForOrganizationInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
190
+ ListTelemetryRulesForOrganizationInput.struct_class = Types::ListTelemetryRulesForOrganizationInput
191
+
192
+ ListTelemetryRulesForOrganizationOutput.add_member(:telemetry_rule_summaries, Shapes::ShapeRef.new(shape: TelemetryRuleSummaries, location_name: "TelemetryRuleSummaries"))
193
+ ListTelemetryRulesForOrganizationOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
194
+ ListTelemetryRulesForOrganizationOutput.struct_class = Types::ListTelemetryRulesForOrganizationOutput
195
+
196
+ ListTelemetryRulesInput.add_member(:rule_name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "RuleNamePrefix"))
197
+ ListTelemetryRulesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTelemetryRulesMaxResults, location_name: "MaxResults"))
198
+ ListTelemetryRulesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
199
+ ListTelemetryRulesInput.struct_class = Types::ListTelemetryRulesInput
200
+
201
+ ListTelemetryRulesOutput.add_member(:telemetry_rule_summaries, Shapes::ShapeRef.new(shape: TelemetryRuleSummaries, location_name: "TelemetryRuleSummaries"))
202
+ ListTelemetryRulesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
203
+ ListTelemetryRulesOutput.struct_class = Types::ListTelemetryRulesOutput
204
+
205
+ OrganizationUnitIdentifiers.member = Shapes::ShapeRef.new(shape: OrganizationUnitIdentifier)
206
+
207
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
208
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
209
+
92
210
  ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
93
211
 
212
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
213
+ ServiceQuotaExceededException.add_member(:amzn_error_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "x-amzn-ErrorType"))
214
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
215
+
216
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
217
+
94
218
  TagMapInput.key = Shapes::ShapeRef.new(shape: TagKey)
95
219
  TagMapInput.value = Shapes::ShapeRef.new(shape: TagValue)
96
220
 
97
221
  TagMapOutput.key = Shapes::ShapeRef.new(shape: String)
98
222
  TagMapOutput.value = Shapes::ShapeRef.new(shape: String)
99
223
 
224
+ TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
225
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMapInput, required: true, location_name: "Tags"))
226
+ TagResourceInput.struct_class = Types::TagResourceInput
227
+
100
228
  TelemetryConfiguration.add_member(:account_identifier, Shapes::ShapeRef.new(shape: AccountIdentifier, location_name: "AccountIdentifier"))
101
229
  TelemetryConfiguration.add_member(:telemetry_configuration_state, Shapes::ShapeRef.new(shape: TelemetryConfigurationState, location_name: "TelemetryConfigurationState"))
102
230
  TelemetryConfiguration.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
@@ -110,6 +238,55 @@ module Aws::ObservabilityAdmin
110
238
 
111
239
  TelemetryConfigurations.member = Shapes::ShapeRef.new(shape: TelemetryConfiguration)
112
240
 
241
+ TelemetryDestinationConfiguration.add_member(:destination_type, Shapes::ShapeRef.new(shape: DestinationType, location_name: "DestinationType"))
242
+ TelemetryDestinationConfiguration.add_member(:destination_pattern, Shapes::ShapeRef.new(shape: String, location_name: "DestinationPattern"))
243
+ TelemetryDestinationConfiguration.add_member(:retention_in_days, Shapes::ShapeRef.new(shape: RetentionPeriodInDays, location_name: "RetentionInDays"))
244
+ TelemetryDestinationConfiguration.add_member(:vpc_flow_log_parameters, Shapes::ShapeRef.new(shape: VPCFlowLogParameters, location_name: "VPCFlowLogParameters"))
245
+ TelemetryDestinationConfiguration.struct_class = Types::TelemetryDestinationConfiguration
246
+
247
+ TelemetryRule.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
248
+ TelemetryRule.add_member(:telemetry_type, Shapes::ShapeRef.new(shape: TelemetryType, required: true, location_name: "TelemetryType"))
249
+ TelemetryRule.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: TelemetryDestinationConfiguration, location_name: "DestinationConfiguration"))
250
+ TelemetryRule.add_member(:scope, Shapes::ShapeRef.new(shape: String, location_name: "Scope"))
251
+ TelemetryRule.add_member(:selection_criteria, Shapes::ShapeRef.new(shape: String, location_name: "SelectionCriteria"))
252
+ TelemetryRule.struct_class = Types::TelemetryRule
253
+
254
+ TelemetryRuleSummaries.member = Shapes::ShapeRef.new(shape: TelemetryRuleSummary)
255
+
256
+ TelemetryRuleSummary.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "RuleName"))
257
+ TelemetryRuleSummary.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "RuleArn"))
258
+ TelemetryRuleSummary.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: Long, location_name: "CreatedTimeStamp"))
259
+ TelemetryRuleSummary.add_member(:last_update_time_stamp, Shapes::ShapeRef.new(shape: Long, location_name: "LastUpdateTimeStamp"))
260
+ TelemetryRuleSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
261
+ TelemetryRuleSummary.add_member(:telemetry_type, Shapes::ShapeRef.new(shape: TelemetryType, location_name: "TelemetryType"))
262
+ TelemetryRuleSummary.struct_class = Types::TelemetryRuleSummary
263
+
264
+ TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
265
+ TooManyRequestsException.struct_class = Types::TooManyRequestsException
266
+
267
+ UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
268
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
269
+ UntagResourceInput.struct_class = Types::UntagResourceInput
270
+
271
+ UpdateTelemetryRuleForOrganizationInput.add_member(:rule_identifier, Shapes::ShapeRef.new(shape: RuleIdentifier, required: true, location_name: "RuleIdentifier"))
272
+ UpdateTelemetryRuleForOrganizationInput.add_member(:rule, Shapes::ShapeRef.new(shape: TelemetryRule, required: true, location_name: "Rule"))
273
+ UpdateTelemetryRuleForOrganizationInput.struct_class = Types::UpdateTelemetryRuleForOrganizationInput
274
+
275
+ UpdateTelemetryRuleForOrganizationOutput.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "RuleArn"))
276
+ UpdateTelemetryRuleForOrganizationOutput.struct_class = Types::UpdateTelemetryRuleForOrganizationOutput
277
+
278
+ UpdateTelemetryRuleInput.add_member(:rule_identifier, Shapes::ShapeRef.new(shape: RuleIdentifier, required: true, location_name: "RuleIdentifier"))
279
+ UpdateTelemetryRuleInput.add_member(:rule, Shapes::ShapeRef.new(shape: TelemetryRule, required: true, location_name: "Rule"))
280
+ UpdateTelemetryRuleInput.struct_class = Types::UpdateTelemetryRuleInput
281
+
282
+ UpdateTelemetryRuleOutput.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "RuleArn"))
283
+ UpdateTelemetryRuleOutput.struct_class = Types::UpdateTelemetryRuleOutput
284
+
285
+ VPCFlowLogParameters.add_member(:log_format, Shapes::ShapeRef.new(shape: String, location_name: "LogFormat"))
286
+ VPCFlowLogParameters.add_member(:traffic_type, Shapes::ShapeRef.new(shape: String, location_name: "TrafficType"))
287
+ VPCFlowLogParameters.add_member(:max_aggregation_interval, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxAggregationInterval"))
288
+ VPCFlowLogParameters.struct_class = Types::VPCFlowLogParameters
289
+
113
290
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
114
291
  ValidationException.struct_class = Types::ValidationException
115
292
 
@@ -132,6 +309,60 @@ module Aws::ObservabilityAdmin
132
309
  "uid" => "observabilityadmin-2018-05-10",
133
310
  }
134
311
 
312
+ api.add_operation(:create_telemetry_rule, Seahorse::Model::Operation.new.tap do |o|
313
+ o.name = "CreateTelemetryRule"
314
+ o.http_method = "POST"
315
+ o.http_request_uri = "/CreateTelemetryRule"
316
+ o.input = Shapes::ShapeRef.new(shape: CreateTelemetryRuleInput)
317
+ o.output = Shapes::ShapeRef.new(shape: CreateTelemetryRuleOutput)
318
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
319
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
320
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
321
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
322
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
323
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
324
+ end)
325
+
326
+ api.add_operation(:create_telemetry_rule_for_organization, Seahorse::Model::Operation.new.tap do |o|
327
+ o.name = "CreateTelemetryRuleForOrganization"
328
+ o.http_method = "POST"
329
+ o.http_request_uri = "/CreateTelemetryRuleForOrganization"
330
+ o.input = Shapes::ShapeRef.new(shape: CreateTelemetryRuleForOrganizationInput)
331
+ o.output = Shapes::ShapeRef.new(shape: CreateTelemetryRuleForOrganizationOutput)
332
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
333
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
334
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
335
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
336
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
337
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
338
+ end)
339
+
340
+ api.add_operation(:delete_telemetry_rule, Seahorse::Model::Operation.new.tap do |o|
341
+ o.name = "DeleteTelemetryRule"
342
+ o.http_method = "POST"
343
+ o.http_request_uri = "/DeleteTelemetryRule"
344
+ o.input = Shapes::ShapeRef.new(shape: DeleteTelemetryRuleInput)
345
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
346
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
347
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
348
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
349
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
350
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
351
+ end)
352
+
353
+ api.add_operation(:delete_telemetry_rule_for_organization, Seahorse::Model::Operation.new.tap do |o|
354
+ o.name = "DeleteTelemetryRuleForOrganization"
355
+ o.http_method = "POST"
356
+ o.http_request_uri = "/DeleteTelemetryRuleForOrganization"
357
+ o.input = Shapes::ShapeRef.new(shape: DeleteTelemetryRuleForOrganizationInput)
358
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
359
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
360
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
361
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
362
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
363
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
364
+ end)
365
+
135
366
  api.add_operation(:get_telemetry_evaluation_status, Seahorse::Model::Operation.new.tap do |o|
136
367
  o.name = "GetTelemetryEvaluationStatus"
137
368
  o.http_method = "POST"
@@ -140,6 +371,7 @@ module Aws::ObservabilityAdmin
140
371
  o.output = Shapes::ShapeRef.new(shape: GetTelemetryEvaluationStatusOutput)
141
372
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
142
373
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
374
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
143
375
  end)
144
376
 
145
377
  api.add_operation(:get_telemetry_evaluation_status_for_organization, Seahorse::Model::Operation.new.tap do |o|
@@ -151,6 +383,33 @@ module Aws::ObservabilityAdmin
151
383
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
152
384
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
153
385
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
386
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
387
+ end)
388
+
389
+ api.add_operation(:get_telemetry_rule, Seahorse::Model::Operation.new.tap do |o|
390
+ o.name = "GetTelemetryRule"
391
+ o.http_method = "POST"
392
+ o.http_request_uri = "/GetTelemetryRule"
393
+ o.input = Shapes::ShapeRef.new(shape: GetTelemetryRuleInput)
394
+ o.output = Shapes::ShapeRef.new(shape: GetTelemetryRuleOutput)
395
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
396
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
397
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
398
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
399
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
400
+ end)
401
+
402
+ api.add_operation(:get_telemetry_rule_for_organization, Seahorse::Model::Operation.new.tap do |o|
403
+ o.name = "GetTelemetryRuleForOrganization"
404
+ o.http_method = "POST"
405
+ o.http_request_uri = "/GetTelemetryRuleForOrganization"
406
+ o.input = Shapes::ShapeRef.new(shape: GetTelemetryRuleForOrganizationInput)
407
+ o.output = Shapes::ShapeRef.new(shape: GetTelemetryRuleForOrganizationOutput)
408
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
409
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
410
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
411
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
412
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
154
413
  end)
155
414
 
156
415
  api.add_operation(:list_resource_telemetry, Seahorse::Model::Operation.new.tap do |o|
@@ -162,6 +421,7 @@ module Aws::ObservabilityAdmin
162
421
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
163
422
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
164
423
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
424
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
165
425
  o[:pager] = Aws::Pager.new(
166
426
  limit_key: "max_results",
167
427
  tokens: {
@@ -179,6 +439,56 @@ module Aws::ObservabilityAdmin
179
439
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
180
440
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
181
441
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
442
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
443
+ o[:pager] = Aws::Pager.new(
444
+ limit_key: "max_results",
445
+ tokens: {
446
+ "next_token" => "next_token"
447
+ }
448
+ )
449
+ end)
450
+
451
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
452
+ o.name = "ListTagsForResource"
453
+ o.http_method = "POST"
454
+ o.http_request_uri = "/ListTagsForResource"
455
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
456
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
457
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
458
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
459
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
460
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
461
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
462
+ end)
463
+
464
+ api.add_operation(:list_telemetry_rules, Seahorse::Model::Operation.new.tap do |o|
465
+ o.name = "ListTelemetryRules"
466
+ o.http_method = "POST"
467
+ o.http_request_uri = "/ListTelemetryRules"
468
+ o.input = Shapes::ShapeRef.new(shape: ListTelemetryRulesInput)
469
+ o.output = Shapes::ShapeRef.new(shape: ListTelemetryRulesOutput)
470
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
471
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
472
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
473
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
474
+ o[:pager] = Aws::Pager.new(
475
+ limit_key: "max_results",
476
+ tokens: {
477
+ "next_token" => "next_token"
478
+ }
479
+ )
480
+ end)
481
+
482
+ api.add_operation(:list_telemetry_rules_for_organization, Seahorse::Model::Operation.new.tap do |o|
483
+ o.name = "ListTelemetryRulesForOrganization"
484
+ o.http_method = "POST"
485
+ o.http_request_uri = "/ListTelemetryRulesForOrganization"
486
+ o.input = Shapes::ShapeRef.new(shape: ListTelemetryRulesForOrganizationInput)
487
+ o.output = Shapes::ShapeRef.new(shape: ListTelemetryRulesForOrganizationOutput)
488
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
489
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
490
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
491
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
182
492
  o[:pager] = Aws::Pager.new(
183
493
  limit_key: "max_results",
184
494
  tokens: {
@@ -196,6 +506,7 @@ module Aws::ObservabilityAdmin
196
506
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
197
507
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
198
508
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
509
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
199
510
  end)
200
511
 
201
512
  api.add_operation(:start_telemetry_evaluation_for_organization, Seahorse::Model::Operation.new.tap do |o|
@@ -207,6 +518,7 @@ module Aws::ObservabilityAdmin
207
518
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
208
519
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
209
520
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
521
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
210
522
  end)
211
523
 
212
524
  api.add_operation(:stop_telemetry_evaluation, Seahorse::Model::Operation.new.tap do |o|
@@ -218,6 +530,7 @@ module Aws::ObservabilityAdmin
218
530
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
219
531
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
220
532
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
533
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
221
534
  end)
222
535
 
223
536
  api.add_operation(:stop_telemetry_evaluation_for_organization, Seahorse::Model::Operation.new.tap do |o|
@@ -229,6 +542,62 @@ module Aws::ObservabilityAdmin
229
542
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
230
543
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
231
544
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
545
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
546
+ end)
547
+
548
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
549
+ o.name = "TagResource"
550
+ o.http_method = "POST"
551
+ o.http_request_uri = "/TagResource"
552
+ o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
553
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
554
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
555
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
556
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
557
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
558
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
559
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
560
+ end)
561
+
562
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
563
+ o.name = "UntagResource"
564
+ o.http_method = "POST"
565
+ o.http_request_uri = "/UntagResource"
566
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
567
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
568
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
569
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
570
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
571
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
572
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
573
+ end)
574
+
575
+ api.add_operation(:update_telemetry_rule, Seahorse::Model::Operation.new.tap do |o|
576
+ o.name = "UpdateTelemetryRule"
577
+ o.http_method = "POST"
578
+ o.http_request_uri = "/UpdateTelemetryRule"
579
+ o.input = Shapes::ShapeRef.new(shape: UpdateTelemetryRuleInput)
580
+ o.output = Shapes::ShapeRef.new(shape: UpdateTelemetryRuleOutput)
581
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
582
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
583
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
584
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
585
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
586
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
587
+ end)
588
+
589
+ api.add_operation(:update_telemetry_rule_for_organization, Seahorse::Model::Operation.new.tap do |o|
590
+ o.name = "UpdateTelemetryRuleForOrganization"
591
+ o.http_method = "POST"
592
+ o.http_request_uri = "/UpdateTelemetryRuleForOrganization"
593
+ o.input = Shapes::ShapeRef.new(shape: UpdateTelemetryRuleForOrganizationInput)
594
+ o.output = Shapes::ShapeRef.new(shape: UpdateTelemetryRuleForOrganizationOutput)
595
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
596
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
597
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
598
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
599
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
600
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
232
601
  end)
233
602
  end
234
603
 
@@ -28,7 +28,11 @@ module Aws::ObservabilityAdmin
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
+ # * {ConflictException}
31
32
  # * {InternalServerException}
33
+ # * {ResourceNotFoundException}
34
+ # * {ServiceQuotaExceededException}
35
+ # * {TooManyRequestsException}
32
36
  # * {ValidationException}
33
37
  #
34
38
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -57,6 +61,21 @@ module Aws::ObservabilityAdmin
57
61
  end
58
62
  end
59
63
 
64
+ class ConflictException < ServiceError
65
+
66
+ # @param [Seahorse::Client::RequestContext] context
67
+ # @param [String] message
68
+ # @param [Aws::ObservabilityAdmin::Types::ConflictException] data
69
+ def initialize(context, message, data = Aws::EmptyStructure.new)
70
+ super(context, message, data)
71
+ end
72
+
73
+ # @return [String]
74
+ def message
75
+ @message || @data[:message]
76
+ end
77
+ end
78
+
60
79
  class InternalServerException < ServiceError
61
80
 
62
81
  # @param [Seahorse::Client::RequestContext] context
@@ -77,6 +96,56 @@ module Aws::ObservabilityAdmin
77
96
  end
78
97
  end
79
98
 
99
+ class ResourceNotFoundException < ServiceError
100
+
101
+ # @param [Seahorse::Client::RequestContext] context
102
+ # @param [String] message
103
+ # @param [Aws::ObservabilityAdmin::Types::ResourceNotFoundException] data
104
+ def initialize(context, message, data = Aws::EmptyStructure.new)
105
+ super(context, message, data)
106
+ end
107
+
108
+ # @return [String]
109
+ def message
110
+ @message || @data[:message]
111
+ end
112
+ end
113
+
114
+ class ServiceQuotaExceededException < ServiceError
115
+
116
+ # @param [Seahorse::Client::RequestContext] context
117
+ # @param [String] message
118
+ # @param [Aws::ObservabilityAdmin::Types::ServiceQuotaExceededException] data
119
+ def initialize(context, message, data = Aws::EmptyStructure.new)
120
+ super(context, message, data)
121
+ end
122
+
123
+ # @return [String]
124
+ def message
125
+ @message || @data[:message]
126
+ end
127
+
128
+ # @return [String]
129
+ def amzn_error_type
130
+ @data[:amzn_error_type]
131
+ end
132
+ end
133
+
134
+ class TooManyRequestsException < ServiceError
135
+
136
+ # @param [Seahorse::Client::RequestContext] context
137
+ # @param [String] message
138
+ # @param [Aws::ObservabilityAdmin::Types::TooManyRequestsException] data
139
+ def initialize(context, message, data = Aws::EmptyStructure.new)
140
+ super(context, message, data)
141
+ end
142
+
143
+ # @return [String]
144
+ def message
145
+ @message || @data[:message]
146
+ end
147
+ end
148
+
80
149
  class ValidationException < ServiceError
81
150
 
82
151
  # @param [Seahorse::Client::RequestContext] context