aws-sdk-ssmincidents 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3834832c356f7c9a1a8d8c312d62434f0a8ad620c77ee1ae2c56487d333dec16
4
- data.tar.gz: 53d5c58a920b938fb6a05be08bf200eab202da9b54145fdf1670c9089253d898
3
+ metadata.gz: 343476dca12a6794fd7965fd9d529bc11bf3f88769a0b4ae0b5ff4af42fdb47b
4
+ data.tar.gz: c9e05b299b050d6d4c26e53084319aa85bc8ba3ce6c4af7c7a88803b6e30b2a2
5
5
  SHA512:
6
- metadata.gz: 47bc57f8fd7116d3ae0abad832c57435bac87f0ac1f6d16b205c1797d2981c39b8e30cb1e4354a2e06133dd5a5689123a85e3a983ce4764b813f791f0fe52e0e
7
- data.tar.gz: 0de407c86624abf997ef9b39983cb50dff2373ec48228e19f4ecf779ec8114272df6f2a89b4ba8372cacc81fbe0124c78d299fed3677b75071470091eaa2a71e
6
+ metadata.gz: 1bee456140d107d8d48e12ac33a96c4fec2b0f6566dde51a236b5c6128fcd5a1a4111903ed5ecc59a1b2aec33d97ae00c45c5627916bc130b6d293a74cbbf132
7
+ data.tar.gz: 12a3d8387b715d20c4d678b7704a7fc6f9a92db7be37940dfba0073a71fa25eec8f81f2bc8873f0f8b8b818d948b46eae97e799a0bb4e2e2290e186337248695
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.1.0 (2021-07-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.0.0 (2021-05-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ssmincidents/customizations'
49
49
  # @!group service
50
50
  module Aws::SSMIncidents
51
51
 
52
- GEM_VERSION = '1.0.0'
52
+ GEM_VERSION = '1.1.0'
53
53
 
54
54
  end
@@ -1755,7 +1755,7 @@ module Aws::SSMIncidents
1755
1755
  params: params,
1756
1756
  config: config)
1757
1757
  context[:gem_name] = 'aws-sdk-ssmincidents'
1758
- context[:gem_version] = '1.0.0'
1758
+ context[:gem_version] = '1.1.0'
1759
1759
  Seahorse::Client::Request.new(handlers, context)
1760
1760
  end
1761
1761
 
@@ -14,18 +14,18 @@ module Aws::SSMIncidents
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
- Action = Shapes::StructureShape.new(name: 'Action')
17
+ Action = Shapes::UnionShape.new(name: 'Action')
18
18
  ActionsList = Shapes::ListShape.new(name: 'ActionsList')
19
19
  AddRegionAction = Shapes::StructureShape.new(name: 'AddRegionAction')
20
20
  Arn = Shapes::StringShape.new(name: 'Arn')
21
- AttributeValueList = Shapes::StructureShape.new(name: 'AttributeValueList')
22
- AutomationExecution = Shapes::StructureShape.new(name: 'AutomationExecution')
21
+ AttributeValueList = Shapes::UnionShape.new(name: 'AttributeValueList')
22
+ AutomationExecution = Shapes::UnionShape.new(name: 'AutomationExecution')
23
23
  AutomationExecutionSet = Shapes::ListShape.new(name: 'AutomationExecutionSet')
24
24
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
25
- ChatChannel = Shapes::StructureShape.new(name: 'ChatChannel')
25
+ ChatChannel = Shapes::UnionShape.new(name: 'ChatChannel')
26
26
  ChatbotSnsConfigurationSet = Shapes::ListShape.new(name: 'ChatbotSnsConfigurationSet')
27
27
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
28
- Condition = Shapes::StructureShape.new(name: 'Condition')
28
+ Condition = Shapes::UnionShape.new(name: 'Condition')
29
29
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
30
30
  CreateReplicationSetInput = Shapes::StructureShape.new(name: 'CreateReplicationSetInput')
31
31
  CreateReplicationSetOutput = Shapes::StructureShape.new(name: 'CreateReplicationSetOutput')
@@ -79,7 +79,7 @@ module Aws::SSMIncidents
79
79
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
80
80
  ItemIdentifier = Shapes::StructureShape.new(name: 'ItemIdentifier')
81
81
  ItemType = Shapes::StringShape.new(name: 'ItemType')
82
- ItemValue = Shapes::StructureShape.new(name: 'ItemValue')
82
+ ItemValue = Shapes::UnionShape.new(name: 'ItemValue')
83
83
  ListIncidentRecordsInput = Shapes::StructureShape.new(name: 'ListIncidentRecordsInput')
84
84
  ListIncidentRecordsOutput = Shapes::StructureShape.new(name: 'ListIncidentRecordsOutput')
85
85
  ListRelatedItemsInput = Shapes::StructureShape.new(name: 'ListRelatedItemsInput')
@@ -95,7 +95,7 @@ module Aws::SSMIncidents
95
95
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
96
96
  MetricDefinition = Shapes::StringShape.new(name: 'MetricDefinition')
97
97
  NextToken = Shapes::StringShape.new(name: 'NextToken')
98
- NotificationTargetItem = Shapes::StructureShape.new(name: 'NotificationTargetItem')
98
+ NotificationTargetItem = Shapes::UnionShape.new(name: 'NotificationTargetItem')
99
99
  NotificationTargetSet = Shapes::ListShape.new(name: 'NotificationTargetSet')
100
100
  Policy = Shapes::StringShape.new(name: 'Policy')
101
101
  PolicyId = Shapes::StringShape.new(name: 'PolicyId')
@@ -111,7 +111,7 @@ module Aws::SSMIncidents
111
111
  RelatedItem = Shapes::StructureShape.new(name: 'RelatedItem')
112
112
  RelatedItemList = Shapes::ListShape.new(name: 'RelatedItemList')
113
113
  RelatedItemTitleString = Shapes::StringShape.new(name: 'RelatedItemTitleString')
114
- RelatedItemsUpdate = Shapes::StructureShape.new(name: 'RelatedItemsUpdate')
114
+ RelatedItemsUpdate = Shapes::UnionShape.new(name: 'RelatedItemsUpdate')
115
115
  ReplicationSet = Shapes::StructureShape.new(name: 'ReplicationSet')
116
116
  ReplicationSetArnList = Shapes::ListShape.new(name: 'ReplicationSetArnList')
117
117
  ReplicationSetStatus = Shapes::StringShape.new(name: 'ReplicationSetStatus')
@@ -164,7 +164,7 @@ module Aws::SSMIncidents
164
164
  UpdateIncidentRecordOutput = Shapes::StructureShape.new(name: 'UpdateIncidentRecordOutput')
165
165
  UpdateRelatedItemsInput = Shapes::StructureShape.new(name: 'UpdateRelatedItemsInput')
166
166
  UpdateRelatedItemsOutput = Shapes::StructureShape.new(name: 'UpdateRelatedItemsOutput')
167
- UpdateReplicationSetAction = Shapes::StructureShape.new(name: 'UpdateReplicationSetAction')
167
+ UpdateReplicationSetAction = Shapes::UnionShape.new(name: 'UpdateReplicationSetAction')
168
168
  UpdateReplicationSetInput = Shapes::StructureShape.new(name: 'UpdateReplicationSetInput')
169
169
  UpdateReplicationSetInputActionsList = Shapes::ListShape.new(name: 'UpdateReplicationSetInputActionsList')
170
170
  UpdateReplicationSetOutput = Shapes::StructureShape.new(name: 'UpdateReplicationSetOutput')
@@ -179,6 +179,9 @@ module Aws::SSMIncidents
179
179
  AccessDeniedException.struct_class = Types::AccessDeniedException
180
180
 
181
181
  Action.add_member(:ssm_automation, Shapes::ShapeRef.new(shape: SsmAutomation, location_name: "ssmAutomation"))
182
+ Action.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
183
+ Action.add_member_subclass(:ssm_automation, Types::Action::SsmAutomation)
184
+ Action.add_member_subclass(:unknown, Types::Action::Unknown)
182
185
  Action.struct_class = Types::Action
183
186
 
184
187
  ActionsList.member = Shapes::ShapeRef.new(shape: Action)
@@ -189,15 +192,26 @@ module Aws::SSMIncidents
189
192
 
190
193
  AttributeValueList.add_member(:integer_values, Shapes::ShapeRef.new(shape: IntegerList, location_name: "integerValues"))
191
194
  AttributeValueList.add_member(:string_values, Shapes::ShapeRef.new(shape: StringList, location_name: "stringValues"))
195
+ AttributeValueList.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
196
+ AttributeValueList.add_member_subclass(:integer_values, Types::AttributeValueList::IntegerValues)
197
+ AttributeValueList.add_member_subclass(:string_values, Types::AttributeValueList::StringValues)
198
+ AttributeValueList.add_member_subclass(:unknown, Types::AttributeValueList::Unknown)
192
199
  AttributeValueList.struct_class = Types::AttributeValueList
193
200
 
194
201
  AutomationExecution.add_member(:ssm_execution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ssmExecutionArn"))
202
+ AutomationExecution.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
203
+ AutomationExecution.add_member_subclass(:ssm_execution_arn, Types::AutomationExecution::SsmExecutionArn)
204
+ AutomationExecution.add_member_subclass(:unknown, Types::AutomationExecution::Unknown)
195
205
  AutomationExecution.struct_class = Types::AutomationExecution
196
206
 
197
207
  AutomationExecutionSet.member = Shapes::ShapeRef.new(shape: AutomationExecution)
198
208
 
199
209
  ChatChannel.add_member(:chatbot_sns, Shapes::ShapeRef.new(shape: ChatbotSnsConfigurationSet, location_name: "chatbotSns"))
200
210
  ChatChannel.add_member(:empty, Shapes::ShapeRef.new(shape: EmptyChatChannel, location_name: "empty"))
211
+ ChatChannel.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
212
+ ChatChannel.add_member_subclass(:chatbot_sns, Types::ChatChannel::ChatbotSns)
213
+ ChatChannel.add_member_subclass(:empty, Types::ChatChannel::Empty)
214
+ ChatChannel.add_member_subclass(:unknown, Types::ChatChannel::Unknown)
201
215
  ChatChannel.struct_class = Types::ChatChannel
202
216
 
203
217
  ChatbotSnsConfigurationSet.member = Shapes::ShapeRef.new(shape: SnsArn)
@@ -205,6 +219,11 @@ module Aws::SSMIncidents
205
219
  Condition.add_member(:after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "after"))
206
220
  Condition.add_member(:before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "before"))
