aws-sdk-ssmincidents 1.0.0 → 1.4.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: 264d7048191f49e8a99128a608ce474716ea8443155930bed1e915457c6f694e
4
+ data.tar.gz: 9a3b4ffdeae69d6b7b9f122ac6a9405e5b7c35b39a17ff5a423017006c0e6a5a
5
5
  SHA512:
6
- metadata.gz: 47bc57f8fd7116d3ae0abad832c57435bac87f0ac1f6d16b205c1797d2981c39b8e30cb1e4354a2e06133dd5a5689123a85e3a983ce4764b813f791f0fe52e0e
7
- data.tar.gz: 0de407c86624abf997ef9b39983cb50dff2373ec48228e19f4ecf779ec8114272df6f2a89b4ba8372cacc81fbe0124c78d299fed3677b75071470091eaa2a71e
6
+ metadata.gz: 42e4a64c06217048561f1f6c1b1d2fc3fd74e038594caab79822bb97103a5f32f5bd384689271af4785def92212a78507973d3dee48c94c26b74f450a941e626
7
+ data.tar.gz: 06b15f504f068bbced798d914e5b8b85e93b3cc4211b8e15da305aa44213633d77e08cf8b93e059d7a527cba18cb69dbf6bc910a4ce54709da2d7dea20303fbe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2021-09-01)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.3.0 (2021-08-04)
10
+ ------------------
11
+
12
+ * Feature - Documentation updates for Incident Manager.
13
+
14
+ 1.2.0 (2021-07-30)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.1.0 (2021-07-28)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.0.0 (2021-05-11)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.4.0
@@ -469,7 +469,7 @@ module Aws::SSMIncidents
469
469
  # timeline events to mark important events that are automatically
470
470
  # detected by Incident Manager.
471
471
  #
472
- # @option params [required, String] :client_token
472
+ # @option params [String] :client_token
473
473
  # A token ensuring that the action is called only once with the
474
474
  # specified details.
475
475
  #
@@ -477,7 +477,8 @@ module Aws::SSMIncidents
477
477
  # not need to pass this option.**
478
478
  #
479
479
  # @option params [required, String] :event_data
480
- # A short description of the event.
480
+ # A valid JSON string. There is no other schema imposed. A short
481
+ # description of the event.
481
482
  #
482
483
  # @option params [required, Time,DateTime,Date,Integer,String] :event_time
483
484
  # The time that the event occurred.
@@ -498,7 +499,7 @@ module Aws::SSMIncidents
498
499
  # @example Request syntax with placeholder values
499
500
  #
500
501
  # resp = client.create_timeline_event({
501
- # client_token: "ClientToken", # required
502
+ # client_token: "ClientToken",
502
503
  # event_data: "EventData", # required
503
504
  # event_time: Time.now, # required
504
505
  # event_type: "TimelineEventType", # required
@@ -711,6 +712,7 @@ module Aws::SSMIncidents
711
712
  #
712
713
  # @example Response structure
713
714
  #
715
+ # resp.replication_set.arn #=> String
714
716
  # resp.replication_set.created_by #=> String
715
717
  # resp.replication_set.created_time #=> Time
716
718
  # resp.replication_set.deletion_protected #=> Boolean
@@ -1440,9 +1442,8 @@ module Aws::SSMIncidents
1440
1442
  # action is needed to avoid impact.
1441
1443
  #
1442
1444
  # @option params [Array<Types::NotificationTargetItem>] :notification_targets
1443
- # The SNS targets that AWS Chatbot uses to notify the chat channel of
1444
- # updates to an incident. You can also make updates to the incident
1445
- # through the chat channel using the SNS topics.
1445
+ # The SNS targets that are notified when updates are made to an
1446
+ # incident.
1446
1447
  #
1447
1448
  # Using multiple SNS topics creates redundancy in the case that a Region
1448
1449
  # is down during the incident.
