aws-sdk-connectcampaignsv2 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1163 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::ConnectCampaignsV2
12
+ # @api private
13
+ module ClientApi
14
+
15
+ include Seahorse::Model
16
+
17
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ AgentlessConfig = Shapes::StructureShape.new(name: 'AgentlessConfig')
19
+ AnswerMachineDetectionConfig = Shapes::StructureShape.new(name: 'AnswerMachineDetectionConfig')
20
+ Arn = Shapes::StringShape.new(name: 'Arn')
21
+ AttributeName = Shapes::StringShape.new(name: 'AttributeName')
22
+ AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
23
+ Attributes = Shapes::MapShape.new(name: 'Attributes')
24
+ BandwidthAllocation = Shapes::FloatShape.new(name: 'BandwidthAllocation')
25
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
26
+ Campaign = Shapes::StructureShape.new(name: 'Campaign')
27
+ CampaignArn = Shapes::StringShape.new(name: 'CampaignArn')
28
+ CampaignDeletionPolicy = Shapes::StringShape.new(name: 'CampaignDeletionPolicy')
29
+ CampaignFilters = Shapes::StructureShape.new(name: 'CampaignFilters')
30
+ CampaignId = Shapes::StringShape.new(name: 'CampaignId')
31
+ CampaignName = Shapes::StringShape.new(name: 'CampaignName')
32
+ CampaignState = Shapes::StringShape.new(name: 'CampaignState')
33
+ CampaignSummary = Shapes::StructureShape.new(name: 'CampaignSummary')
34
+ CampaignSummaryList = Shapes::ListShape.new(name: 'CampaignSummaryList')
35
+ Capacity = Shapes::FloatShape.new(name: 'Capacity')
36
+ ChannelSubtype = Shapes::StringShape.new(name: 'ChannelSubtype')
37
+ ChannelSubtypeConfig = Shapes::StructureShape.new(name: 'ChannelSubtypeConfig')
38
+ ChannelSubtypeList = Shapes::ListShape.new(name: 'ChannelSubtypeList')
39
+ ChannelSubtypeParameters = Shapes::UnionShape.new(name: 'ChannelSubtypeParameters')
40
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
41
+ CommunicationLimit = Shapes::StructureShape.new(name: 'CommunicationLimit')
42
+ CommunicationLimitFrequencyInteger = Shapes::IntegerShape.new(name: 'CommunicationLimitFrequencyInteger')
43
+ CommunicationLimitList = Shapes::ListShape.new(name: 'CommunicationLimitList')
44
+ CommunicationLimitMaxCountPerRecipientInteger = Shapes::IntegerShape.new(name: 'CommunicationLimitMaxCountPerRecipientInteger')
45
+ CommunicationLimitTimeUnit = Shapes::StringShape.new(name: 'CommunicationLimitTimeUnit')
46
+ CommunicationLimits = Shapes::UnionShape.new(name: 'CommunicationLimits')
47
+ CommunicationLimitsConfig = Shapes::StructureShape.new(name: 'CommunicationLimitsConfig')
48
+ CommunicationLimitsConfigType = Shapes::StringShape.new(name: 'CommunicationLimitsConfigType')
49
+ CommunicationTimeConfig = Shapes::StructureShape.new(name: 'CommunicationTimeConfig')
50
+ CommunicationTimeConfigType = Shapes::StringShape.new(name: 'CommunicationTimeConfigType')
51
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
52
+ ContactFlowId = Shapes::StringShape.new(name: 'ContactFlowId')
53
+ CreateCampaignRequest = Shapes::StructureShape.new(name: 'CreateCampaignRequest')
54
+ CreateCampaignResponse = Shapes::StructureShape.new(name: 'CreateCampaignResponse')
55
+ CustomerProfilesIntegrationConfig = Shapes::StructureShape.new(name: 'CustomerProfilesIntegrationConfig')
56
+ CustomerProfilesIntegrationIdentifier = Shapes::StructureShape.new(name: 'CustomerProfilesIntegrationIdentifier')
57
+ CustomerProfilesIntegrationSummary = Shapes::StructureShape.new(name: 'CustomerProfilesIntegrationSummary')
58
+ DailyHours = Shapes::MapShape.new(name: 'DailyHours')
59
+ DayOfWeek = Shapes::StringShape.new(name: 'DayOfWeek')
60
+ DeleteCampaignChannelSubtypeConfigRequest = Shapes::StructureShape.new(name: 'DeleteCampaignChannelSubtypeConfigRequest')
61
+ DeleteCampaignCommunicationLimitsRequest = Shapes::StructureShape.new(name: 'DeleteCampaignCommunicationLimitsRequest')
62
+ DeleteCampaignCommunicationTimeRequest = Shapes::StructureShape.new(name: 'DeleteCampaignCommunicationTimeRequest')
63
+ DeleteCampaignRequest = Shapes::StructureShape.new(name: 'DeleteCampaignRequest')
64
+ DeleteConnectInstanceConfigRequest = Shapes::StructureShape.new(name: 'DeleteConnectInstanceConfigRequest')
65
+ DeleteConnectInstanceIntegrationRequest = Shapes::StructureShape.new(name: 'DeleteConnectInstanceIntegrationRequest')
66
+ DeleteInstanceOnboardingJobRequest = Shapes::StructureShape.new(name: 'DeleteInstanceOnboardingJobRequest')
67
+ DescribeCampaignRequest = Shapes::StructureShape.new(name: 'DescribeCampaignRequest')
68
+ DescribeCampaignResponse = Shapes::StructureShape.new(name: 'DescribeCampaignResponse')
69
+ DestinationPhoneNumber = Shapes::StringShape.new(name: 'DestinationPhoneNumber')
70
+ DialRequestId = Shapes::StringShape.new(name: 'DialRequestId')
71
+ EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
72
+ EmailChannelSubtypeConfig = Shapes::StructureShape.new(name: 'EmailChannelSubtypeConfig')
73
+ EmailChannelSubtypeParameters = Shapes::StructureShape.new(name: 'EmailChannelSubtypeParameters')
74
+ EmailDisplayName = Shapes::StringShape.new(name: 'EmailDisplayName')
75
+ EmailOutboundConfig = Shapes::StructureShape.new(name: 'EmailOutboundConfig')
76
+ EmailOutboundMode = Shapes::UnionShape.new(name: 'EmailOutboundMode')
77
+ Enabled = Shapes::BooleanShape.new(name: 'Enabled')
78
+ EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
79
+ EncryptionKey = Shapes::StringShape.new(name: 'EncryptionKey')
80
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
81
+ EventType = Shapes::StringShape.new(name: 'EventType')
82
+ FailedCampaignStateResponse = Shapes::StructureShape.new(name: 'FailedCampaignStateResponse')
83
+ FailedCampaignStateResponseList = Shapes::ListShape.new(name: 'FailedCampaignStateResponseList')
84
+ FailedRequest = Shapes::StructureShape.new(name: 'FailedRequest')
85
+ FailedRequestList = Shapes::ListShape.new(name: 'FailedRequestList')
86
+ FailureCode = Shapes::StringShape.new(name: 'FailureCode')
87
+ GetCampaignStateBatchFailureCode = Shapes::StringShape.new(name: 'GetCampaignStateBatchFailureCode')
88
+ GetCampaignStateBatchRequest = Shapes::StructureShape.new(name: 'GetCampaignStateBatchRequest')
89
+ GetCampaignStateBatchRequestCampaignIdsList = Shapes::ListShape.new(name: 'GetCampaignStateBatchRequestCampaignIdsList')
90
+ GetCampaignStateBatchResponse = Shapes::StructureShape.new(name: 'GetCampaignStateBatchResponse')
91
+ GetCampaignStateRequest = Shapes::StructureShape.new(name: 'GetCampaignStateRequest')
92
+ GetCampaignStateResponse = Shapes::StructureShape.new(name: 'GetCampaignStateResponse')
93
+ GetConnectInstanceConfigRequest = Shapes::StructureShape.new(name: 'GetConnectInstanceConfigRequest')
94
+ GetConnectInstanceConfigResponse = Shapes::StructureShape.new(name: 'GetConnectInstanceConfigResponse')
95
+ GetInstanceOnboardingJobStatusRequest = Shapes::StructureShape.new(name: 'GetInstanceOnboardingJobStatusRequest')
96
+ GetInstanceOnboardingJobStatusResponse = Shapes::StructureShape.new(name: 'GetInstanceOnboardingJobStatusResponse')
97
+ InstanceConfig = Shapes::StructureShape.new(name: 'InstanceConfig')
98
+ InstanceId = Shapes::StringShape.new(name: 'InstanceId')
99
+ InstanceIdFilter = Shapes::StructureShape.new(name: 'InstanceIdFilter')
100
+ InstanceIdFilterOperator = Shapes::StringShape.new(name: 'InstanceIdFilterOperator')
101
+ InstanceOnboardingJobFailureCode = Shapes::StringShape.new(name: 'InstanceOnboardingJobFailureCode')
102
+ InstanceOnboardingJobStatus = Shapes::StructureShape.new(name: 'InstanceOnboardingJobStatus')
103
+ InstanceOnboardingJobStatusCode = Shapes::StringShape.new(name: 'InstanceOnboardingJobStatusCode')
104
+ IntegrationConfig = Shapes::UnionShape.new(name: 'IntegrationConfig')
105
+ IntegrationIdentifier = Shapes::UnionShape.new(name: 'IntegrationIdentifier')
106
+ IntegrationSummary = Shapes::UnionShape.new(name: 'IntegrationSummary')
107
+ IntegrationSummaryList = Shapes::ListShape.new(name: 'IntegrationSummaryList')
108
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
109
+ InvalidCampaignStateException = Shapes::StructureShape.new(name: 'InvalidCampaignStateException')
110
+ InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
111
+ Iso8601Date = Shapes::StringShape.new(name: 'Iso8601Date')
112
+ Iso8601Duration = Shapes::StringShape.new(name: 'Iso8601Duration')
113
+ Iso8601Time = Shapes::StringShape.new(name: 'Iso8601Time')
114
+ ListCampaignsRequest = Shapes::StructureShape.new(name: 'ListCampaignsRequest')
115
+ ListCampaignsResponse = Shapes::StructureShape.new(name: 'ListCampaignsResponse')
116
+ ListConnectInstanceIntegrationsRequest = Shapes::StructureShape.new(name: 'ListConnectInstanceIntegrationsRequest')
117
+ ListConnectInstanceIntegrationsResponse = Shapes::StructureShape.new(name: 'ListConnectInstanceIntegrationsResponse')
118
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
119
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
120
+ LocalTimeZoneConfig = Shapes::StructureShape.new(name: 'LocalTimeZoneConfig')
121
+ LocalTimeZoneDetection = Shapes::ListShape.new(name: 'LocalTimeZoneDetection')
122
+ LocalTimeZoneDetectionType = Shapes::StringShape.new(name: 'LocalTimeZoneDetectionType')
123
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
124
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
125
+ ObjectTypeName = Shapes::StringShape.new(name: 'ObjectTypeName')
126
+ ObjectTypeNamesMap = Shapes::MapShape.new(name: 'ObjectTypeNamesMap')
127
+ OpenHours = Shapes::UnionShape.new(name: 'OpenHours')
128
+ OutboundRequest = Shapes::StructureShape.new(name: 'OutboundRequest')
129
+ OutboundRequestList = Shapes::ListShape.new(name: 'OutboundRequestList')
130
+ PauseCampaignRequest = Shapes::StructureShape.new(name: 'PauseCampaignRequest')
131
+ PredictiveConfig = Shapes::StructureShape.new(name: 'PredictiveConfig')
132
+ ProgressiveConfig = Shapes::StructureShape.new(name: 'ProgressiveConfig')
133
+ PutConnectInstanceIntegrationRequest = Shapes::StructureShape.new(name: 'PutConnectInstanceIntegrationRequest')
134
+ PutOutboundRequestBatchRequest = Shapes::StructureShape.new(name: 'PutOutboundRequestBatchRequest')
135
+ PutOutboundRequestBatchResponse = Shapes::StructureShape.new(name: 'PutOutboundRequestBatchResponse')
136
+ QConnectIntegrationConfig = Shapes::StructureShape.new(name: 'QConnectIntegrationConfig')
137
+ QConnectIntegrationIdentifier = Shapes::StructureShape.new(name: 'QConnectIntegrationIdentifier')
138
+ QConnectIntegrationSummary = Shapes::StructureShape.new(name: 'QConnectIntegrationSummary')
139
+ QueueId = Shapes::StringShape.new(name: 'QueueId')
140
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
141
+ RestrictedPeriod = Shapes::StructureShape.new(name: 'RestrictedPeriod')
142
+ RestrictedPeriodList = Shapes::ListShape.new(name: 'RestrictedPeriodList')
143
+ RestrictedPeriodName = Shapes::StringShape.new(name: 'RestrictedPeriodName')
144
+ RestrictedPeriods = Shapes::UnionShape.new(name: 'RestrictedPeriods')
145
+ ResumeCampaignRequest = Shapes::StructureShape.new(name: 'ResumeCampaignRequest')
146
+ Schedule = Shapes::StructureShape.new(name: 'Schedule')
147
+ ServiceLinkedRoleArn = Shapes::StringShape.new(name: 'ServiceLinkedRoleArn')
148
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
149
+ SmsChannelSubtypeConfig = Shapes::StructureShape.new(name: 'SmsChannelSubtypeConfig')
150
+ SmsChannelSubtypeParameters = Shapes::StructureShape.new(name: 'SmsChannelSubtypeParameters')
151
+ SmsOutboundConfig = Shapes::StructureShape.new(name: 'SmsOutboundConfig')
152
+ SmsOutboundMode = Shapes::UnionShape.new(name: 'SmsOutboundMode')
153
+ Source = Shapes::UnionShape.new(name: 'Source')
154
+ SourcePhoneNumber = Shapes::StringShape.new(name: 'SourcePhoneNumber')
155
+ StartCampaignRequest = Shapes::StructureShape.new(name: 'StartCampaignRequest')
156
+ StartInstanceOnboardingJobRequest = Shapes::StructureShape.new(name: 'StartInstanceOnboardingJobRequest')
157
+ StartInstanceOnboardingJobResponse = Shapes::StructureShape.new(name: 'StartInstanceOnboardingJobResponse')
158
+ StopCampaignRequest = Shapes::StructureShape.new(name: 'StopCampaignRequest')
159
+ String = Shapes::StringShape.new(name: 'String')
160
+ SuccessfulCampaignStateResponse = Shapes::StructureShape.new(name: 'SuccessfulCampaignStateResponse')
161
+ SuccessfulCampaignStateResponseList = Shapes::ListShape.new(name: 'SuccessfulCampaignStateResponseList')
162
+ SuccessfulRequest = Shapes::StructureShape.new(name: 'SuccessfulRequest')
163
+ SuccessfulRequestList = Shapes::ListShape.new(name: 'SuccessfulRequestList')
164
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
165
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
166
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
167
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
168
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
169
+ TelephonyChannelSubtypeConfig = Shapes::StructureShape.new(name: 'TelephonyChannelSubtypeConfig')
170
+ TelephonyChannelSubtypeParameters = Shapes::StructureShape.new(name: 'TelephonyChannelSubtypeParameters')
171
+ TelephonyOutboundConfig = Shapes::StructureShape.new(name: 'TelephonyOutboundConfig')
172
+ TelephonyOutboundMode = Shapes::UnionShape.new(name: 'TelephonyOutboundMode')
173
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
174
+ TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
175
+ TimeRangeList = Shapes::ListShape.new(name: 'TimeRangeList')
176
+ TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp', timestampFormat: "iso8601")
177
+ TimeWindow = Shapes::StructureShape.new(name: 'TimeWindow')
178
+ TimeZone = Shapes::StringShape.new(name: 'TimeZone')
179
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
180
+ UpdateCampaignChannelSubtypeConfigRequest = Shapes::StructureShape.new(name: 'UpdateCampaignChannelSubtypeConfigRequest')
181
+ UpdateCampaignCommunicationLimitsRequest = Shapes::StructureShape.new(name: 'UpdateCampaignCommunicationLimitsRequest')
182
+ UpdateCampaignCommunicationTimeRequest = Shapes::StructureShape.new(name: 'UpdateCampaignCommunicationTimeRequest')
183
+ UpdateCampaignFlowAssociationRequest = Shapes::StructureShape.new(name: 'UpdateCampaignFlowAssociationRequest')
184
+ UpdateCampaignNameRequest = Shapes::StructureShape.new(name: 'UpdateCampaignNameRequest')
185
+ UpdateCampaignScheduleRequest = Shapes::StructureShape.new(name: 'UpdateCampaignScheduleRequest')
186
+ UpdateCampaignSourceRequest = Shapes::StructureShape.new(name: 'UpdateCampaignSourceRequest')
187
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
188
+ XAmazonErrorType = Shapes::StringShape.new(name: 'XAmazonErrorType')
189
+
190
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
191
+ AccessDeniedException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
192
+ AccessDeniedException.struct_class = Types::AccessDeniedException
193
+
194
+ AgentlessConfig.struct_class = Types::AgentlessConfig
195
+
196
+ AnswerMachineDetectionConfig.add_member(:enable_answer_machine_detection, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enableAnswerMachineDetection"))
197
+ AnswerMachineDetectionConfig.add_member(:await_answer_machine_prompt, Shapes::ShapeRef.new(shape: Boolean, location_name: "awaitAnswerMachinePrompt"))
198
+ AnswerMachineDetectionConfig.struct_class = Types::AnswerMachineDetectionConfig
199
+
200
+ Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
201
+ Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
202
+
203
+ Campaign.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location_name: "id"))
204
+ Campaign.add_member(:arn, Shapes::ShapeRef.new(shape: CampaignArn, required: true, location_name: "arn"))
205
+ Campaign.add_member(:name, Shapes::ShapeRef.new(shape: CampaignName, required: true, location_name: "name"))
206
+ Campaign.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
207
+ Campaign.add_member(:channel_subtype_config, Shapes::ShapeRef.new(shape: ChannelSubtypeConfig, required: true, location_name: "channelSubtypeConfig"))
208
+ Campaign.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
209
+ Campaign.add_member(:connect_campaign_flow_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "connectCampaignFlowArn"))
210
+ Campaign.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
211
+ Campaign.add_member(:communication_time_config, Shapes::ShapeRef.new(shape: CommunicationTimeConfig, location_name: "communicationTimeConfig"))
212
+ Campaign.add_member(:communication_limits_override, Shapes::ShapeRef.new(shape: CommunicationLimitsConfig, location_name: "communicationLimitsOverride"))
213
+ Campaign.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
214
+ Campaign.struct_class = Types::Campaign
215
+
216
+ CampaignFilters.add_member(:instance_id_filter, Shapes::ShapeRef.new(shape: InstanceIdFilter, location_name: "instanceIdFilter"))
217
+ CampaignFilters.struct_class = Types::CampaignFilters
218
+
219
+ CampaignSummary.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location_name: "id"))
220
+ CampaignSummary.add_member(:arn, Shapes::ShapeRef.new(shape: CampaignArn, required: true, location_name: "arn"))
221
+ CampaignSummary.add_member(:name, Shapes::ShapeRef.new(shape: CampaignName, required: true, location_name: "name"))
222
+ CampaignSummary.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
223
+ CampaignSummary.add_member(:channel_subtypes, Shapes::ShapeRef.new(shape: ChannelSubtypeList, required: true, location_name: "channelSubtypes"))
224
+ CampaignSummary.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
225
+ CampaignSummary.add_member(:connect_campaign_flow_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "connectCampaignFlowArn"))
226
+ CampaignSummary.struct_class = Types::CampaignSummary
227
+
228
+ CampaignSummaryList.member = Shapes::ShapeRef.new(shape: CampaignSummary)
229
+
230
+ ChannelSubtypeConfig.add_member(:telephony, Shapes::ShapeRef.new(shape: TelephonyChannelSubtypeConfig, location_name: "telephony"))
231
+ ChannelSubtypeConfig.add_member(:sms, Shapes::ShapeRef.new(shape: SmsChannelSubtypeConfig, location_name: "sms"))
232
+ ChannelSubtypeConfig.add_member(:email, Shapes::ShapeRef.new(shape: EmailChannelSubtypeConfig, location_name: "email"))
233
+ ChannelSubtypeConfig.struct_class = Types::ChannelSubtypeConfig
234
+
235
+ ChannelSubtypeList.member = Shapes::ShapeRef.new(shape: ChannelSubtype)
236
+
237
+ ChannelSubtypeParameters.add_member(:telephony, Shapes::ShapeRef.new(shape: TelephonyChannelSubtypeParameters, location_name: "telephony"))
238
+ ChannelSubtypeParameters.add_member(:sms, Shapes::ShapeRef.new(shape: SmsChannelSubtypeParameters, location_name: "sms"))
239
+ ChannelSubtypeParameters.add_member(:email, Shapes::ShapeRef.new(shape: EmailChannelSubtypeParameters, location_name: "email"))
240
+ ChannelSubtypeParameters.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
241
+ ChannelSubtypeParameters.add_member_subclass(:telephony, Types::ChannelSubtypeParameters::Telephony)
242
+ ChannelSubtypeParameters.add_member_subclass(:sms, Types::ChannelSubtypeParameters::Sms)
243
+ ChannelSubtypeParameters.add_member_subclass(:email, Types::ChannelSubtypeParameters::Email)
244
+ ChannelSubtypeParameters.add_member_subclass(:unknown, Types::ChannelSubtypeParameters::Unknown)
245
+ ChannelSubtypeParameters.struct_class = Types::ChannelSubtypeParameters
246
+
247
+ CommunicationLimit.add_member(:max_count_per_recipient, Shapes::ShapeRef.new(shape: CommunicationLimitMaxCountPerRecipientInteger, required: true, location_name: "maxCountPerRecipient"))
248
+ CommunicationLimit.add_member(:frequency, Shapes::ShapeRef.new(shape: CommunicationLimitFrequencyInteger, required: true, location_name: "frequency"))
249
+ CommunicationLimit.add_member(:unit, Shapes::ShapeRef.new(shape: CommunicationLimitTimeUnit, required: true, location_name: "unit"))
250
+ CommunicationLimit.struct_class = Types::CommunicationLimit
251
+
252
+ CommunicationLimitList.member = Shapes::ShapeRef.new(shape: CommunicationLimit)
253
+
254
+ CommunicationLimits.add_member(:communication_limits_list, Shapes::ShapeRef.new(shape: CommunicationLimitList, location_name: "communicationLimitsList"))
255
+ CommunicationLimits.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
256
+ CommunicationLimits.add_member_subclass(:communication_limits_list, Types::CommunicationLimits::CommunicationLimitsList)
257
+ CommunicationLimits.add_member_subclass(:unknown, Types::CommunicationLimits::Unknown)
258
+ CommunicationLimits.struct_class = Types::CommunicationLimits
259
+
260
+ CommunicationLimitsConfig.add_member(:all_channel_subtypes, Shapes::ShapeRef.new(shape: CommunicationLimits, location_name: "allChannelSubtypes"))
261
+ CommunicationLimitsConfig.struct_class = Types::CommunicationLimitsConfig
262
+
263
+ CommunicationTimeConfig.add_member(:local_time_zone_config, Shapes::ShapeRef.new(shape: LocalTimeZoneConfig, required: true, location_name: "localTimeZoneConfig"))
264
+ CommunicationTimeConfig.add_member(:telephony, Shapes::ShapeRef.new(shape: TimeWindow, location_name: "telephony"))
265
+ CommunicationTimeConfig.add_member(:sms, Shapes::ShapeRef.new(shape: TimeWindow, location_name: "sms"))
266
+ CommunicationTimeConfig.add_member(:email, Shapes::ShapeRef.new(shape: TimeWindow, location_name: "email"))
267
+ CommunicationTimeConfig.struct_class = Types::CommunicationTimeConfig
268
+
269
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
270
+ ConflictException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
271
+ ConflictException.struct_class = Types::ConflictException
272
+
273
+ CreateCampaignRequest.add_member(:name, Shapes::ShapeRef.new(shape: CampaignName, required: true, location_name: "name"))
274
+ CreateCampaignRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
275
+ CreateCampaignRequest.add_member(:channel_subtype_config, Shapes::ShapeRef.new(shape: ChannelSubtypeConfig, required: true, location_name: "channelSubtypeConfig"))
276
+ CreateCampaignRequest.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
277
+ CreateCampaignRequest.add_member(:connect_campaign_flow_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "connectCampaignFlowArn"))
278
+ CreateCampaignRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
279
+ CreateCampaignRequest.add_member(:communication_time_config, Shapes::ShapeRef.new(shape: CommunicationTimeConfig, location_name: "communicationTimeConfig"))
280
+ CreateCampaignRequest.add_member(:communication_limits_override, Shapes::ShapeRef.new(shape: CommunicationLimitsConfig, location_name: "communicationLimitsOverride"))
281
+ CreateCampaignRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
282
+ CreateCampaignRequest.struct_class = Types::CreateCampaignRequest
283
+
284
+ CreateCampaignResponse.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, location_name: "id"))
285
+ CreateCampaignResponse.add_member(:arn, Shapes::ShapeRef.new(shape: CampaignArn, location_name: "arn"))
286
+ CreateCampaignResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
287
+ CreateCampaignResponse.struct_class = Types::CreateCampaignResponse
288
+
289
+ CustomerProfilesIntegrationConfig.add_member(:domain_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "domainArn"))
290
+ CustomerProfilesIntegrationConfig.add_member(:object_type_names, Shapes::ShapeRef.new(shape: ObjectTypeNamesMap, required: true, location_name: "objectTypeNames"))
291
+ CustomerProfilesIntegrationConfig.struct_class = Types::CustomerProfilesIntegrationConfig
292
+
293
+ CustomerProfilesIntegrationIdentifier.add_member(:domain_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "domainArn"))
294
+ CustomerProfilesIntegrationIdentifier.struct_class = Types::CustomerProfilesIntegrationIdentifier
295
+
296
+ CustomerProfilesIntegrationSummary.add_member(:domain_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "domainArn"))
297
+ CustomerProfilesIntegrationSummary.add_member(:object_type_names, Shapes::ShapeRef.new(shape: ObjectTypeNamesMap, required: true, location_name: "objectTypeNames"))
298
+ CustomerProfilesIntegrationSummary.struct_class = Types::CustomerProfilesIntegrationSummary
299
+
300
+ DailyHours.key = Shapes::ShapeRef.new(shape: DayOfWeek)
301
+ DailyHours.value = Shapes::ShapeRef.new(shape: TimeRangeList)
302
+
303
+ DeleteCampaignChannelSubtypeConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
304
+ DeleteCampaignChannelSubtypeConfigRequest.add_member(:channel_subtype, Shapes::ShapeRef.new(shape: ChannelSubtype, required: true, location: "querystring", location_name: "channelSubtype"))
305
+ DeleteCampaignChannelSubtypeConfigRequest.struct_class = Types::DeleteCampaignChannelSubtypeConfigRequest
306
+
307
+ DeleteCampaignCommunicationLimitsRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
308
+ DeleteCampaignCommunicationLimitsRequest.add_member(:config, Shapes::ShapeRef.new(shape: CommunicationLimitsConfigType, required: true, location: "querystring", location_name: "config"))
309
+ DeleteCampaignCommunicationLimitsRequest.struct_class = Types::DeleteCampaignCommunicationLimitsRequest
310
+
311
+ DeleteCampaignCommunicationTimeRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
312
+ DeleteCampaignCommunicationTimeRequest.add_member(:config, Shapes::ShapeRef.new(shape: CommunicationTimeConfigType, required: true, location: "querystring", location_name: "config"))
313
+ DeleteCampaignCommunicationTimeRequest.struct_class = Types::DeleteCampaignCommunicationTimeRequest
314
+
315
+ DeleteCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
316
+ DeleteCampaignRequest.struct_class = Types::DeleteCampaignRequest
317
+
318
+ DeleteConnectInstanceConfigRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
319
+ DeleteConnectInstanceConfigRequest.add_member(:campaign_deletion_policy, Shapes::ShapeRef.new(shape: CampaignDeletionPolicy, location: "querystring", location_name: "campaignDeletionPolicy"))
320
+ DeleteConnectInstanceConfigRequest.struct_class = Types::DeleteConnectInstanceConfigRequest
321
+
322
+ DeleteConnectInstanceIntegrationRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
323
+ DeleteConnectInstanceIntegrationRequest.add_member(:integration_identifier, Shapes::ShapeRef.new(shape: IntegrationIdentifier, required: true, location_name: "integrationIdentifier"))
324
+ DeleteConnectInstanceIntegrationRequest.struct_class = Types::DeleteConnectInstanceIntegrationRequest
325
+
326
+ DeleteInstanceOnboardingJobRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
327
+ DeleteInstanceOnboardingJobRequest.struct_class = Types::DeleteInstanceOnboardingJobRequest
328
+
329
+ DescribeCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
330
+ DescribeCampaignRequest.struct_class = Types::DescribeCampaignRequest
331
+
332
+ DescribeCampaignResponse.add_member(:campaign, Shapes::ShapeRef.new(shape: Campaign, location_name: "campaign"))
333
+ DescribeCampaignResponse.struct_class = Types::DescribeCampaignResponse
334
+
335
+ EmailChannelSubtypeConfig.add_member(:capacity, Shapes::ShapeRef.new(shape: Capacity, location_name: "capacity"))
336
+ EmailChannelSubtypeConfig.add_member(:outbound_mode, Shapes::ShapeRef.new(shape: EmailOutboundMode, required: true, location_name: "outboundMode"))
337
+ EmailChannelSubtypeConfig.add_member(:default_outbound_config, Shapes::ShapeRef.new(shape: EmailOutboundConfig, required: true, location_name: "defaultOutboundConfig"))
338
+ EmailChannelSubtypeConfig.struct_class = Types::EmailChannelSubtypeConfig
339
+
340
+ EmailChannelSubtypeParameters.add_member(:destination_email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "destinationEmailAddress"))
341
+ EmailChannelSubtypeParameters.add_member(:connect_source_email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "connectSourceEmailAddress"))
342
+ EmailChannelSubtypeParameters.add_member(:template_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "templateArn"))
343
+ EmailChannelSubtypeParameters.add_member(:template_parameters, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "templateParameters"))
344
+ EmailChannelSubtypeParameters.struct_class = Types::EmailChannelSubtypeParameters
345
+
346
+ EmailOutboundConfig.add_member(:connect_source_email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "connectSourceEmailAddress"))
347
+ EmailOutboundConfig.add_member(:source_email_address_display_name, Shapes::ShapeRef.new(shape: EmailDisplayName, location_name: "sourceEmailAddressDisplayName"))
348
+ EmailOutboundConfig.add_member(:wisdom_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "wisdomTemplateArn"))
349
+ EmailOutboundConfig.struct_class = Types::EmailOutboundConfig
350
+
351
+ EmailOutboundMode.add_member(:agentless, Shapes::ShapeRef.new(shape: AgentlessConfig, location_name: "agentless"))
352
+ EmailOutboundMode.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
353
+ EmailOutboundMode.add_member_subclass(:agentless, Types::EmailOutboundMode::Agentless)
354
+ EmailOutboundMode.add_member_subclass(:unknown, Types::EmailOutboundMode::Unknown)
355
+ EmailOutboundMode.struct_class = Types::EmailOutboundMode
356
+
357
+ EncryptionConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "enabled"))
358
+ EncryptionConfig.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "encryptionType"))
359
+ EncryptionConfig.add_member(:key_arn, Shapes::ShapeRef.new(shape: EncryptionKey, location_name: "keyArn"))
360
+ EncryptionConfig.struct_class = Types::EncryptionConfig
361
+
362
+ FailedCampaignStateResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: CampaignId, location_name: "campaignId"))
363
+ FailedCampaignStateResponse.add_member(:failure_code, Shapes::ShapeRef.new(shape: GetCampaignStateBatchFailureCode, location_name: "failureCode"))
364
+ FailedCampaignStateResponse.struct_class = Types::FailedCampaignStateResponse
365
+
366
+ FailedCampaignStateResponseList.member = Shapes::ShapeRef.new(shape: FailedCampaignStateResponse)
367
+
368
+ FailedRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
369
+ FailedRequest.add_member(:id, Shapes::ShapeRef.new(shape: DialRequestId, location_name: "id"))
370
+ FailedRequest.add_member(:failure_code, Shapes::ShapeRef.new(shape: FailureCode, location_name: "failureCode"))
371
+ FailedRequest.struct_class = Types::FailedRequest
372
+
373
+ FailedRequestList.member = Shapes::ShapeRef.new(shape: FailedRequest)
374
+
375
+ GetCampaignStateBatchRequest.add_member(:campaign_ids, Shapes::ShapeRef.new(shape: GetCampaignStateBatchRequestCampaignIdsList, required: true, location_name: "campaignIds"))
376
+ GetCampaignStateBatchRequest.struct_class = Types::GetCampaignStateBatchRequest
377
+
378
+ GetCampaignStateBatchRequestCampaignIdsList.member = Shapes::ShapeRef.new(shape: CampaignId)
379
+
380
+ GetCampaignStateBatchResponse.add_member(:successful_requests, Shapes::ShapeRef.new(shape: SuccessfulCampaignStateResponseList, location_name: "successfulRequests"))
381
+ GetCampaignStateBatchResponse.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedCampaignStateResponseList, location_name: "failedRequests"))
382
+ GetCampaignStateBatchResponse.struct_class = Types::GetCampaignStateBatchResponse
383
+
384
+ GetCampaignStateRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
385
+ GetCampaignStateRequest.struct_class = Types::GetCampaignStateRequest
386
+
387
+ GetCampaignStateResponse.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "state"))
388
+ GetCampaignStateResponse.struct_class = Types::GetCampaignStateResponse
389
+
390
+ GetConnectInstanceConfigRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
391
+ GetConnectInstanceConfigRequest.struct_class = Types::GetConnectInstanceConfigRequest
392
+
393
+ GetConnectInstanceConfigResponse.add_member(:connect_instance_config, Shapes::ShapeRef.new(shape: InstanceConfig, location_name: "connectInstanceConfig"))
394
+ GetConnectInstanceConfigResponse.struct_class = Types::GetConnectInstanceConfigResponse
395
+
396
+ GetInstanceOnboardingJobStatusRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
397
+ GetInstanceOnboardingJobStatusRequest.struct_class = Types::GetInstanceOnboardingJobStatusRequest
398
+
399
+ GetInstanceOnboardingJobStatusResponse.add_member(:connect_instance_onboarding_job_status, Shapes::ShapeRef.new(shape: InstanceOnboardingJobStatus, location_name: "connectInstanceOnboardingJobStatus"))
400
+ GetInstanceOnboardingJobStatusResponse.struct_class = Types::GetInstanceOnboardingJobStatusResponse
401
+
402
+ InstanceConfig.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
403
+ InstanceConfig.add_member(:service_linked_role_arn, Shapes::ShapeRef.new(shape: ServiceLinkedRoleArn, required: true, location_name: "serviceLinkedRoleArn"))
404
+ InstanceConfig.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, required: true, location_name: "encryptionConfig"))
405
+ InstanceConfig.struct_class = Types::InstanceConfig
406
+
407
+ InstanceIdFilter.add_member(:value, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "value"))
408
+ InstanceIdFilter.add_member(:operator, Shapes::ShapeRef.new(shape: InstanceIdFilterOperator, required: true, location_name: "operator"))
409
+ InstanceIdFilter.struct_class = Types::InstanceIdFilter
410
+
411
+ InstanceOnboardingJobStatus.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
412
+ InstanceOnboardingJobStatus.add_member(:status, Shapes::ShapeRef.new(shape: InstanceOnboardingJobStatusCode, required: true, location_name: "status"))
413
+ InstanceOnboardingJobStatus.add_member(:failure_code, Shapes::ShapeRef.new(shape: InstanceOnboardingJobFailureCode, location_name: "failureCode"))
414
+ InstanceOnboardingJobStatus.struct_class = Types::InstanceOnboardingJobStatus
415
+
416
+ IntegrationConfig.add_member(:customer_profiles, Shapes::ShapeRef.new(shape: CustomerProfilesIntegrationConfig, location_name: "customerProfiles"))
417
+ IntegrationConfig.add_member(:q_connect, Shapes::ShapeRef.new(shape: QConnectIntegrationConfig, location_name: "qConnect"))
418
+ IntegrationConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
419
+ IntegrationConfig.add_member_subclass(:customer_profiles, Types::IntegrationConfig::CustomerProfiles)
420
+ IntegrationConfig.add_member_subclass(:q_connect, Types::IntegrationConfig::QConnect)
421
+ IntegrationConfig.add_member_subclass(:unknown, Types::IntegrationConfig::Unknown)
422
+ IntegrationConfig.struct_class = Types::IntegrationConfig
423
+
424
+ IntegrationIdentifier.add_member(:customer_profiles, Shapes::ShapeRef.new(shape: CustomerProfilesIntegrationIdentifier, location_name: "customerProfiles"))
425
+ IntegrationIdentifier.add_member(:q_connect, Shapes::ShapeRef.new(shape: QConnectIntegrationIdentifier, location_name: "qConnect"))
426
+ IntegrationIdentifier.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
427
+ IntegrationIdentifier.add_member_subclass(:customer_profiles, Types::IntegrationIdentifier::CustomerProfiles)
428
+ IntegrationIdentifier.add_member_subclass(:q_connect, Types::IntegrationIdentifier::QConnect)
429
+ IntegrationIdentifier.add_member_subclass(:unknown, Types::IntegrationIdentifier::Unknown)
430
+ IntegrationIdentifier.struct_class = Types::IntegrationIdentifier
431
+
432
+ IntegrationSummary.add_member(:customer_profiles, Shapes::ShapeRef.new(shape: CustomerProfilesIntegrationSummary, location_name: "customerProfiles"))
433
+ IntegrationSummary.add_member(:q_connect, Shapes::ShapeRef.new(shape: QConnectIntegrationSummary, location_name: "qConnect"))
434
+ IntegrationSummary.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
435
+ IntegrationSummary.add_member_subclass(:customer_profiles, Types::IntegrationSummary::CustomerProfiles)
436
+ IntegrationSummary.add_member_subclass(:q_connect, Types::IntegrationSummary::QConnect)
437
+ IntegrationSummary.add_member_subclass(:unknown, Types::IntegrationSummary::Unknown)
438
+ IntegrationSummary.struct_class = Types::IntegrationSummary
439
+
440
+ IntegrationSummaryList.member = Shapes::ShapeRef.new(shape: IntegrationSummary)
441
+
442
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
443
+ InternalServerException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
444
+ InternalServerException.struct_class = Types::InternalServerException
445
+
446
+ InvalidCampaignStateException.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, required: true, location_name: "state"))
447
+ InvalidCampaignStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
448
+ InvalidCampaignStateException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
449
+ InvalidCampaignStateException.struct_class = Types::InvalidCampaignStateException
450
+
451
+ InvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
452
+ InvalidStateException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
453
+ InvalidStateException.struct_class = Types::InvalidStateException
454
+
455
+ ListCampaignsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
456
+ ListCampaignsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
457
+ ListCampaignsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: CampaignFilters, location_name: "filters"))
458
+ ListCampaignsRequest.struct_class = Types::ListCampaignsRequest
459
+
460
+ ListCampaignsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
461
+ ListCampaignsResponse.add_member(:campaign_summary_list, Shapes::ShapeRef.new(shape: CampaignSummaryList, location_name: "campaignSummaryList"))
462
+ ListCampaignsResponse.struct_class = Types::ListCampaignsResponse
463
+
464
+ ListConnectInstanceIntegrationsRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
465
+ ListConnectInstanceIntegrationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
466
+ ListConnectInstanceIntegrationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
467
+ ListConnectInstanceIntegrationsRequest.struct_class = Types::ListConnectInstanceIntegrationsRequest
468
+
469
+ ListConnectInstanceIntegrationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
470
+ ListConnectInstanceIntegrationsResponse.add_member(:integration_summary_list, Shapes::ShapeRef.new(shape: IntegrationSummaryList, location_name: "integrationSummaryList"))
471
+ ListConnectInstanceIntegrationsResponse.struct_class = Types::ListConnectInstanceIntegrationsResponse
472
+
473
+ ListTagsForResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "arn"))
474
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
475
+
476
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
477
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
478
+
479
+ LocalTimeZoneConfig.add_member(:default_time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "defaultTimeZone"))
480
+ LocalTimeZoneConfig.add_member(:local_time_zone_detection, Shapes::ShapeRef.new(shape: LocalTimeZoneDetection, location_name: "localTimeZoneDetection"))
481
+ LocalTimeZoneConfig.struct_class = Types::LocalTimeZoneConfig
482
+
483
+ LocalTimeZoneDetection.member = Shapes::ShapeRef.new(shape: LocalTimeZoneDetectionType)
484
+
485
+ ObjectTypeNamesMap.key = Shapes::ShapeRef.new(shape: EventType)
486
+ ObjectTypeNamesMap.value = Shapes::ShapeRef.new(shape: ObjectTypeName)
487
+
488
+ OpenHours.add_member(:daily_hours, Shapes::ShapeRef.new(shape: DailyHours, location_name: "dailyHours"))
489
+ OpenHours.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
490
+ OpenHours.add_member_subclass(:daily_hours, Types::OpenHours::DailyHours)
491
+ OpenHours.add_member_subclass(:unknown, Types::OpenHours::Unknown)
492
+ OpenHours.struct_class = Types::OpenHours
493
+
494
+ OutboundRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken"))
495
+ OutboundRequest.add_member(:expiration_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "expirationTime"))
496
+ OutboundRequest.add_member(:channel_subtype_parameters, Shapes::ShapeRef.new(shape: ChannelSubtypeParameters, required: true, location_name: "channelSubtypeParameters"))
497
+ OutboundRequest.struct_class = Types::OutboundRequest
498
+
499
+ OutboundRequestList.member = Shapes::ShapeRef.new(shape: OutboundRequest)
500
+
501
+ PauseCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
502
+ PauseCampaignRequest.struct_class = Types::PauseCampaignRequest
503
+
504
+ PredictiveConfig.add_member(:bandwidth_allocation, Shapes::ShapeRef.new(shape: BandwidthAllocation, required: true, location_name: "bandwidthAllocation"))
505
+ PredictiveConfig.struct_class = Types::PredictiveConfig
506
+
507
+ ProgressiveConfig.add_member(:bandwidth_allocation, Shapes::ShapeRef.new(shape: BandwidthAllocation, required: true, location_name: "bandwidthAllocation"))
508
+ ProgressiveConfig.struct_class = Types::ProgressiveConfig
509
+
510
+ PutConnectInstanceIntegrationRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
511
+ PutConnectInstanceIntegrationRequest.add_member(:integration_config, Shapes::ShapeRef.new(shape: IntegrationConfig, required: true, location_name: "integrationConfig"))
512
+ PutConnectInstanceIntegrationRequest.struct_class = Types::PutConnectInstanceIntegrationRequest
513
+
514
+ PutOutboundRequestBatchRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
515
+ PutOutboundRequestBatchRequest.add_member(:outbound_requests, Shapes::ShapeRef.new(shape: OutboundRequestList, required: true, location_name: "outboundRequests"))
516
+ PutOutboundRequestBatchRequest.struct_class = Types::PutOutboundRequestBatchRequest
517
+
518
+ PutOutboundRequestBatchResponse.add_member(:successful_requests, Shapes::ShapeRef.new(shape: SuccessfulRequestList, location_name: "successfulRequests"))
519
+ PutOutboundRequestBatchResponse.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRequestList, location_name: "failedRequests"))
520
+ PutOutboundRequestBatchResponse.struct_class = Types::PutOutboundRequestBatchResponse
521
+
522
+ QConnectIntegrationConfig.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
523
+ QConnectIntegrationConfig.struct_class = Types::QConnectIntegrationConfig
524
+
525
+ QConnectIntegrationIdentifier.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
526
+ QConnectIntegrationIdentifier.struct_class = Types::QConnectIntegrationIdentifier
527
+
528
+ QConnectIntegrationSummary.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
529
+ QConnectIntegrationSummary.struct_class = Types::QConnectIntegrationSummary
530
+
531
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
532
+ ResourceNotFoundException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
533
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
534
+
535
+ RestrictedPeriod.add_member(:name, Shapes::ShapeRef.new(shape: RestrictedPeriodName, location_name: "name"))
536
+ RestrictedPeriod.add_member(:start_date, Shapes::ShapeRef.new(shape: Iso8601Date, required: true, location_name: "startDate"))
537
+ RestrictedPeriod.add_member(:end_date, Shapes::ShapeRef.new(shape: Iso8601Date, required: true, location_name: "endDate"))
538
+ RestrictedPeriod.struct_class = Types::RestrictedPeriod
539
+
540
+ RestrictedPeriodList.member = Shapes::ShapeRef.new(shape: RestrictedPeriod)
541
+
542
+ RestrictedPeriods.add_member(:restricted_period_list, Shapes::ShapeRef.new(shape: RestrictedPeriodList, location_name: "restrictedPeriodList"))
543
+ RestrictedPeriods.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
544
+ RestrictedPeriods.add_member_subclass(:restricted_period_list, Types::RestrictedPeriods::RestrictedPeriodList)
545
+ RestrictedPeriods.add_member_subclass(:unknown, Types::RestrictedPeriods::Unknown)
546
+ RestrictedPeriods.struct_class = Types::RestrictedPeriods
547
+
548
+ ResumeCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
549
+ ResumeCampaignRequest.struct_class = Types::ResumeCampaignRequest
550
+
551
+ Schedule.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "startTime"))
552
+ Schedule.add_member(:end_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "endTime"))
553
+ Schedule.add_member(:refresh_frequency, Shapes::ShapeRef.new(shape: Iso8601Duration, location_name: "refreshFrequency"))
554
+ Schedule.struct_class = Types::Schedule
555
+
556
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
557
+ ServiceQuotaExceededException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
558
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
559
+
560
+ SmsChannelSubtypeConfig.add_member(:capacity, Shapes::ShapeRef.new(shape: Capacity, location_name: "capacity"))
561
+ SmsChannelSubtypeConfig.add_member(:outbound_mode, Shapes::ShapeRef.new(shape: SmsOutboundMode, required: true, location_name: "outboundMode"))
562
+ SmsChannelSubtypeConfig.add_member(:default_outbound_config, Shapes::ShapeRef.new(shape: SmsOutboundConfig, required: true, location_name: "defaultOutboundConfig"))
563
+ SmsChannelSubtypeConfig.struct_class = Types::SmsChannelSubtypeConfig
564
+
565
+ SmsChannelSubtypeParameters.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: DestinationPhoneNumber, required: true, location_name: "destinationPhoneNumber"))
566
+ SmsChannelSubtypeParameters.add_member(:connect_source_phone_number_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "connectSourcePhoneNumberArn"))
567
+ SmsChannelSubtypeParameters.add_member(:template_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "templateArn"))
568
+ SmsChannelSubtypeParameters.add_member(:template_parameters, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "templateParameters"))
569
+ SmsChannelSubtypeParameters.struct_class = Types::SmsChannelSubtypeParameters
570
+
571
+ SmsOutboundConfig.add_member(:connect_source_phone_number_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "connectSourcePhoneNumberArn"))
572
+ SmsOutboundConfig.add_member(:wisdom_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "wisdomTemplateArn"))
573
+ SmsOutboundConfig.struct_class = Types::SmsOutboundConfig
574
+
575
+ SmsOutboundMode.add_member(:agentless, Shapes::ShapeRef.new(shape: AgentlessConfig, location_name: "agentless"))
576
+ SmsOutboundMode.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
577
+ SmsOutboundMode.add_member_subclass(:agentless, Types::SmsOutboundMode::Agentless)
578
+ SmsOutboundMode.add_member_subclass(:unknown, Types::SmsOutboundMode::Unknown)
579
+ SmsOutboundMode.struct_class = Types::SmsOutboundMode
580
+
581
+ Source.add_member(:customer_profiles_segment_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "customerProfilesSegmentArn"))
582
+ Source.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
583
+ Source.add_member_subclass(:customer_profiles_segment_arn, Types::Source::CustomerProfilesSegmentArn)
584
+ Source.add_member_subclass(:unknown, Types::Source::Unknown)
585
+ Source.struct_class = Types::Source
586
+
587
+ StartCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
588
+ StartCampaignRequest.struct_class = Types::StartCampaignRequest
589
+
590
+ StartInstanceOnboardingJobRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
591
+ StartInstanceOnboardingJobRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, required: true, location_name: "encryptionConfig"))
592
+ StartInstanceOnboardingJobRequest.struct_class = Types::StartInstanceOnboardingJobRequest
593
+
594
+ StartInstanceOnboardingJobResponse.add_member(:connect_instance_onboarding_job_status, Shapes::ShapeRef.new(shape: InstanceOnboardingJobStatus, location_name: "connectInstanceOnboardingJobStatus"))
595
+ StartInstanceOnboardingJobResponse.struct_class = Types::StartInstanceOnboardingJobResponse
596
+
597
+ StopCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
598
+ StopCampaignRequest.struct_class = Types::StopCampaignRequest
599
+
600
+ SuccessfulCampaignStateResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: CampaignId, location_name: "campaignId"))
601
+ SuccessfulCampaignStateResponse.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "state"))
602
+ SuccessfulCampaignStateResponse.struct_class = Types::SuccessfulCampaignStateResponse
603
+
604
+ SuccessfulCampaignStateResponseList.member = Shapes::ShapeRef.new(shape: SuccessfulCampaignStateResponse)
605
+
606
+ SuccessfulRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
607
+ SuccessfulRequest.add_member(:id, Shapes::ShapeRef.new(shape: DialRequestId, location_name: "id"))
608
+ SuccessfulRequest.struct_class = Types::SuccessfulRequest
609
+
610
+ SuccessfulRequestList.member = Shapes::ShapeRef.new(shape: SuccessfulRequest)
611
+
612
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
613
+
614
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
615
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
616
+
617
+ TagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "arn"))
618
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
619
+ TagResourceRequest.struct_class = Types::TagResourceRequest
620
+
621
+ TelephonyChannelSubtypeConfig.add_member(:capacity, Shapes::ShapeRef.new(shape: Capacity, location_name: "capacity"))
622
+ TelephonyChannelSubtypeConfig.add_member(:connect_queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "connectQueueId"))
623
+ TelephonyChannelSubtypeConfig.add_member(:outbound_mode, Shapes::ShapeRef.new(shape: TelephonyOutboundMode, required: true, location_name: "outboundMode"))
624
+ TelephonyChannelSubtypeConfig.add_member(:default_outbound_config, Shapes::ShapeRef.new(shape: TelephonyOutboundConfig, required: true, location_name: "defaultOutboundConfig"))
625
+ TelephonyChannelSubtypeConfig.struct_class = Types::TelephonyChannelSubtypeConfig
626
+
627
+ TelephonyChannelSubtypeParameters.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: DestinationPhoneNumber, required: true, location_name: "destinationPhoneNumber"))
628
+ TelephonyChannelSubtypeParameters.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "attributes"))
629
+ TelephonyChannelSubtypeParameters.add_member(:connect_source_phone_number, Shapes::ShapeRef.new(shape: SourcePhoneNumber, location_name: "connectSourcePhoneNumber"))
630
+ TelephonyChannelSubtypeParameters.add_member(:answer_machine_detection_config, Shapes::ShapeRef.new(shape: AnswerMachineDetectionConfig, location_name: "answerMachineDetectionConfig"))
631
+ TelephonyChannelSubtypeParameters.struct_class = Types::TelephonyChannelSubtypeParameters
632
+
633
+ TelephonyOutboundConfig.add_member(:connect_contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "connectContactFlowId"))
634
+ TelephonyOutboundConfig.add_member(:connect_source_phone_number, Shapes::ShapeRef.new(shape: SourcePhoneNumber, location_name: "connectSourcePhoneNumber"))
635
+ TelephonyOutboundConfig.add_member(:answer_machine_detection_config, Shapes::ShapeRef.new(shape: AnswerMachineDetectionConfig, location_name: "answerMachineDetectionConfig"))
636
+ TelephonyOutboundConfig.struct_class = Types::TelephonyOutboundConfig
637
+
638
+ TelephonyOutboundMode.add_member(:progressive, Shapes::ShapeRef.new(shape: ProgressiveConfig, location_name: "progressive"))
639
+ TelephonyOutboundMode.add_member(:predictive, Shapes::ShapeRef.new(shape: PredictiveConfig, location_name: "predictive"))
640
+ TelephonyOutboundMode.add_member(:agentless, Shapes::ShapeRef.new(shape: AgentlessConfig, location_name: "agentless"))
641
+ TelephonyOutboundMode.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
642
+ TelephonyOutboundMode.add_member_subclass(:progressive, Types::TelephonyOutboundMode::Progressive)
643
+ TelephonyOutboundMode.add_member_subclass(:predictive, Types::TelephonyOutboundMode::Predictive)
644
+ TelephonyOutboundMode.add_member_subclass(:agentless, Types::TelephonyOutboundMode::Agentless)
645
+ TelephonyOutboundMode.add_member_subclass(:unknown, Types::TelephonyOutboundMode::Unknown)
646
+ TelephonyOutboundMode.struct_class = Types::TelephonyOutboundMode
647
+
648
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
649
+ ThrottlingException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
650
+ ThrottlingException.struct_class = Types::ThrottlingException
651
+
652
+ TimeRange.add_member(:start_time, Shapes::ShapeRef.new(shape: Iso8601Time, required: true, location_name: "startTime"))
653
+ TimeRange.add_member(:end_time, Shapes::ShapeRef.new(shape: Iso8601Time, required: true, location_name: "endTime"))
654
+ TimeRange.struct_class = Types::TimeRange
655
+
656
+ TimeRangeList.member = Shapes::ShapeRef.new(shape: TimeRange)
657
+
658
+ TimeWindow.add_member(:open_hours, Shapes::ShapeRef.new(shape: OpenHours, required: true, location_name: "openHours"))
659
+ TimeWindow.add_member(:restricted_periods, Shapes::ShapeRef.new(shape: RestrictedPeriods, location_name: "restrictedPeriods"))
660
+ TimeWindow.struct_class = Types::TimeWindow
661
+
662
+ UntagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "arn"))
663
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
664
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
665
+
666
+ UpdateCampaignChannelSubtypeConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
667
+ UpdateCampaignChannelSubtypeConfigRequest.add_member(:channel_subtype_config, Shapes::ShapeRef.new(shape: ChannelSubtypeConfig, required: true, location_name: "channelSubtypeConfig"))
668
+ UpdateCampaignChannelSubtypeConfigRequest.struct_class = Types::UpdateCampaignChannelSubtypeConfigRequest
669
+
670
+ UpdateCampaignCommunicationLimitsRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
671
+ UpdateCampaignCommunicationLimitsRequest.add_member(:communication_limits_override, Shapes::ShapeRef.new(shape: CommunicationLimitsConfig, required: true, location_name: "communicationLimitsOverride"))
672
+ UpdateCampaignCommunicationLimitsRequest.struct_class = Types::UpdateCampaignCommunicationLimitsRequest
673
+
674
+ UpdateCampaignCommunicationTimeRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
675
+ UpdateCampaignCommunicationTimeRequest.add_member(:communication_time_config, Shapes::ShapeRef.new(shape: CommunicationTimeConfig, required: true, location_name: "communicationTimeConfig"))
676
+ UpdateCampaignCommunicationTimeRequest.struct_class = Types::UpdateCampaignCommunicationTimeRequest
677
+
678
+ UpdateCampaignFlowAssociationRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
679
+ UpdateCampaignFlowAssociationRequest.add_member(:connect_campaign_flow_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "connectCampaignFlowArn"))
680
+ UpdateCampaignFlowAssociationRequest.struct_class = Types::UpdateCampaignFlowAssociationRequest
681
+
682
+ UpdateCampaignNameRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
683
+ UpdateCampaignNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: CampaignName, required: true, location_name: "name"))
684
+ UpdateCampaignNameRequest.struct_class = Types::UpdateCampaignNameRequest
685
+
686
+ UpdateCampaignScheduleRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
687
+ UpdateCampaignScheduleRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, required: true, location_name: "schedule"))
688
+ UpdateCampaignScheduleRequest.struct_class = Types::UpdateCampaignScheduleRequest
689
+
690
+ UpdateCampaignSourceRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
691
+ UpdateCampaignSourceRequest.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
692
+ UpdateCampaignSourceRequest.struct_class = Types::UpdateCampaignSourceRequest
693
+
694
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
695
+ ValidationException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
696
+ ValidationException.struct_class = Types::ValidationException
697
+
698
+
699
+ # @api private
700
+ API = Seahorse::Model::Api.new.tap do |api|
701
+
702
+ api.version = "2024-04-23"
703
+
704
+ api.metadata = {
705
+ "apiVersion" => "2024-04-23",
706
+ "auth" => ["aws.auth#sigv4"],
707
+ "endpointPrefix" => "connect-campaigns",
708
+ "jsonVersion" => "1.1",
709
+ "protocol" => "rest-json",
710
+ "protocols" => ["rest-json"],
711
+ "serviceFullName" => "AmazonConnectCampaignServiceV2",
712
+ "serviceId" => "ConnectCampaignsV2",
713
+ "signatureVersion" => "v4",
714
+ "signingName" => "connect-campaigns",
715
+ "uid" => "connectcampaignsv2-2024-04-23",
716
+ }
717
+
718
+ api.add_operation(:create_campaign, Seahorse::Model::Operation.new.tap do |o|
719
+ o.name = "CreateCampaign"
720
+ o.http_method = "PUT"
721
+ o.http_request_uri = "/v2/campaigns"
722
+ o.input = Shapes::ShapeRef.new(shape: CreateCampaignRequest)
723
+ o.output = Shapes::ShapeRef.new(shape: CreateCampaignResponse)
724
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
725
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
726
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
727
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
728
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
729
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
730
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
731
+ end)
732
+
733
+ api.add_operation(:delete_campaign, Seahorse::Model::Operation.new.tap do |o|
734
+ o.name = "DeleteCampaign"
735
+ o.http_method = "DELETE"
736
+ o.http_request_uri = "/v2/campaigns/{id}"
737
+ o.input = Shapes::ShapeRef.new(shape: DeleteCampaignRequest)
738
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
739
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
740
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
741
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
742
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
743
+ end)
744
+
745
+ api.add_operation(:delete_campaign_channel_subtype_config, Seahorse::Model::Operation.new.tap do |o|
746
+ o.name = "DeleteCampaignChannelSubtypeConfig"
747
+ o.http_method = "DELETE"
748
+ o.http_request_uri = "/v2/campaigns/{id}/channel-subtype-config"
749
+ o.input = Shapes::ShapeRef.new(shape: DeleteCampaignChannelSubtypeConfigRequest)
750
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
751
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
752
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
753
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
754
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
755
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
756
+ end)
757
+
758
+ api.add_operation(:delete_campaign_communication_limits, Seahorse::Model::Operation.new.tap do |o|
759
+ o.name = "DeleteCampaignCommunicationLimits"
760
+ o.http_method = "DELETE"
761
+ o.http_request_uri = "/v2/campaigns/{id}/communication-limits"
762
+ o.input = Shapes::ShapeRef.new(shape: DeleteCampaignCommunicationLimitsRequest)
763
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
764
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
765
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
766
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
767
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
768
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
769
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
770
+ end)
771
+
772
+ api.add_operation(:delete_campaign_communication_time, Seahorse::Model::Operation.new.tap do |o|
773
+ o.name = "DeleteCampaignCommunicationTime"
774
+ o.http_method = "DELETE"
775
+ o.http_request_uri = "/v2/campaigns/{id}/communication-time"
776
+ o.input = Shapes::ShapeRef.new(shape: DeleteCampaignCommunicationTimeRequest)
777
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
778
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
779
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
780
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
781
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
782
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
783
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
784
+ end)
785
+
786
+ api.add_operation(:delete_connect_instance_config, Seahorse::Model::Operation.new.tap do |o|
787
+ o.name = "DeleteConnectInstanceConfig"
788
+ o.http_method = "DELETE"
789
+ o.http_request_uri = "/v2/connect-instance/{connectInstanceId}/config"
790
+ o.input = Shapes::ShapeRef.new(shape: DeleteConnectInstanceConfigRequest)
791
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
792
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
793
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
794
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
795
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
796
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
797
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
798
+ end)
799
+
800
+ api.add_operation(:delete_connect_instance_integration, Seahorse::Model::Operation.new.tap do |o|
801
+ o.name = "DeleteConnectInstanceIntegration"
802
+ o.http_method = "POST"
803
+ o.http_request_uri = "/v2/connect-instance/{connectInstanceId}/integrations/delete"
804
+ o.input = Shapes::ShapeRef.new(shape: DeleteConnectInstanceIntegrationRequest)
805
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
806
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
807
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
808
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
809
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
810
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
811
+ end)
812
+
813
+ api.add_operation(:delete_instance_onboarding_job, Seahorse::Model::Operation.new.tap do |o|
814
+ o.name = "DeleteInstanceOnboardingJob"
815
+ o.http_method = "DELETE"
816
+ o.http_request_uri = "/v2/connect-instance/{connectInstanceId}/onboarding"
817
+ o.input = Shapes::ShapeRef.new(shape: DeleteInstanceOnboardingJobRequest)
818
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
819
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
820
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
821
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
822
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
823
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
824
+ end)
825
+
826
+ api.add_operation(:describe_campaign, Seahorse::Model::Operation.new.tap do |o|
827
+ o.name = "DescribeCampaign"
828
+ o.http_method = "GET"
829
+ o.http_request_uri = "/v2/campaigns/{id}"
830
+ o.input = Shapes::ShapeRef.new(shape: DescribeCampaignRequest)
831
+ o.output = Shapes::ShapeRef.new(shape: DescribeCampaignResponse)
832
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
833
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
834
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
835
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
836
+ end)
837
+
838
+ api.add_operation(:get_campaign_state, Seahorse::Model::Operation.new.tap do |o|
839
+ o.name = "GetCampaignState"
840
+ o.http_method = "GET"
841
+ o.http_request_uri = "/v2/campaigns/{id}/state"
842
+ o.input = Shapes::ShapeRef.new(shape: GetCampaignStateRequest)
843
+ o.output = Shapes::ShapeRef.new(shape: GetCampaignStateResponse)
844
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
845
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
846
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
847
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
848
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
849
+ end)
850
+
851
+ api.add_operation(:get_campaign_state_batch, Seahorse::Model::Operation.new.tap do |o|
852
+ o.name = "GetCampaignStateBatch"
853
+ o.http_method = "POST"
854
+ o.http_request_uri = "/v2/campaigns-state"
855
+ o.input = Shapes::ShapeRef.new(shape: GetCampaignStateBatchRequest)
856
+ o.output = Shapes::ShapeRef.new(shape: GetCampaignStateBatchResponse)
857
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
858
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
859
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
860
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
861
+ end)
862
+
863
+ api.add_operation(:get_connect_instance_config, Seahorse::Model::Operation.new.tap do |o|
864
+ o.name = "GetConnectInstanceConfig"
865
+ o.http_method = "GET"
866
+ o.http_request_uri = "/v2/connect-instance/{connectInstanceId}/config"
867
+ o.input = Shapes::ShapeRef.new(shape: GetConnectInstanceConfigRequest)
868
+ o.output = Shapes::ShapeRef.new(shape: GetConnectInstanceConfigResponse)
869
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
870
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
871
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
872
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
873
+ end)
874
+
875
+ api.add_operation(:get_instance_onboarding_job_status, Seahorse::Model::Operation.new.tap do |o|
876
+ o.name = "GetInstanceOnboardingJobStatus"
877
+ o.http_method = "GET"
878
+ o.http_request_uri = "/v2/connect-instance/{connectInstanceId}/onboarding"
879
+ o.input = Shapes::ShapeRef.new(shape: GetInstanceOnboardingJobStatusRequest)
880
+ o.output = Shapes::ShapeRef.new(shape: GetInstanceOnboardingJobStatusResponse)
881
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
882
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
883
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
884
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
885
+ end)
886
+
887
+ api.add_operation(:list_campaigns, Seahorse::Model::Operation.new.tap do |o|
888
+ o.name = "ListCampaigns"
889
+ o.http_method = "POST"
890
+ o.http_request_uri = "/v2/campaigns-summary"
891
+ o.input = Shapes::ShapeRef.new(shape: ListCampaignsRequest)
892
+ o.output = Shapes::ShapeRef.new(shape: ListCampaignsResponse)
893
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
894
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
895
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
896
+ o[:pager] = Aws::Pager.new(
897
+ limit_key: "max_results",
898
+ tokens: {
899
+ "next_token" => "next_token"
900
+ }
901
+ )
902
+ end)
903
+
904
+ api.add_operation(:list_connect_instance_integrations, Seahorse::Model::Operation.new.tap do |o|
905
+ o.name = "ListConnectInstanceIntegrations"
906
+ o.http_method = "GET"
907
+ o.http_request_uri = "/v2/connect-instance/{connectInstanceId}/integrations"
908
+ o.input = Shapes::ShapeRef.new(shape: ListConnectInstanceIntegrationsRequest)
909
+ o.output = Shapes::ShapeRef.new(shape: ListConnectInstanceIntegrationsResponse)
910
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
911
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
912
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
913
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
914
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
915
+ o[:pager] = Aws::Pager.new(
916
+ limit_key: "max_results",
917
+ tokens: {
918
+ "next_token" => "next_token"
919
+ }
920
+ )
921
+ end)
922
+
923
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
924
+ o.name = "ListTagsForResource"
925
+ o.http_method = "GET"
926
+ o.http_request_uri = "/v2/tags/{arn}"
927
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
928
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
929
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
930
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
931
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
932
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
933
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
934
+ end)
935
+
936
+ api.add_operation(:pause_campaign, Seahorse::Model::Operation.new.tap do |o|
937
+ o.name = "PauseCampaign"
938
+ o.http_method = "POST"
939
+ o.http_request_uri = "/v2/campaigns/{id}/pause"
940
+ o.input = Shapes::ShapeRef.new(shape: PauseCampaignRequest)
941
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
942
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
943
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
944
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
945
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
946
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
947
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
948
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
949
+ end)
950
+
951
+ api.add_operation(:put_connect_instance_integration, Seahorse::Model::Operation.new.tap do |o|
952
+ o.name = "PutConnectInstanceIntegration"
953
+ o.http_method = "PUT"
954
+ o.http_request_uri = "/v2/connect-instance/{connectInstanceId}/integrations"
955
+ o.input = Shapes::ShapeRef.new(shape: PutConnectInstanceIntegrationRequest)
956
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
957
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
958
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
959
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
960
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
961
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
962
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
963
+ end)
964
+
965
+ api.add_operation(:put_outbound_request_batch, Seahorse::Model::Operation.new.tap do |o|
966
+ o.name = "PutOutboundRequestBatch"
967
+ o.http_method = "PUT"
968
+ o.http_request_uri = "/v2/campaigns/{id}/outbound-requests"
969
+ o.input = Shapes::ShapeRef.new(shape: PutOutboundRequestBatchRequest)
970
+ o.output = Shapes::ShapeRef.new(shape: PutOutboundRequestBatchResponse)
971
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
972
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
973
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
974
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
975
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
976
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
977
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
978
+ end)
979
+
980
+ api.add_operation(:resume_campaign, Seahorse::Model::Operation.new.tap do |o|
981
+ o.name = "ResumeCampaign"
982
+ o.http_method = "POST"
983
+ o.http_request_uri = "/v2/campaigns/{id}/resume"
984
+ o.input = Shapes::ShapeRef.new(shape: ResumeCampaignRequest)
985
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
986
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
987
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
988
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
989
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
990
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
991
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
992
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
993
+ end)
994
+
995
+ api.add_operation(:start_campaign, Seahorse::Model::Operation.new.tap do |o|
996
+ o.name = "StartCampaign"
997
+ o.http_method = "POST"
998
+ o.http_request_uri = "/v2/campaigns/{id}/start"
999
+ o.input = Shapes::ShapeRef.new(shape: StartCampaignRequest)
1000
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1001
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1002
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1003
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1004
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1005
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
1006
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1007
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1008
+ end)
1009
+
1010
+ api.add_operation(:start_instance_onboarding_job, Seahorse::Model::Operation.new.tap do |o|
1011
+ o.name = "StartInstanceOnboardingJob"
1012
+ o.http_method = "PUT"
1013
+ o.http_request_uri = "/v2/connect-instance/{connectInstanceId}/onboarding"
1014
+ o.input = Shapes::ShapeRef.new(shape: StartInstanceOnboardingJobRequest)
1015
+ o.output = Shapes::ShapeRef.new(shape: StartInstanceOnboardingJobResponse)
1016
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1017
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1018
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1019
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1020
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1021
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1022
+ end)
1023
+
1024
+ api.add_operation(:stop_campaign, Seahorse::Model::Operation.new.tap do |o|
1025
+ o.name = "StopCampaign"
1026
+ o.http_method = "POST"
1027
+ o.http_request_uri = "/v2/campaigns/{id}/stop"
1028
+ o.input = Shapes::ShapeRef.new(shape: StopCampaignRequest)
1029
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1030
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1031
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1032
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1033
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1034
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
1035
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1036
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1037
+ end)
1038
+
1039
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1040
+ o.name = "TagResource"
1041
+ o.http_method = "POST"
1042
+ o.http_request_uri = "/v2/tags/{arn}"
1043
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1044
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1045
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1047
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1048
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1049
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1050
+ end)
1051
+
1052
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1053
+ o.name = "UntagResource"
1054
+ o.http_method = "DELETE"
1055
+ o.http_request_uri = "/v2/tags/{arn}"
1056
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1057
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1058
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1059
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1060
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1061
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1063
+ end)
1064
+
1065
+ api.add_operation(:update_campaign_channel_subtype_config, Seahorse::Model::Operation.new.tap do |o|
1066
+ o.name = "UpdateCampaignChannelSubtypeConfig"
1067
+ o.http_method = "POST"
1068
+ o.http_request_uri = "/v2/campaigns/{id}/channel-subtype-config"
1069
+ o.input = Shapes::ShapeRef.new(shape: UpdateCampaignChannelSubtypeConfigRequest)
1070
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1071
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1072
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1073
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1074
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1075
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1076
+ end)
1077
+
1078
+ api.add_operation(:update_campaign_communication_limits, Seahorse::Model::Operation.new.tap do |o|
1079
+ o.name = "UpdateCampaignCommunicationLimits"
1080
+ o.http_method = "POST"
1081
+ o.http_request_uri = "/v2/campaigns/{id}/communication-limits"
1082
+ o.input = Shapes::ShapeRef.new(shape: UpdateCampaignCommunicationLimitsRequest)
1083
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1084
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1085
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1086
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1087
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1088
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
1089
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1090
+ end)
1091
+
1092
+ api.add_operation(:update_campaign_communication_time, Seahorse::Model::Operation.new.tap do |o|
1093
+ o.name = "UpdateCampaignCommunicationTime"
1094
+ o.http_method = "POST"
1095
+ o.http_request_uri = "/v2/campaigns/{id}/communication-time"
1096
+ o.input = Shapes::ShapeRef.new(shape: UpdateCampaignCommunicationTimeRequest)
1097
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1098
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1099
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1100
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1101
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1102
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
1103
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1104
+ end)
1105
+
1106
+ api.add_operation(:update_campaign_flow_association, Seahorse::Model::Operation.new.tap do |o|
1107
+ o.name = "UpdateCampaignFlowAssociation"
1108
+ o.http_method = "POST"
1109
+ o.http_request_uri = "/v2/campaigns/{id}/flow"
1110
+ o.input = Shapes::ShapeRef.new(shape: UpdateCampaignFlowAssociationRequest)
1111
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1112
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1114
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1115
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1116
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
1117
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1118
+ end)
1119
+
1120
+ api.add_operation(:update_campaign_name, Seahorse::Model::Operation.new.tap do |o|
1121
+ o.name = "UpdateCampaignName"
1122
+ o.http_method = "POST"
1123
+ o.http_request_uri = "/v2/campaigns/{id}/name"
1124
+ o.input = Shapes::ShapeRef.new(shape: UpdateCampaignNameRequest)
1125
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1126
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1127
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1128
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1129
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1130
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1131
+ end)
1132
+
1133
+ api.add_operation(:update_campaign_schedule, Seahorse::Model::Operation.new.tap do |o|
1134
+ o.name = "UpdateCampaignSchedule"
1135
+ o.http_method = "POST"
1136
+ o.http_request_uri = "/v2/campaigns/{id}/schedule"
1137
+ o.input = Shapes::ShapeRef.new(shape: UpdateCampaignScheduleRequest)
1138
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1139
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1140
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1141
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1142
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1143
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
1144
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1145
+ end)
1146
+
1147
+ api.add_operation(:update_campaign_source, Seahorse::Model::Operation.new.tap do |o|
1148
+ o.name = "UpdateCampaignSource"
1149
+ o.http_method = "POST"
1150
+ o.http_request_uri = "/v2/campaigns/{id}/source"
1151
+ o.input = Shapes::ShapeRef.new(shape: UpdateCampaignSourceRequest)
1152
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1153
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1154
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1155
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1156
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1157
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
1158
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1159
+ end)
1160
+ end
1161
+
1162
+ end
1163
+ end