207
221
  Condition.add_member(:equals, Shapes::ShapeRef.new(shape: AttributeValueList, location_name: "equals"))
222
+ Condition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
223
+ Condition.add_member_subclass(:after, Types::Condition::After)
224
+ Condition.add_member_subclass(:before, Types::Condition::Before)
225
+ Condition.add_member_subclass(:equals, Types::Condition::Equals)
226
+ Condition.add_member_subclass(:unknown, Types::Condition::Unknown)
208
227
  Condition.struct_class = Types::Condition
209
228
 
210
229
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
@@ -384,6 +403,11 @@ module Aws::SSMIncidents
384
403
  ItemValue.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
385
404
  ItemValue.add_member(:metric_definition, Shapes::ShapeRef.new(shape: MetricDefinition, location_name: "metricDefinition"))
386
405
  ItemValue.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "url"))
406
+ ItemValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
407
+ ItemValue.add_member_subclass(:arn, Types::ItemValue::Arn)
408
+ ItemValue.add_member_subclass(:metric_definition, Types::ItemValue::MetricDefinition)
409
+ ItemValue.add_member_subclass(:url, Types::ItemValue::Url)
410
+ ItemValue.add_member_subclass(:unknown, Types::ItemValue::Unknown)
387
411
  ItemValue.struct_class = Types::ItemValue