@@ -1602,6 +1603,9 @@ module Aws::SSMIncidents
1602
1603
  # The AWS Chatbot chat channel used for collaboration during an
1603
1604
  # incident.
1604
1605
  #
1606
+ # Use the empty structure to remove the chat channel from the response
1607
+ # plan.
1608
+ #
1605
1609
  # @option params [String] :client_token
1606
1610
  # A token ensuring that the action is called only once with the
1607
1611
  # specified details.
@@ -1636,8 +1640,8 @@ module Aws::SSMIncidents
1636
1640
  # * `1` - No impact
1637
1641
  #
1638
1642
  # @option params [Array<Types::NotificationTargetItem>] :incident_template_notification_targets
1639
- # The SNS targets that AWS Chatbot uses to notify the chat channels and
1640
- # perform actions on the incident record.
1643
+ # The SNS targets that are notified when updates are made to an
1644
+ # incident.
1641
1645
  #
1642
1646
  # @option params [String] :incident_template_summary
1643
1647
  # A brief summary of the incident. This typically contains what has
@@ -1696,7 +1700,7 @@ module Aws::SSMIncidents
1696
1700
  # Updates a timeline event. You can update events of type `Custom
1697
1701
  # Event`.
1698
1702
  #
1699
- # @option params [required, String] :client_token
1703
+ # @option params [String] :client_token
1700
1704
  # A token ensuring that the action is called only once with the
1701
1705
  # specified details.
1702
1706
  #
@@ -1725,7 +1729,7 @@ module Aws::SSMIncidents
1725
1729
  # @example Request syntax with placeholder values
1726
1730
  #
1727
1731
  # resp = client.update_timeline_event({
1728
- # client_token: "ClientToken", # required
1732
+ # client_token: "ClientToken",
1729
1733
  # event_data: "EventData",
1730
1734
  # event_id: "UUID", # required
1731
1735
  # event_time: Time.now,
@@ -1755,7 +1759,7 @@ module Aws::SSMIncidents
1755
1759
  params: params,
1756
1760
  config: config)
1757
1761
  context[:gem_name] = 'aws-sdk-ssmincidents'
1758
- context[:gem_version] = '1.0.0'
1762
+ context[:gem_version] = '1.4.0'
1759
1763
  Seahorse::Client::Request.new(handlers, context)
1760
1764
  end
1761
1765
 
@@ -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"))
@@ -232,7 +251,7 @@ module Aws::SSMIncidents
232
251
  CreateResponsePlanOutput.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
233
252
  CreateResponsePlanOutput.struct_class = Types::CreateResponsePlanOutput
234
253
 
235
- CreateTimelineEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
254
+ CreateTimelineEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
236
255
  CreateTimelineEventInput.add_member(:event_data, Shapes::ShapeRef.new(shape: EventData, required: true, location_name: "eventData"))
237
256
  CreateTimelineEventInput.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventTime"))
238
257
  CreateTimelineEventInput.add_member(:event_type, Shapes::ShapeRef.new(shape: TimelineEventType, required: true, location_name: "eventType"))
@@ -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,8 +500,13 @@ 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
 
509
+ ReplicationSet.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
478
510
  ReplicationSet.add_member(:created_by, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "createdBy"))
479
511
  ReplicationSet.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdTime"))
480
512
  ReplicationSet.add_member(:deletion_protected, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "deletionProtected"))
@@ -601,6 +633,10 @@ module Aws::SSMIncidents
601
633
 
602
634
  UpdateReplicationSetAction.add_member(:add_region_action, Shapes::ShapeRef.new(shape: AddRegionAction, location_name: "addRegionAction"))
603
635
  UpdateReplicationSetAction.add_member(:delete_region_action, Shapes::ShapeRef.new(shape: DeleteRegionAction, location_name: "deleteRegionAction"))