388
412
 
389
413
  ListIncidentRecordsInput.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "filters"))
@@ -439,6 +463,9 @@ module Aws::SSMIncidents
439
463
  ListTimelineEventsOutput.struct_class = Types::ListTimelineEventsOutput
440
464
 
441
465
  NotificationTargetItem.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "snsTopicArn"))
466
+ NotificationTargetItem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
467
+ NotificationTargetItem.add_member_subclass(:sns_topic_arn, Types::NotificationTargetItem::SnsTopicArn)
468
+ NotificationTargetItem.add_member_subclass(:unknown, Types::NotificationTargetItem::Unknown)
442
469
  NotificationTargetItem.struct_class = Types::NotificationTargetItem
443
470
 
444
471
  NotificationTargetSet.member = Shapes::ShapeRef.new(shape: NotificationTargetItem)
@@ -473,6 +500,10 @@ module Aws::SSMIncidents
473
500
 
474
501
  RelatedItemsUpdate.add_member(:item_to_add, Shapes::ShapeRef.new(shape: RelatedItem, location_name: "itemToAdd"))
475
502
  RelatedItemsUpdate.add_member(:item_to_remove, Shapes::ShapeRef.new(shape: ItemIdentifier, location_name: "itemToRemove"))
503
+ RelatedItemsUpdate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
504
+ RelatedItemsUpdate.add_member_subclass(:item_to_add, Types::RelatedItemsUpdate::ItemToAdd)
505
+ RelatedItemsUpdate.add_member_subclass(:item_to_remove, Types::RelatedItemsUpdate::ItemToRemove)
506
+ RelatedItemsUpdate.add_member_subclass(:unknown, Types::RelatedItemsUpdate::Unknown)
476
507
  RelatedItemsUpdate.struct_class = Types::RelatedItemsUpdate
477
508
 
478
509
  ReplicationSet.add_member(:created_by, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "createdBy"))
@@ -601,6 +632,10 @@ module Aws::SSMIncidents
601
632
 
602
633
  UpdateReplicationSetAction.add_member(:add_region_action, Shapes::ShapeRef.new(shape: AddRegionAction, location_name: "addRegionAction"))
603
634
  UpdateReplicationSetAction.add_member(:delete_region_action, Shapes::ShapeRef.new(shape: DeleteRegionAction, location_name: "deleteRegionAction"))
635
+ UpdateReplicationSetAction.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
636
+ UpdateReplicationSetAction.add_member_subclass(:add_region_action, Types::UpdateReplicationSetAction::AddRegionAction)
637
+ UpdateReplicationSetAction.add_member_subclass(:delete_region_action, Types::UpdateReplicationSetAction::DeleteRegionAction)
638
+ UpdateReplicationSetAction.add_member_subclass(:unknown, Types::UpdateReplicationSetAction::Unknown)
604
639
  UpdateReplicationSetAction.struct_class = Types::UpdateReplicationSetAction
605
640
 
606
641
  UpdateReplicationSetInput.add_member(:actions, Shapes::ShapeRef.new(shape: UpdateReplicationSetInputActionsList, required: true, location_name: "actions"))
@@ -26,20 +26,9 @@ module Aws::SSMIncidents
26
26
  # The action that starts at the beginning of an incident. The response
27
27
  # plan defines the action.
28
28
  #
29
- # @note When making an API call, you may pass Action
30
- # data as a hash:
29
+ # @note Action is a union - when making an API calls you must set exactly one of the members.
31
30
  #
32
- # {
33
- # ssm_automation: {
34
- # document_name: "SsmAutomationDocumentNameString", # required
35
- # document_version: "SsmAutomationDocumentVersionString",
36
- # parameters: {
37
- # "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
38
- # },
39
- # role_arn: "RoleArn", # required
40
- # target_account: "RESPONSE_PLAN_OWNER_ACCOUNT", # accepts RESPONSE_PLAN_OWNER_ACCOUNT, IMPACTED_ACCOUNT
41
- # },
42
- # }
31
+ # @note Action is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Action corresponding to the set member.
43
32
  #