636
+ UpdateReplicationSetAction.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
637
+ UpdateReplicationSetAction.add_member_subclass(:add_region_action, Types::UpdateReplicationSetAction::AddRegionAction)
638
+ UpdateReplicationSetAction.add_member_subclass(:delete_region_action, Types::UpdateReplicationSetAction::DeleteRegionAction)
639
+ UpdateReplicationSetAction.add_member_subclass(:unknown, Types::UpdateReplicationSetAction::Unknown)
604
640
  UpdateReplicationSetAction.struct_class = Types::UpdateReplicationSetAction
605
641
 
606
642
  UpdateReplicationSetInput.add_member(:actions, Shapes::ShapeRef.new(shape: UpdateReplicationSetInputActionsList, required: true, location_name: "actions"))
@@ -627,7 +663,7 @@ module Aws::SSMIncidents
627
663
 
628
664
  UpdateResponsePlanOutput.struct_class = Types::UpdateResponsePlanOutput
629
665
 
630
- UpdateTimelineEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
666
+ UpdateTimelineEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
631
667
  UpdateTimelineEventInput.add_member(:event_data, Shapes::ShapeRef.new(shape: EventData, location_name: "eventData"))
632
668
  UpdateTimelineEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "eventId"))
633
669
  UpdateTimelineEventInput.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "eventTime"))
@@ -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.
@@ -377,7 +376,7 @@ module Aws::SSMIncidents
377
376
  # data as a hash:
378
377
  #
379
378
  # {
380
- # client_token: "ClientToken", # required
379
+ # client_token: "ClientToken",
381
380
  # event_data: "EventData", # required
382
381
  # event_time: Time.now, # required
383
382
  # event_type: "TimelineEventType", # required
@@ -393,7 +392,8 @@ module Aws::SSMIncidents
393
392
  # @return [String]
394
393
  #
395
394
  # @!attribute [rw] event_data
396
- # A short description of the event.
395
+ # A valid JSON string. There is no other schema imposed. A short
396
+ # description of the event.
397
397
  # @return [String]
398
398
  #
399
399
  # @!attribute [rw] event_time
@@ -929,8 +929,8 @@ module Aws::SSMIncidents
929
929
  # @return [Time]
930
930
  #
931
931
  # @!attribute [rw] notification_targets
932
- # The SNS targets that AWS Chatbot uses to notify the chat channels
933
- # and perform actions on the incident record.
932
+ # The SNS targets that are notified when updates are made to an
933
+ # incident.
934
934
  # @return [Array<Types::NotificationTargetItem>]
935
935
  #
936
936
  # @!attribute [rw] resolved_time
@@ -1076,9 +1076,8 @@ module Aws::SSMIncidents
1076
1076
  # @return [Integer]
1077
1077
  #
1078
1078
  # @!attribute [rw] notification_targets
1079
- # The SNS targets that AWS Chatbot uses to notify the chat channel of
1080
- # updates to an incident. You can also make updates to the incident
1081
- # through the chat channel using the SNS topics.
1079
+ # The SNS targets that are notified when updates are made to an
1080
+ # incident.
1082
1081
  # @return [Array<Types::NotificationTargetItem>]
1083
1082
  #
1084
1083
  # @!attribute [rw] summary
@@ -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
@@ -1513,15 +1514,12 @@ module Aws::SSMIncidents
1513
1514
  include Aws::Structure
1514
1515
  end
1515
1516
 
1516
- # The SNS topic that's used by AWS Chatbot to notify the incidents chat
1517
- # channel.
1517
+ # The SNS targets that are notified when updates are made to an
1518
+ # incident.
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,14 +1677,24 @@ 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
1706
1692
  # to and the KMS key used to encrypt the data.
1707
1693
  #
1694
+ # @!attribute [rw] arn
1695
+ # The Amazon Resource Name (ARN) of the replication set.
1696
+ # @return [String]
1697
+ #
1708
1698
  # @!attribute [rw] created_by
1709
1699
  # Details about who created the replication set.