44
33
  # @!attribute [rw] ssm_automation
45
34
  # The Systems Manager automation document to start as the runbook at
@@ -49,9 +38,14 @@ module Aws::SSMIncidents
49
38
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/Action AWS API Documentation
50
39
  #
51
40
  class Action < Struct.new(
52
- :ssm_automation)
41
+ :ssm_automation,
42
+ :unknown)
53
43
  SENSITIVE = []
54
44
  include Aws::Structure
45
+ include Aws::Structure::Union
46
+
47
+ class SsmAutomation < Action; end
48
+ class Unknown < Action; end
55
49
  end
56
50
 
57
51
  # Defines the Region and KMS key to add to the replication set.
@@ -83,13 +77,7 @@ module Aws::SSMIncidents
83
77
 
84
78
  # Use the AttributeValueList to filter by string or integer values.
85
79
  #
86
- # @note When making an API call, you may pass AttributeValueList
87
- # data as a hash:
88
- #
89
- # {
90
- # integer_values: [1],
91
- # string_values: ["StringListMemberString"],
92
- # }
80
+ # @note AttributeValueList is a union - when making an API calls you must set exactly one of the members.
93
81
  #
94
82
  # @!attribute [rw] integer_values
95
83
  # The list of integer values that the filter matches.
@@ -103,14 +91,22 @@ module Aws::SSMIncidents
103
91
  #
104
92
  class AttributeValueList < Struct.new(
105
93
  :integer_values,
106
- :string_values)
94
+ :string_values,
95
+ :unknown)
107
96
  SENSITIVE = []
108
97
  include Aws::Structure
98
+ include Aws::Structure::Union
99
+
100
+ class IntegerValues < AttributeValueList; end
101
+ class StringValues < AttributeValueList; end
102
+ class Unknown < AttributeValueList; end
109
103
  end
110
104
 
111
105
  # The Systems Manager automation document process to start as the
112
106
  # runbook at the beginning of the incident.
113
107
  #
108
+ # @note AutomationExecution is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AutomationExecution corresponding to the set member.
109
+ #
114
110
  # @!attribute [rw] ssm_execution_arn
115
111
  # The Amazon Resource Name (ARN) of the automation process.
116
112
  # @return [String]
@@ -118,22 +114,22 @@ module Aws::SSMIncidents
118
114
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/AutomationExecution AWS API Documentation
119
115
  #
120
116
  class AutomationExecution < Struct.new(
121
- :ssm_execution_arn)
117
+ :ssm_execution_arn,
118
+ :unknown)
122
119
  SENSITIVE = []
123
120
  include Aws::Structure
121
+ include Aws::Structure::Union
122
+
123
+ class SsmExecutionArn < AutomationExecution; end
124
+ class Unknown < AutomationExecution; end
124
125
  end
125
126
 
126
127
  # The AWS Chatbot chat channel used for collaboration during an
127
128
  # incident.
128
129
  #
129
- # @note When making an API call, you may pass ChatChannel
130
- # data as a hash:
130
+ # @note ChatChannel is a union - when making an API calls you must set exactly one of the members.
131
131
  #
132
- # {
133
- # chatbot_sns: ["SnsArn"],
134
- # empty: {
135
- # },
136
- # }
132
+ # @note ChatChannel is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ChatChannel corresponding to the set member.
137
133
  #
138
134
  # @!attribute [rw] chatbot_sns
139
135
  # The SNS targets that AWS Chatbot uses to notify the chat channel of
@@ -150,9 +146,15 @@ module Aws::SSMIncidents
150
146
  #
151
147
  class ChatChannel < Struct.new(
152
148
  :chatbot_sns,
153
- :empty)
149
+ :empty,
150
+ :unknown)
154
151
  SENSITIVE = []
155
152
  include Aws::Structure
153
+ include Aws::Structure::Union
154
+
155
+ class ChatbotSns < ChatChannel; end
156
+ class Empty < ChatChannel; end
157
+ class Unknown < ChatChannel; end
156
158
  end
157
159
 
158
160
  # A conditional statement with which to compare a value, after a
@@ -161,17 +163,7 @@ module Aws::SSMIncidents
161
163
  # statement. If multiple values are specified for a conditional, the
162
164
  # values are `OR`d.
163
165
  #
164
- # @note When making an API call, you may pass Condition
165
- # data as a hash:
166
- #
167
- # {
168
- # after: Time.now,
169
- # before: Time.now,
170
- # equals: {
171
- # integer_values: [1],
172
- # string_values: ["StringListMemberString"],
173
- # },
174
- # }
166
+ # @note Condition is a union - when making an API calls you must set exactly one of the members.
175
167
  #
176
168
  # @!attribute [rw] after
177
169
  # After the specified timestamp.
@@ -190,9 +182,16 @@ module Aws::SSMIncidents
190
182
  class Condition < Struct.new(
191
183
  :after,
192
184
  :before,
193
- :equals)
185
+ :equals,
186
+ :unknown)
194
187
  SENSITIVE = []
195
188
  include Aws::Structure
189
+ include Aws::Structure::Union
190
+
191
+ class After < Condition; end
192
+ class Before < Condition; end
193
+ class Equals < Condition; end
194
+ class Unknown < Condition; end
196
195
  end
197
196
 
198
197
  # Updating or deleting a resource causes an inconsistent state.
@@ -1162,14 +1161,9 @@ module Aws::SSMIncidents
1162
1161
 
1163
1162
  # Describes a related item.
1164
1163
  #
1165
- # @note When making an API call, you may pass ItemValue
1166
- # data as a hash:
1164
+ # @note ItemValue is a union - when making an API calls you must set exactly one of the members.
1167
1165
  #
1168
- # {
1169
- # arn: "Arn",
1170
- # metric_definition: "MetricDefinition",
1171
- # url: "Url",
1172
- # }
1166
+ # @note ItemValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ItemValue corresponding to the set member.
1173
1167
  #
1174
1168
  # @!attribute [rw] arn
1175
1169
  # The Amazon Resource Name (ARN) of the related item, if the related
@@ -1190,9 +1184,16 @@ module Aws::SSMIncidents
1190
1184
  class ItemValue < Struct.new(
1191
1185
  :arn,
1192
1186
  :metric_definition,
1193
- :url)
1187
+ :url,
1188
+ :unknown)
1194
1189
  SENSITIVE = []
1195
1190
  include Aws::Structure
1191
+ include Aws::Structure::Union
1192
+
1193
+ class Arn < ItemValue; end
1194
+ class MetricDefinition < ItemValue; end
1195
+ class Url < ItemValue; end
1196
+ class Unknown < ItemValue; end
1196
1197
  end
1197
1198
 
1198
1199
  # @note When making an API call, you may pass ListIncidentRecordsInput
@@ -1516,12 +1517,9 @@ module Aws::SSMIncidents
1516
1517
  # The SNS topic that's used by AWS Chatbot to notify the incidents chat
1517
1518
  # channel.
1518
1519
  #
1519
- # @note When making an API call, you may pass NotificationTargetItem
1520
- # data as a hash:
1520
+ # @note NotificationTargetItem is a union - when making an API calls you must set exactly one of the members.
1521
1521
  #
1522
- # {
1523
- # sns_topic_arn: "Arn",
1524
- # }
1522
+ # @note NotificationTargetItem is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of NotificationTargetItem corresponding to the set member.
1525
1523
  #
1526
1524
  # @!attribute [rw] sns_topic_arn
1527
1525
  # The Amazon Resource Name (ARN) of the SNS topic.
@@ -1530,9 +1528,14 @@ module Aws::SSMIncidents
1530
1528
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/NotificationTargetItem AWS API Documentation
1531
1529
  #
1532
1530
  class NotificationTargetItem < Struct.new(
1533
- :sns_topic_arn)
1531
+ :sns_topic_arn,
1532
+ :unknown)
1534
1533
  SENSITIVE = []
1535
1534
  include Aws::Structure