1710
1700
  # @return [String]
@@ -1740,6 +1730,7 @@ module Aws::SSMIncidents
1740
1730
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ReplicationSet AWS API Documentation
1741
1731
  #
1742
1732
  class ReplicationSet < Struct.new(
1733
+ :arn,
1743
1734
  :created_by,
1744
1735
  :created_time,
1745
1736
  :deletion_protected,
@@ -2287,9 +2278,8 @@ module Aws::SSMIncidents
2287
2278
  # @return [Integer]
2288
2279
  #
2289
2280
  # @!attribute [rw] notification_targets
2290
- # The SNS targets that AWS Chatbot uses to notify the chat channel of
2291
- # updates to an incident. You can also make updates to the incident
2292
- # through the chat channel using the SNS topics.
2281
+ # The SNS targets that are notified when updates are made to an
2282
+ # incident.
2293
2283
  #
2294
2284
  # Using multiple SNS topics creates redundancy in the case that a
2295
2285
  # Region is down during the incident.
@@ -2388,18 +2378,7 @@ module Aws::SSMIncidents
2388
2378
 
2389
2379
  # Details used when updating the replication set.
2390
2380
  #
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
- # }
2381
+ # @note UpdateReplicationSetAction is a union - when making an API calls you must set exactly one of the members.
2403
2382
  #
2404
2383
  # @!attribute [rw] add_region_action
2405
2384
  # Details about the Region that you're adding to the replication set.
@@ -2414,9 +2393,15 @@ module Aws::SSMIncidents
2414
2393
  #
2415
2394
  class UpdateReplicationSetAction < Struct.new(
2416
2395
  :add_region_action,
2417
- :delete_region_action)
2396
+ :delete_region_action,
2397
+ :unknown)
2418
2398
  SENSITIVE = []
2419
2399
  include Aws::Structure
2400
+ include Aws::Structure::Union
2401
+
2402
+ class AddRegionAction < UpdateReplicationSetAction; end
2403
+ class DeleteRegionAction < UpdateReplicationSetAction; end
2404
+ class Unknown < UpdateReplicationSetAction; end
2420
2405
  end
2421
2406
 
2422
2407
  # @note When making an API call, you may pass UpdateReplicationSetInput
@@ -2518,6 +2503,9 @@ module Aws::SSMIncidents
2518
2503
  # @!attribute [rw] chat_channel
2519
2504
  # The AWS Chatbot chat channel used for collaboration during an
2520
2505
  # incident.
2506
+ #
2507
+ # Use the empty structure to remove the chat channel from the response
2508
+ # plan.
2521
2509
  # @return [Types::ChatChannel]
2522
2510
  #
2523
2511
  # @!attribute [rw] client_token
@@ -2559,8 +2547,8 @@ module Aws::SSMIncidents
2559
2547
  # @return [Integer]
2560
2548
  #
2561
2549
  # @!attribute [rw] incident_template_notification_targets
2562
- # The SNS targets that AWS Chatbot uses to notify the chat channels
2563
- # and perform actions on the incident record.
2550
+ # The SNS targets that are notified when updates are made to an
2551
+ # incident.
2564
2552
  # @return [Array<Types::NotificationTargetItem>]
2565
2553
  #
2566
2554
  # @!attribute [rw] incident_template_summary
@@ -2598,7 +2586,7 @@ module Aws::SSMIncidents
2598
2586
  # data as a hash:
2599
2587
  #
2600
2588
  # {
2601
- # client_token: "ClientToken", # required
2589
+ # client_token: "ClientToken",
2602
2590
  # event_data: "EventData",
2603
2591
  # event_id: "UUID", # required
2604
2592
  # event_time: Time.now,
@@ -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.4.0'
53
53
 
54
54
  end
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.4.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-09-01 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.120.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.120.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ">="
79
79
  - !ruby/object:Gem::Version
80
- version: '0'
80
+ version: '2.3'
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="