1535
+ include Aws::Structure::Union
1536
+
1537
+ class SnsTopicArn < NotificationTargetItem; end
1538
+ class Unknown < NotificationTargetItem; end
1536
1539
  end
1537
1540
 
1538
1541
  # @note When making an API call, you may pass PutResourcePolicyInput
@@ -1660,30 +1663,7 @@ module Aws::SSMIncidents
1660
1663
 
1661
1664
  # Details about the related item you're adding.
1662
1665
  #
1663
- # @note When making an API call, you may pass RelatedItemsUpdate
1664
- # data as a hash:
1665
- #
1666
- # {
1667
- # item_to_add: {
1668
- # identifier: { # required
1669
- # type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER
1670
- # value: { # required
1671
- # arn: "Arn",
1672
- # metric_definition: "MetricDefinition",
1673
- # url: "Url",
1674
- # },
1675
- # },
1676
- # title: "RelatedItemTitleString",
1677
- # },
1678
- # item_to_remove: {
1679
- # type: "ANALYSIS", # required, accepts ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER
1680
- # value: { # required
1681
- # arn: "Arn",
1682
- # metric_definition: "MetricDefinition",
1683
- # url: "Url",
1684
- # },
1685
- # },
1686
- # }
1666
+ # @note RelatedItemsUpdate is a union - when making an API calls you must set exactly one of the members.
1687
1667
  #
1688
1668
  # @!attribute [rw] item_to_add
1689
1669
  # Details about the related item you're adding.
@@ -1697,9 +1677,15 @@ module Aws::SSMIncidents
1697
1677
  #
1698
1678
  class RelatedItemsUpdate < Struct.new(
1699
1679
  :item_to_add,
1700
- :item_to_remove)
1680
+ :item_to_remove,
1681
+ :unknown)
1701
1682
  SENSITIVE = []
1702
1683
  include Aws::Structure
1684
+ include Aws::Structure::Union
1685
+
1686
+ class ItemToAdd < RelatedItemsUpdate; end
1687
+ class ItemToRemove < RelatedItemsUpdate; end
1688
+ class Unknown < RelatedItemsUpdate; end
1703
1689
  end
1704
1690
 
1705
1691
  # The set of Regions that your Incident Manager data will be replicated
@@ -2388,18 +2374,7 @@ module Aws::SSMIncidents
2388
2374
 
2389
2375
  # Details used when updating the replication set.
2390
2376
  #
2391
- # @note When making an API call, you may pass UpdateReplicationSetAction
2392
- # data as a hash:
2393
- #
2394
- # {
2395
- # add_region_action: {
2396
- # region_name: "RegionName", # required
2397
- # sse_kms_key_id: "SseKmsKey",
2398
- # },
2399
- # delete_region_action: {
2400
- # region_name: "RegionName", # required
2401
- # },
2402
- # }
2377
+ # @note UpdateReplicationSetAction is a union - when making an API calls you must set exactly one of the members.
2403
2378
  #
2404
2379
  # @!attribute [rw] add_region_action
2405
2380
  # Details about the Region that you're adding to the replication set.
@@ -2414,9 +2389,15 @@ module Aws::SSMIncidents
2414
2389
  #
2415
2390
  class UpdateReplicationSetAction < Struct.new(
2416
2391
  :add_region_action,
2417
- :delete_region_action)
2392
+ :delete_region_action,
2393
+ :unknown)
2418
2394
  SENSITIVE = []
2419
2395
  include Aws::Structure
2396
+ include Aws::Structure::Union
2397
+
2398
+ class AddRegionAction < UpdateReplicationSetAction; end
2399
+ class DeleteRegionAction < UpdateReplicationSetAction; end
2400
+ class Unknown < UpdateReplicationSetAction; end
2420
2401
  end
2421
2402
 
2422
2403
  # @note When making an API call, you may pass UpdateReplicationSetInput
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ssmincidents
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-11 00:00:00.000000000 Z
11
+ date: 2021-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.112.0
22
+ version: 3.118.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.112.0
32
+ version: 3.118.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement