From 41fcfea902a0b9d817f51fe69d71df679737084c Mon Sep 17 00:00:00 2001 From: AWS SDK Swift Automation Date: Fri, 15 Nov 2024 19:03:26 +0000 Subject: [PATCH 1/3] Update API model --- .../sdk-codegen/aws-models/cloudwatch.json | 709 ++- .../aws-models/connectcampaignsv2.json | 4778 +++++++++++++++++ codegen/sdk-codegen/aws-models/datasync.json | 18 +- codegen/sdk-codegen/aws-models/ec2.json | 12 - codegen/sdk-codegen/aws-models/iot.json | 449 +- codegen/sdk-codegen/aws-models/outposts.json | 6 + .../aws-models/pinpoint-sms-voice-v2.json | 743 ++- codegen/sdk-codegen/aws-models/polly.json | 2 +- .../aws-models/route53resolver.json | 126 +- 9 files changed, 6492 insertions(+), 351 deletions(-) create mode 100644 codegen/sdk-codegen/aws-models/connectcampaignsv2.json diff --git a/codegen/sdk-codegen/aws-models/cloudwatch.json b/codegen/sdk-codegen/aws-models/cloudwatch.json index 5d98c3b992e..331f0f1b41d 100644 --- a/codegen/sdk-codegen/aws-models/cloudwatch.json +++ b/codegen/sdk-codegen/aws-models/cloudwatch.json @@ -263,7 +263,7 @@ "Configuration": { "target": "com.amazonaws.cloudwatch#AnomalyDetectorConfiguration", "traits": { - "smithy.api#documentation": "

The configuration specifies details about how the \n\t\tanomaly detection model is to be trained, including time ranges to \n\t\texclude from use for training the model, and the time zone to use for \n\t\tthe metric.

" + "smithy.api#documentation": "

The configuration specifies details about how the anomaly detection model is to be\n trained, including time ranges to exclude from use for training the model, and the time\n zone to use for the metric.

" } }, "StateValue": { @@ -275,7 +275,7 @@ "MetricCharacteristics": { "target": "com.amazonaws.cloudwatch#MetricCharacteristics", "traits": { - "smithy.api#documentation": "

This object includes parameters that you can use to provide information about your metric to \n\t\t\tCloudWatch to help it build more accurate anomaly detection models. Currently, it includes\n\t\t\tthe PeriodicSpikes parameter.

" + "smithy.api#documentation": "

This object includes parameters that you can use to provide information about your\n metric to CloudWatch to help it build more accurate anomaly detection models.\n Currently, it includes the PeriodicSpikes parameter.

" } }, "SingleMetricAnomalyDetector": { @@ -292,7 +292,7 @@ } }, "traits": { - "smithy.api#documentation": "

An anomaly detection model associated with a particular CloudWatch metric, statistic, or metric math expression. \n\t\t\tYou can use the model to display a band of expected, normal values \n\t\t\twhen the metric is graphed.

\n

If you have enabled unified cross-account observability, and this account is a monitoring\n\t\t\taccount, the metric can be in the same account or a source account.

" + "smithy.api#documentation": "

An anomaly detection model associated with a particular CloudWatch metric, statistic,\n or metric math expression. You can use the model to display a band of expected, normal\n values when the metric is graphed.

\n

If you have enabled unified cross-account observability, and this account is a\n monitoring account, the metric can be in the same account or a source account.

" } }, "com.amazonaws.cloudwatch#AnomalyDetectorConfiguration": { @@ -301,18 +301,18 @@ "ExcludedTimeRanges": { "target": "com.amazonaws.cloudwatch#AnomalyDetectorExcludedTimeRanges", "traits": { - "smithy.api#documentation": "

An array of time ranges to exclude from use when the anomaly detection model is trained. Use\n\t\t\tthis to make sure that events that could cause unusual values for the metric, such as\n\t\t\tdeployments, aren't used when CloudWatch creates the model.

" + "smithy.api#documentation": "

An array of time ranges to exclude from use when the anomaly detection model is\n trained. Use this to make sure that events that could cause unusual values for the\n metric, such as deployments, aren't used when CloudWatch creates the model.

" } }, "MetricTimezone": { "target": "com.amazonaws.cloudwatch#AnomalyDetectorMetricTimezone", "traits": { - "smithy.api#documentation": "

The time zone to use for the metric. This is useful to enable the model to automatically\n\t\t\taccount for daylight savings time changes if the metric is sensitive to such time\n\t\t\tchanges.

\n

To specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, \n\t\t\tsee tz database.

" + "smithy.api#documentation": "

The time zone to use for the metric. This is useful to enable the model to\n automatically account for daylight savings time changes if the metric is sensitive to\n such time changes.

\n

To specify a time zone, use the name of the time zone as specified in the standard\n tz database. For more information, see tz database.

" } } }, "traits": { - "smithy.api#documentation": "

The configuration specifies details about how the anomaly detection model is to be trained,\n\t\t\tincluding time ranges to exclude from use for training the model and the time zone to\n\t\t\tuse for the metric.

" + "smithy.api#documentation": "

The configuration specifies details about how the anomaly detection model is to be\n trained, including time ranges to exclude from use for training the model and the time\n zone to use for the metric.

" } }, "com.amazonaws.cloudwatch#AnomalyDetectorExcludedTimeRanges": { @@ -461,13 +461,13 @@ "ActionsEnabled": { "target": "com.amazonaws.cloudwatch#ActionsEnabled", "traits": { - "smithy.api#documentation": "

Indicates whether actions should be executed during any changes to the alarm state.

" + "smithy.api#documentation": "

Indicates whether actions should be executed during any changes to the alarm\n state.

" } }, "AlarmActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

" + "smithy.api#documentation": "

The actions to execute when this alarm transitions to the ALARM state from any other\n state. Each action is specified as an Amazon Resource Name (ARN).

" } }, "AlarmArn": { @@ -503,13 +503,13 @@ "InsufficientDataActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

" + "smithy.api#documentation": "

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from\n any other state. Each action is specified as an Amazon Resource Name (ARN).

" } }, "OKActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

" + "smithy.api#documentation": "

The actions to execute when this alarm transitions to the OK state from any other\n state. Each action is specified as an Amazon Resource Name (ARN).

" } }, "StateReason": { @@ -527,7 +527,7 @@ "StateUpdatedTimestamp": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { - "smithy.api#documentation": "

Tracks the timestamp of any state update, even if StateValue doesn't change.

" + "smithy.api#documentation": "

Tracks the timestamp of any state update, even if StateValue doesn't\n change.

" } }, "StateValue": { @@ -539,37 +539,37 @@ "StateTransitionedTimestamp": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { - "smithy.api#documentation": "

\n\t\t\tThe timestamp \n\t\t\tof the last change \n\t\t\tto the alarm's StateValue.\n\t\t

" + "smithy.api#documentation": "

The timestamp of the last change to the alarm's StateValue.

" } }, "ActionsSuppressedBy": { "target": "com.amazonaws.cloudwatch#ActionsSuppressedBy", "traits": { - "smithy.api#documentation": "

\n\t\t\tWhen the value is ALARM, \n\t\t\tit means \n\t\t\tthat the actions are suppressed\n\t\t\tbecause the suppressor alarm is \n\t\t\tin ALARM\n\t\t\tWhen the value is WaitPeriod, \n\t\t\tit means that \n\t\t\tthe actions are suppressed \n\t\t\tbecause the composite alarm is waiting\n\t\t\tfor the suppressor alarm \n\t\t\tto go \n\t\t\tinto \n\t\t\tinto the ALARM state. \n\t\t\tThe maximum waiting time is as specified\n\t\t\tin ActionsSuppressorWaitPeriod. \n\t\t\tAfter this time, \n\t\t\tthe composite alarm performs its actions.\n\t\t\tWhen the value is ExtensionPeriod,\n\t\t\tit means \n\t\t\tthat the actions are suppressed\n\t\t\tbecause the composite alarm is waiting \n\t\t\tafter the suppressor alarm went out\n\t\t\tof the ALARM state. \n\t\t\tThe maximum waiting time is as specified \n\t\t\tin ActionsSuppressorExtensionPeriod. \n\t\t\tAfter this time,\n\t\t\tthe composite alarm performs its actions.\n\t\t

" + "smithy.api#documentation": "

When the value is ALARM, it means that the actions are suppressed\n because the suppressor alarm is in ALARM When the value is\n WaitPeriod, it means that the actions are suppressed because the\n composite alarm is waiting for the suppressor alarm to go into into the\n ALARM state. The maximum waiting time is as specified in\n ActionsSuppressorWaitPeriod. After this time, the composite alarm\n performs its actions. When the value is ExtensionPeriod, it means that the\n actions are suppressed because the composite alarm is waiting after the suppressor alarm\n went out of the ALARM state. The maximum waiting time is as specified in\n ActionsSuppressorExtensionPeriod. After this time, the composite alarm\n performs its actions.

" } }, "ActionsSuppressedReason": { "target": "com.amazonaws.cloudwatch#ActionsSuppressedReason", "traits": { - "smithy.api#documentation": "

\n\t\t\tCaptures the reason for action suppression.\n\t\t

" + "smithy.api#documentation": "

Captures the reason for action suppression.

" } }, "ActionsSuppressor": { "target": "com.amazonaws.cloudwatch#AlarmArn", "traits": { - "smithy.api#documentation": "

\n\t\t\tActions will be suppressed \n\t\t\tif the suppressor alarm is \n\t\t\tin the ALARM state. \n\t\t\tActionsSuppressor can be an AlarmName or an Amazon Resource Name (ARN) \n\t\t\tfrom an existing alarm. \n\t\t

" + "smithy.api#documentation": "

Actions will be suppressed if the suppressor alarm is in the ALARM\n state. ActionsSuppressor can be an AlarmName or an Amazon Resource Name\n (ARN) from an existing alarm.

" } }, "ActionsSuppressorWaitPeriod": { "target": "com.amazonaws.cloudwatch#SuppressorPeriod", "traits": { - "smithy.api#documentation": "

\n\t\t\tThe maximum time \n\t\t\tin seconds \n\t\t\tthat the composite alarm waits\n\t\t\tfor the suppressor alarm \n\t\t\tto go \n\t\t\tinto the ALARM state. \n\t\t\tAfter this time, \n\t\t\tthe composite alarm performs its actions.\n\t\t

\n \n

\n WaitPeriod \n\t\t\t\tis required only \n\t\t\t\twhen ActionsSuppressor is specified.\n\t\t\t

\n
" + "smithy.api#documentation": "

The maximum time in seconds that the composite alarm waits for the suppressor alarm\n to go into the ALARM state. After this time, the composite alarm performs\n its actions.

\n \n

\n WaitPeriod is required only when ActionsSuppressor is\n specified.

\n
" } }, "ActionsSuppressorExtensionPeriod": { "target": "com.amazonaws.cloudwatch#SuppressorPeriod", "traits": { - "smithy.api#documentation": "

\n\t\t\tThe maximum time \n\t\t\tin seconds\n\t\t\tthat the composite alarm waits \n\t\t\tafter suppressor alarm goes out \n\t\t\tof the ALARM state. \n\t\t\tAfter this time, \n\t\t\tthe composite alarm performs its actions.\n\t\t

\n \n

\n ExtensionPeriod \n\t\t\t\tis required only \n\t\t\t\twhen ActionsSuppressor is specified.\n\t\t\t

\n
" + "smithy.api#documentation": "

The maximum time in seconds that the composite alarm waits after suppressor alarm\n goes out of the ALARM state. After this time, the composite alarm performs\n its actions.

\n \n

\n ExtensionPeriod is required only when ActionsSuppressor is\n specified.

\n
" } } }, @@ -636,7 +636,7 @@ "LastModified": { "target": "com.amazonaws.cloudwatch#LastModified", "traits": { - "smithy.api#documentation": "

The time stamp of when the dashboard was last modified, either by an API call or\n\t\t\tthrough the console. This number is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

" + "smithy.api#documentation": "

The time stamp of when the dashboard was last modified, either by an API call or\n through the console. This number is expressed as the number of milliseconds since Jan 1,\n 1970 00:00:00 UTC.

" } }, "Size": { @@ -743,7 +743,7 @@ "SampleCount": { "target": "com.amazonaws.cloudwatch#DatapointValue", "traits": { - "smithy.api#documentation": "

The number of metric values that contributed to the aggregate value of this\n\t\t\tdata point.

" + "smithy.api#documentation": "

The number of metric values that contributed to the aggregate value of this data\n point.

" } }, "Average": { @@ -784,7 +784,7 @@ } }, "traits": { - "smithy.api#documentation": "

Encapsulates the statistical data that CloudWatch computes from metric data.

" + "smithy.api#documentation": "

Encapsulates the statistical data that CloudWatch computes from metric\n data.

" } }, "com.amazonaws.cloudwatch#DatapointValue": { @@ -833,7 +833,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified alarms. You can delete up to 100 alarms in one operation. However, this total can include no more\n\t\t\tthan one composite alarm. For example, you could delete 99 metric alarms and one composite alarms with one operation, but you can't\n\t\t\tdelete two composite alarms with one operation.

\n

\n\t\t\tIf you specify an incorrect alarm name or make any other error in the operation, no alarms are\n\t\t\tdeleted. To confirm that alarms were deleted successfully, you can use \n\t\t\tthe DescribeAlarms operation after using\n\t\tDeleteAlarms.

\n \n

It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and \n\t\t\tcomposite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle \n\t\t\tbecause there is always still a composite alarm that depends on that alarm that you want to delete.

\n

To get out of such a situation, you must\n\t\t\t\tbreak the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest\n\t\t\t\tchange to make to break a cycle is to change the AlarmRule of one of the alarms to false.

\n

Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path.\n\t\t\t

\n
" + "smithy.api#documentation": "

Deletes the specified alarms. You can delete up to 100 alarms in one operation.\n However, this total can include no more than one composite alarm. For example, you could\n delete 99 metric alarms and one composite alarms with one operation, but you can't\n delete two composite alarms with one operation.

\n

If you specify an incorrect alarm name or make any other error in the operation,\n no alarms are deleted. To confirm that alarms were deleted successfully, you can use the\n DescribeAlarms operation after using DeleteAlarms.

\n \n

It is possible to create a loop or cycle of composite alarms, where composite\n alarm A depends on composite alarm B, and composite alarm B also depends on\n composite alarm A. In this scenario, you can't delete any composite alarm that is\n part of the cycle because there is always still a composite alarm that depends on\n that alarm that you want to delete.

\n

To get out of such a situation, you must break the cycle by changing the rule of\n one of the composite alarms in the cycle to remove a dependency that creates the\n cycle. The simplest change to make to break a cycle is to change the\n AlarmRule of one of the alarms to false.

\n

Additionally, the evaluation of composite alarms stops if CloudWatch\n detects a cycle in the evaluation path.

\n
" } }, "com.amazonaws.cloudwatch#DeleteAlarmsInput": { @@ -878,7 +878,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n\t\t\tDeletes the specified anomaly detection model \n\t\t\tfrom your account.\n\t\t\tFor more information \n\t\t\tabout \n\t\t\thow to delete an anomaly detection model, \n\t\t\tsee Deleting an anomaly detection model \n\t\t\tin the CloudWatch User Guide. \n\t\t

" + "smithy.api#documentation": "

Deletes the specified anomaly detection model from your account. For more information\n about how to delete an anomaly detection model, see Deleting an anomaly detection model in the CloudWatch User\n Guide.

" } }, "com.amazonaws.cloudwatch#DeleteAnomalyDetectorInput": { @@ -923,13 +923,13 @@ "SingleMetricAnomalyDetector": { "target": "com.amazonaws.cloudwatch#SingleMetricAnomalyDetector", "traits": { - "smithy.api#documentation": "

A single metric anomaly detector to be deleted.

\n

When using SingleMetricAnomalyDetector, \n\t\t\tyou cannot include the following parameters in the same operation:

\n \n

Instead, specify the single metric anomaly detector attributes \n\t\t\tas part of the SingleMetricAnomalyDetector property.

" + "smithy.api#documentation": "

A single metric anomaly detector to be deleted.

\n

When using SingleMetricAnomalyDetector, you cannot include the following\n parameters in the same operation:

\n \n

Instead, specify the single metric anomaly detector attributes as part of the\n SingleMetricAnomalyDetector property.

" } }, "MetricMathAnomalyDetector": { "target": "com.amazonaws.cloudwatch#MetricMathAnomalyDetector", "traits": { - "smithy.api#documentation": "

The metric math anomaly detector to be deleted.

\n

When using MetricMathAnomalyDetector, you cannot include following parameters in the same operation:

\n \n

Instead, specify the metric math anomaly detector attributes as part of the\n\t\t\tMetricMathAnomalyDetector property.

" + "smithy.api#documentation": "

The metric math anomaly detector to be deleted.

\n

When using MetricMathAnomalyDetector, you cannot include following\n parameters in the same operation:

\n \n

Instead, specify the metric math anomaly detector attributes as part of the\n MetricMathAnomalyDetector property.

" } } }, @@ -964,7 +964,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes all dashboards that you specify. You\n\t\t\tcan specify up to 100 dashboards to delete. If there is an error during this call, no dashboards are\n\t\t\tdeleted.

" + "smithy.api#documentation": "

Deletes all dashboards that you specify. You can specify up to 100 dashboards to\n delete. If there is an error during this call, no dashboards are deleted.

" } }, "com.amazonaws.cloudwatch#DeleteDashboardsInput": { @@ -1007,7 +1007,7 @@ } ], "traits": { - "smithy.api#documentation": "

Permanently deletes the specified Contributor Insights rules.

\n

If you create a rule, delete it, and then re-create it with the same name, historical data from the first time\n\t\t\tthe rule was created might\n\t\t\tnot be available.

" + "smithy.api#documentation": "

Permanently deletes the specified Contributor Insights rules.

\n

If you create a rule, delete it, and then re-create it with the same name, historical\n data from the first time the rule was created might not be available.

" } }, "com.amazonaws.cloudwatch#DeleteInsightRulesInput": { @@ -1017,7 +1017,7 @@ "target": "com.amazonaws.cloudwatch#InsightRuleNames", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

An array of the rule names to delete. If you need to find out the names of your rules, use DescribeInsightRules.

", + "smithy.api#documentation": "

An array of the rule names to delete. If you need to find out the names of your rules,\n use DescribeInsightRules.

", "smithy.api#required": {} } } @@ -1032,7 +1032,7 @@ "Failures": { "target": "com.amazonaws.cloudwatch#BatchFailures", "traits": { - "smithy.api#documentation": "

An array listing the rules that could not be deleted. You cannot delete built-in rules.

" + "smithy.api#documentation": "

An array listing the rules that could not be deleted. You cannot delete built-in\n rules.

" } } }, @@ -1100,7 +1100,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the history for the specified alarm. You can filter the results by date range or item type.\n\t\t\tIf an alarm name is not specified, the histories for either all metric alarms or all composite alarms are returned.

\n

CloudWatch retains the history of an alarm even if you delete the alarm.

\n

To use this operation and return information about a composite alarm, you must be signed on with \n\t\t\tthe cloudwatch:DescribeAlarmHistory permission that is scoped to *. You can't return information\n\t\t\tabout composite alarms if your cloudwatch:DescribeAlarmHistory permission has a narrower scope.

", + "smithy.api#documentation": "

Retrieves the history for the specified alarm. You can filter the results by date\n range or item type. If an alarm name is not specified, the histories for either all\n metric alarms or all composite alarms are returned.

\n

CloudWatch retains the history of an alarm even if you delete the alarm.

\n

To use this operation and return information about a composite alarm, you must be\n signed on with the cloudwatch:DescribeAlarmHistory permission that is\n scoped to *. You can't return information about composite alarms if your\n cloudwatch:DescribeAlarmHistory permission has a narrower scope.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1121,7 +1121,7 @@ "AlarmTypes": { "target": "com.amazonaws.cloudwatch#AlarmTypes", "traits": { - "smithy.api#documentation": "

Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, \n\t\t\tonly metric alarms are returned.

" + "smithy.api#documentation": "

Use this parameter to specify whether you want the operation to return metric alarms\n or composite alarms. If you omit this parameter, only metric alarms are returned.

" } }, "HistoryItemType": { @@ -1151,13 +1151,13 @@ "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

The token returned by a previous call to indicate that there is more data\n\t\t\tavailable.

" + "smithy.api#documentation": "

The token returned by a previous call to indicate that there is more data\n available.

" } }, "ScanBy": { "target": "com.amazonaws.cloudwatch#ScanBy", "traits": { - "smithy.api#documentation": "

Specified whether to return the newest or oldest alarm history first. Specify TimestampDescending to have the newest\n\t\tevent history returned first, and specify TimestampAscending to have the oldest history returned first.

" + "smithy.api#documentation": "

Specified whether to return the newest or oldest alarm history first. Specify\n TimestampDescending to have the newest event history returned first,\n and specify TimestampAscending to have the oldest history returned\n first.

" } } }, @@ -1199,7 +1199,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the specified alarms. You can filter the results by specifying a prefix for the alarm\n\t\t\tname, the alarm state, or a prefix for any action.

\n

To use this operation and return information about composite alarms, you must be signed on with \n\t\tthe cloudwatch:DescribeAlarms permission that is scoped to *. You can't return information\n\t\t\tabout composite alarms if your cloudwatch:DescribeAlarms permission has a narrower scope.

", + "smithy.api#documentation": "

Retrieves the specified alarms. You can filter the results by specifying a prefix\n for the alarm name, the alarm state, or a prefix for any action.

\n

To use this operation and return information about composite alarms, you must be\n signed on with the cloudwatch:DescribeAlarms permission that is scoped to\n *. You can't return information about composite alarms if your\n cloudwatch:DescribeAlarms permission has a narrower scope.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1248,7 +1248,7 @@ "target": "com.amazonaws.cloudwatch#DescribeAlarmsForMetricOutput" }, "traits": { - "smithy.api#documentation": "

Retrieves the alarms for the specified metric. To\n\t\t\tfilter the results, specify a statistic, period, or unit.

\n

This operation retrieves only standard alarms that are based on\n\t\tthe specified metric. It does not return alarms based on math expressions that\n\t\tuse the specified metric, or composite alarms that use the specified metric.

" + "smithy.api#documentation": "

Retrieves the alarms for the specified metric. To filter the results, specify a\n statistic, period, or unit.

\n

This operation retrieves only standard alarms that are based on the specified\n metric. It does not return alarms based on math expressions that use the specified\n metric, or composite alarms that use the specified metric.

" } }, "com.amazonaws.cloudwatch#DescribeAlarmsForMetricInput": { @@ -1273,19 +1273,19 @@ "Statistic": { "target": "com.amazonaws.cloudwatch#Statistic", "traits": { - "smithy.api#documentation": "

The statistic for the metric, other than percentiles.\n\t\t For percentile statistics, use ExtendedStatistics.

" + "smithy.api#documentation": "

The statistic for the metric, other than percentiles. For percentile statistics,\n use ExtendedStatistics.

" } }, "ExtendedStatistic": { "target": "com.amazonaws.cloudwatch#ExtendedStatistic", "traits": { - "smithy.api#documentation": "

The percentile statistic for the metric. Specify a value between\n\t\t p0.0 and p100.

" + "smithy.api#documentation": "

The percentile statistic for the metric. Specify a value between p0.0 and\n p100.

" } }, "Dimensions": { "target": "com.amazonaws.cloudwatch#Dimensions", "traits": { - "smithy.api#documentation": "

The dimensions associated with the metric. If the metric has any associated\n\t\t\tdimensions, you must specify them in order for the call to succeed.

" + "smithy.api#documentation": "

The dimensions associated with the metric. If the metric has any associated\n dimensions, you must specify them in order for the call to succeed.

" } }, "Period": { @@ -1331,37 +1331,37 @@ "AlarmNamePrefix": { "target": "com.amazonaws.cloudwatch#AlarmNamePrefix", "traits": { - "smithy.api#documentation": "

An alarm name prefix. If you specify this parameter, you receive information about all alarms that have names\n\t\t\tthat start with this prefix.

\n

If this parameter\n\t\t\tis specified, you cannot specify AlarmNames.

" + "smithy.api#documentation": "

An alarm name prefix. If you specify this parameter, you receive information about\n all alarms that have names that start with this prefix.

\n

If this parameter is specified, you cannot specify\n AlarmNames.

" } }, "AlarmTypes": { "target": "com.amazonaws.cloudwatch#AlarmTypes", "traits": { - "smithy.api#documentation": "

Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you \n\t\t\tomit this parameter, \n\t\tonly metric alarms are returned, even if composite alarms exist in the account.

\n

For example, if you omit this parameter or specify MetricAlarms, the operation returns only a list of metric\n\t\talarms. It does not return any composite alarms, even if composite alarms exist in the account.

\n

If you specify CompositeAlarms, the operation returns only a list of composite\n\t\t\talarms, and does not return any metric alarms.

" + "smithy.api#documentation": "

Use this parameter to specify whether you want the operation to return metric alarms\n or composite alarms. If you omit this parameter, only metric alarms are returned, even\n if composite alarms exist in the account.

\n

For example, if you omit this parameter or specify MetricAlarms, the\n operation returns only a list of metric alarms. It does not return any composite alarms,\n even if composite alarms exist in the account.

\n

If you specify CompositeAlarms, the operation returns only a list of\n composite alarms, and does not return any metric alarms.

" } }, "ChildrenOfAlarmName": { "target": "com.amazonaws.cloudwatch#AlarmName", "traits": { - "smithy.api#documentation": "

If you use this parameter and specify the name of a composite alarm, the operation returns \n\t\t\tinformation about the \"children\" alarms\n\t\t\tof the alarm you specify. These are the metric alarms and composite alarms referenced in the \n\t\t\tAlarmRule field of the composite alarm that you specify in \n\t\t\tChildrenOfAlarmName. Information about the composite alarm that you name in \n\t\t\tChildrenOfAlarmName is not returned.

\n

If you specify ChildrenOfAlarmName, you cannot specify any other parameters in the request except\n\t\t\tfor MaxRecords and NextToken. If you do so, you\n\t\t\treceive a validation\n\t\t\terror.

\n \n

Only the Alarm Name, ARN, StateValue (OK/ALARM/INSUFFICIENT_DATA), and StateUpdatedTimestamp \n\t\t\tinformation are returned by this operation \n\t\t\twhen you use this parameter. To get complete information about\n\t\t\tthese alarms, perform another DescribeAlarms operation and specify\n\t\t\tthe parent alarm names in the AlarmNames parameter.

\n
" + "smithy.api#documentation": "

If you use this parameter and specify the name of a composite alarm, the operation\n returns information about the \"children\" alarms of the alarm you specify. These are the\n metric alarms and composite alarms referenced in the AlarmRule field of the\n composite alarm that you specify in ChildrenOfAlarmName. Information about\n the composite alarm that you name in ChildrenOfAlarmName is not\n returned.

\n

If you specify ChildrenOfAlarmName, you cannot specify any other\n parameters in the request except for MaxRecords and NextToken.\n If you do so, you receive a validation error.

\n \n

Only the Alarm Name, ARN, StateValue\n (OK/ALARM/INSUFFICIENT_DATA), and StateUpdatedTimestamp information are\n returned by this operation when you use this parameter. To get complete information\n about these alarms, perform another DescribeAlarms operation and\n specify the parent alarm names in the AlarmNames parameter.

\n
" } }, "ParentsOfAlarmName": { "target": "com.amazonaws.cloudwatch#AlarmName", "traits": { - "smithy.api#documentation": "

If you use this parameter and specify the name of a metric or composite alarm, the operation returns \n\t\t\tinformation about the \"parent\" alarms\n\t\t\tof the alarm you specify. These are the composite alarms that have AlarmRule\n\t\t\tparameters that reference \n\t\t\tthe alarm named in ParentsOfAlarmName. Information about the alarm that you specify in\n\t\t\tParentsOfAlarmName is not returned.

\n

If you specify ParentsOfAlarmName, you cannot specify any other parameters in the request except\n\t\t\tfor MaxRecords and NextToken. If you do so, you receive a validation\n\t\t\terror.

\n \n

Only the Alarm Name and ARN are returned by this operation when you use this parameter. To get complete information about\n\t\t\tthese alarms, perform another DescribeAlarms operation and specify\n\t\t\tthe parent alarm names in the AlarmNames parameter.

\n
" + "smithy.api#documentation": "

If you use this parameter and specify the name of a metric or composite alarm, the\n operation returns information about the \"parent\" alarms of the alarm you specify. These\n are the composite alarms that have AlarmRule parameters that reference the\n alarm named in ParentsOfAlarmName. Information about the alarm that you\n specify in ParentsOfAlarmName is not returned.

\n

If you specify ParentsOfAlarmName, you cannot specify any other\n parameters in the request except for MaxRecords and NextToken.\n If you do so, you receive a validation error.

\n \n

Only the Alarm Name and ARN are returned by this operation when you use this\n parameter. To get complete information about these alarms, perform another\n DescribeAlarms operation and specify the parent alarm names in the\n AlarmNames parameter.

\n
" } }, "StateValue": { "target": "com.amazonaws.cloudwatch#StateValue", "traits": { - "smithy.api#documentation": "

Specify this parameter to receive information only about alarms that are currently in the state that you specify.

" + "smithy.api#documentation": "

Specify this parameter to receive information only about alarms that are currently\n in the state that you specify.

" } }, "ActionPrefix": { "target": "com.amazonaws.cloudwatch#ActionPrefix", "traits": { - "smithy.api#documentation": "

Use this parameter to filter the results of the operation to only those alarms that\n\t\tuse a certain alarm action. For example, you could specify the ARN of an SNS topic to find all\n\t\talarms that send notifications to that topic.

" + "smithy.api#documentation": "

Use this parameter to filter the results of the operation to only those alarms that\n use a certain alarm action. For example, you could specify the ARN of an SNS topic to\n find all alarms that send notifications to that topic.

" } }, "MaxRecords": { @@ -1373,7 +1373,7 @@ "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

The token returned by a previous call to indicate that there is more data\n\t\t\tavailable.

" + "smithy.api#documentation": "

The token returned by a previous call to indicate that there is more data\n available.

" } } }, @@ -1430,7 +1430,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the anomaly detection models that you have created in your account.\n\t\t\tFor single metric anomaly detectors, \n\t\t\tyou can list all of the models in your account or filter the results \n\t\t\tto only the models that are related to a certain namespace, metric name, or metric dimension.\n\t\t\tFor metric math anomaly detectors, \n\t\t\tyou can list them by adding METRIC_MATH to the AnomalyDetectorTypes array. \n\t\t\tThis will return all metric math anomaly detectors in your account.

", + "smithy.api#documentation": "

Lists the anomaly detection models that you have created in your account. For single\n metric anomaly detectors, you can list all of the models in your account or filter the\n results to only the models that are related to a certain namespace, metric name, or\n metric dimension. For metric math anomaly detectors, you can list them by adding\n METRIC_MATH to the AnomalyDetectorTypes array. This will\n return all metric math anomaly detectors in your account.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1445,37 +1445,37 @@ "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

Use the token returned by the previous operation to request the next page of results.

" + "smithy.api#documentation": "

Use the token returned by the previous operation to request the next page of\n results.

" } }, "MaxResults": { "target": "com.amazonaws.cloudwatch#MaxReturnedResultsCount", "traits": { - "smithy.api#documentation": "

The maximum number of results to return in one operation. The maximum\n\t\t\tvalue that you can specify is 100.

\n

To retrieve the remaining results, make another call with the returned \n\t\t\tNextToken value.

" + "smithy.api#documentation": "

The maximum number of results to return in one operation. The maximum value that you\n can specify is 100.

\n

To retrieve the remaining results, make another call with the returned\n NextToken value.

" } }, "Namespace": { "target": "com.amazonaws.cloudwatch#Namespace", "traits": { - "smithy.api#documentation": "

Limits the results to only the anomaly detection models that\n\t\t\tare associated with the specified namespace.

" + "smithy.api#documentation": "

Limits the results to only the anomaly detection models that are associated with the\n specified namespace.

" } }, "MetricName": { "target": "com.amazonaws.cloudwatch#MetricName", "traits": { - "smithy.api#documentation": "

Limits the results to only the anomaly detection models that are associated with the\n\t\t\tspecified metric name. If there are multiple metrics with this name in different\n\t\t\tnamespaces that have anomaly detection models, they're all returned.

" + "smithy.api#documentation": "

Limits the results to only the anomaly detection models that are associated with the\n specified metric name. If there are multiple metrics with this name in different\n namespaces that have anomaly detection models, they're all returned.

" } }, "Dimensions": { "target": "com.amazonaws.cloudwatch#Dimensions", "traits": { - "smithy.api#documentation": "

Limits the results to only the anomaly detection models that are associated with the\n\t\t\tspecified metric dimensions. If there are multiple metrics that have these dimensions\n\t\t\tand have anomaly detection models associated, they're all returned.

" + "smithy.api#documentation": "

Limits the results to only the anomaly detection models that are associated with the\n specified metric dimensions. If there are multiple metrics that have these dimensions\n and have anomaly detection models associated, they're all returned.

" } }, "AnomalyDetectorTypes": { "target": "com.amazonaws.cloudwatch#AnomalyDetectorTypes", "traits": { - "smithy.api#documentation": "

The anomaly detector types to request when using DescribeAnomalyDetectorsInput.\n\t\t\tIf empty, defaults to SINGLE_METRIC.

" + "smithy.api#documentation": "

The anomaly detector types to request when using\n DescribeAnomalyDetectorsInput. If empty, defaults to\n SINGLE_METRIC.

" } } }, @@ -1495,7 +1495,7 @@ "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

A token that you can use in a subsequent operation to \n\t\tretrieve the next set of results.

" + "smithy.api#documentation": "

A token that you can use in a subsequent operation to retrieve the next set of\n results.

" } } }, @@ -1517,7 +1517,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of all the Contributor Insights rules in your account.

\n

For more information about Contributor Insights, see \n\t\tUsing Contributor Insights to Analyze High-Cardinality Data.

", + "smithy.api#documentation": "

Returns a list of all the Contributor Insights rules in your account.

\n

For more information about Contributor Insights, see Using Contributor\n Insights to Analyze High-Cardinality Data.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1531,13 +1531,13 @@ "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

Include this value, if it was returned by the previous operation, to get the next set of rules.

" + "smithy.api#documentation": "

Include this value, if it was returned by the previous operation, to get the next set\n of rules.

" } }, "MaxResults": { "target": "com.amazonaws.cloudwatch#InsightRuleMaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to return in one operation. If you omit this\n\t\tparameter, the default of 500 is used.

" + "smithy.api#documentation": "

The maximum number of results to return in one operation. If you omit this parameter,\n the default of 500 is used.

" } } }, @@ -1551,7 +1551,7 @@ "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

If this parameter is present, it is a token that marks the start of the next batch of returned results.

" + "smithy.api#documentation": "

If this parameter is present, it is a token that marks the start of the next batch of\n returned results.

" } }, "InsightRules": { @@ -1572,7 +1572,7 @@ "target": "com.amazonaws.cloudwatch#DimensionName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name of the dimension. Dimension names must contain only ASCII characters, must include \n\t\t\tat least one non-whitespace character, and cannot start with a colon (:).\n\t\t\tASCII\n\t\t\tcontrol characters are not supported as part of dimension names.

", + "smithy.api#documentation": "

The name of the dimension. Dimension names must contain only ASCII characters, must\n include at least one non-whitespace character, and cannot start with a colon\n (:). ASCII control characters are not supported as part of dimension\n names.

", "smithy.api#required": {} } }, @@ -1580,13 +1580,13 @@ "target": "com.amazonaws.cloudwatch#DimensionValue", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The value of the dimension. Dimension values must contain only ASCII characters and must include \n\t\t\tat least one non-whitespace character. ASCII\n\t\t\tcontrol characters are not supported as part of dimension values.

", + "smithy.api#documentation": "

The value of the dimension. Dimension values must contain only ASCII characters and\n must include at least one non-whitespace character. ASCII control characters are not\n supported as part of dimension values.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A dimension is a name/value pair that is part of the identity of a metric. Because dimensions are part of the unique \n\t\t\tidentifier for a metric, whenever you add a unique name/value pair to one of \n\t\t\tyour metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish\n\t\tInstanceId as a dimension name, and the actual instance ID as the value for that dimension.

\n

You \n\t\tcan assign up to 30 dimensions to a metric.

" + "smithy.api#documentation": "

A dimension is a name/value pair that is part of the identity of a metric. Because\n dimensions are part of the unique identifier for a metric, whenever you add a unique\n name/value pair to one of your metrics, you are creating a new variation of that metric.\n For example, many Amazon EC2 metrics publish InstanceId as a\n dimension name, and the actual instance ID as the value for that dimension.

\n

You can assign up to 30 dimensions to a metric.

" } }, "com.amazonaws.cloudwatch#DimensionFilter": { @@ -1662,7 +1662,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "

Disables the actions for the specified alarms. When an alarm's actions are disabled, the\n\t\t\talarm actions do not execute when the alarm state changes.

" + "smithy.api#documentation": "

Disables the actions for the specified alarms. When an alarm's actions are\n disabled, the alarm actions do not execute when the alarm state changes.

" } }, "com.amazonaws.cloudwatch#DisableAlarmActionsInput": { @@ -1698,7 +1698,7 @@ } ], "traits": { - "smithy.api#documentation": "

Disables the specified Contributor Insights rules. When rules are disabled, they do not analyze log groups and do \n\t\tnot incur costs.

" + "smithy.api#documentation": "

Disables the specified Contributor Insights rules. When rules are disabled, they do\n not analyze log groups and do not incur costs.

" } }, "com.amazonaws.cloudwatch#DisableInsightRulesInput": { @@ -1708,7 +1708,7 @@ "target": "com.amazonaws.cloudwatch#InsightRuleNames", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

An array of the rule names to disable. If you need to find out the names of your rules, use DescribeInsightRules.

", + "smithy.api#documentation": "

An array of the rule names to disable. If you need to find out the names of your\n rules, use DescribeInsightRules.

", "smithy.api#required": {} } } @@ -1723,7 +1723,7 @@ "Failures": { "target": "com.amazonaws.cloudwatch#BatchFailures", "traits": { - "smithy.api#documentation": "

An array listing the rules that could not be disabled. You cannot disable built-in rules.

" + "smithy.api#documentation": "

An array listing the rules that could not be disabled. You cannot disable built-in\n rules.

" } } }, @@ -1779,7 +1779,7 @@ } ], "traits": { - "smithy.api#documentation": "

Enables the specified Contributor Insights rules. When rules are enabled, they immediately begin analyzing log data.

" + "smithy.api#documentation": "

Enables the specified Contributor Insights rules. When rules are enabled, they\n immediately begin analyzing log data.

" } }, "com.amazonaws.cloudwatch#EnableInsightRulesInput": { @@ -1789,7 +1789,7 @@ "target": "com.amazonaws.cloudwatch#InsightRuleNames", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

An array of the rule names to enable. If you need to find out the names of your rules, use DescribeInsightRules.

", + "smithy.api#documentation": "

An array of the rule names to enable. If you need to find out the names of your rules,\n use DescribeInsightRules.

", "smithy.api#required": {} } } @@ -1804,7 +1804,7 @@ "Failures": { "target": "com.amazonaws.cloudwatch#BatchFailures", "traits": { - "smithy.api#documentation": "

An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.

" + "smithy.api#documentation": "

An array listing the rules that could not be enabled. You cannot disable or enable\n built-in rules.

" } } }, @@ -1812,6 +1812,118 @@ "smithy.api#output": {} } }, + "com.amazonaws.cloudwatch#Entity": { + "type": "structure", + "members": { + "KeyAttributes": { + "target": "com.amazonaws.cloudwatch#EntityKeyAttributesMap", + "traits": { + "smithy.api#documentation": "

The attributes of the entity which identify the specific entity, as a list of \n key-value pairs. Entities with the same KeyAttributes are considered to be\n the same entity. For an entity to be valid, the KeyAttributes must exist\n and be formatted correctly.

\n

There are five allowed attributes (key names): Type,\n ResourceType, Identifier, Name, and\n Environment.

\n

For details about how to use the key attributes to specify an entity, see How to add related \n information to telemetry in the CloudWatch User \n Guide.

" + } + }, + "Attributes": { + "target": "com.amazonaws.cloudwatch#EntityAttributesMap", + "traits": { + "smithy.api#documentation": "

Additional attributes of the entity that are not used to specify the identity of the\n entity. A list of key-value pairs.

\n

For details about how to use the attributes, see How to add related information to \n telemetry in the CloudWatch User Guide.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An entity associated with metrics, to allow for finding related telemetry. An entity\n is typically a resource or service within your system. For example, metrics from an\n Amazon EC2 instance could be associated with that instance as the entity. \n Similarly, metrics from a service that you own could be associated with that service as \n the entity.

" + } + }, + "com.amazonaws.cloudwatch#EntityAttributesMap": { + "type": "map", + "key": { + "target": "com.amazonaws.cloudwatch#EntityAttributesMapKeyString" + }, + "value": { + "target": "com.amazonaws.cloudwatch#EntityAttributesMapValueString" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, + "com.amazonaws.cloudwatch#EntityAttributesMapKeyString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.cloudwatch#EntityAttributesMapValueString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, + "com.amazonaws.cloudwatch#EntityKeyAttributesMap": { + "type": "map", + "key": { + "target": "com.amazonaws.cloudwatch#EntityKeyAttributesMapKeyString" + }, + "value": { + "target": "com.amazonaws.cloudwatch#EntityKeyAttributesMapValueString" + }, + "traits": { + "smithy.api#length": { + "min": 2, + "max": 4 + } + } + }, + "com.amazonaws.cloudwatch#EntityKeyAttributesMapKeyString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 32 + } + } + }, + "com.amazonaws.cloudwatch#EntityKeyAttributesMapValueString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, + "com.amazonaws.cloudwatch#EntityMetricData": { + "type": "structure", + "members": { + "Entity": { + "target": "com.amazonaws.cloudwatch#Entity", + "traits": { + "smithy.api#documentation": "

The entity associated with the metrics.

" + } + }, + "MetricData": { + "target": "com.amazonaws.cloudwatch#MetricData", + "traits": { + "smithy.api#documentation": "

The metric data.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A set of metrics that are associated with an entity, such as a specific service\n or resource. Contains the entity and the list of metric data associated with it.

" + } + }, + "com.amazonaws.cloudwatch#EntityMetricDataList": { + "type": "list", + "member": { + "target": "com.amazonaws.cloudwatch#EntityMetricData" + } + }, "com.amazonaws.cloudwatch#ErrorMessage": { "type": "string", "traits": { @@ -1899,7 +2011,7 @@ } ], "traits": { - "smithy.api#documentation": "

Displays the details of the dashboard that you specify.

\n

To copy an existing dashboard, use GetDashboard, and then use the data returned\n\t\t\twithin DashboardBody as the template for the new dashboard when you call PutDashboard to create\n\t\t\tthe copy.

" + "smithy.api#documentation": "

Displays the details of the dashboard that you specify.

\n

To copy an existing dashboard, use GetDashboard, and then use the data\n returned within DashboardBody as the template for the new dashboard when\n you call PutDashboard to create the copy.

" } }, "com.amazonaws.cloudwatch#GetDashboardInput": { @@ -1930,7 +2042,7 @@ "DashboardBody": { "target": "com.amazonaws.cloudwatch#DashboardBody", "traits": { - "smithy.api#documentation": "

The detailed information about the dashboard, including what widgets are included and their location\n\t\t\ton the dashboard. For more information about the DashboardBody syntax, \n\t\t\tsee Dashboard Body Structure and Syntax.

" + "smithy.api#documentation": "

The detailed information about the dashboard, including what widgets are included\n and their location on the dashboard. For more information about the\n DashboardBody syntax, see Dashboard Body Structure and Syntax.

" } }, "DashboardName": { @@ -1964,7 +2076,7 @@ } ], "traits": { - "smithy.api#documentation": "

This operation returns the time series data collected by a Contributor Insights rule. The data includes the identity and number of \n\t\tcontributors to the log group.

\n

You can also optionally return one or more statistics about each data point in the time series. These statistics can include the following:

\n " + "smithy.api#documentation": "

This operation returns the time series data collected by a Contributor Insights rule.\n The data includes the identity and number of contributors to the log group.

\n

You can also optionally return one or more statistics about each data point in the\n time series. These statistics can include the following:

\n " } }, "com.amazonaws.cloudwatch#GetInsightRuleReportInput": { @@ -1982,7 +2094,7 @@ "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The start time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as \n\t\t\tyyyy-MM-dd'T'HH:mm:ss. For example, \n\t\t\t2019-07-01T23:59:59.

", + "smithy.api#documentation": "

The start time of the data to use in the report. When used in a raw HTTP Query API, it\n is formatted as yyyy-MM-dd'T'HH:mm:ss. For example,\n 2019-07-01T23:59:59.

", "smithy.api#required": {} } }, @@ -1990,7 +2102,7 @@ "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The end time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as \n\t\t\tyyyy-MM-dd'T'HH:mm:ss. For example, \n\t\t\t2019-07-01T23:59:59.

", + "smithy.api#documentation": "

The end time of the data to use in the report. When used in a raw HTTP Query API, it\n is formatted as yyyy-MM-dd'T'HH:mm:ss. For example,\n 2019-07-01T23:59:59.

", "smithy.api#required": {} } }, @@ -1998,26 +2110,26 @@ "target": "com.amazonaws.cloudwatch#Period", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The period, in seconds, to use for the statistics in the InsightRuleMetricDatapoint results.

", + "smithy.api#documentation": "

The period, in seconds, to use for the statistics in the\n InsightRuleMetricDatapoint results.

", "smithy.api#required": {} } }, "MaxContributorCount": { "target": "com.amazonaws.cloudwatch#InsightRuleUnboundInteger", "traits": { - "smithy.api#documentation": "

The maximum number of contributors to include in the report. The range is 1 to 100. If you omit this, the default of 10 is used.

" + "smithy.api#documentation": "

The maximum number of contributors to include in the report. The range is 1 to 100. If\n you omit this, the default of 10 is used.

" } }, "Metrics": { "target": "com.amazonaws.cloudwatch#InsightRuleMetricList", "traits": { - "smithy.api#documentation": "

Specifies which metrics to use for aggregation of contributor values for the report. You can specify one or more\n\t\tof the following metrics:

\n " + "smithy.api#documentation": "

Specifies which metrics to use for aggregation of contributor values for the report.\n You can specify one or more of the following metrics:

\n " } }, "OrderBy": { "target": "com.amazonaws.cloudwatch#InsightRuleOrderBy", "traits": { - "smithy.api#documentation": "

Determines what statistic to use to rank the contributors. Valid values are Sum and Maximum.

" + "smithy.api#documentation": "

Determines what statistic to use to rank the contributors. Valid values are\n Sum and Maximum.

" } } }, @@ -2031,7 +2143,7 @@ "KeyLabels": { "target": "com.amazonaws.cloudwatch#InsightRuleContributorKeyLabels", "traits": { - "smithy.api#documentation": "

An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. \n\t\t\tIf the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.

" + "smithy.api#documentation": "

An array of the strings used as the keys for this rule. The keys are the dimensions\n used to classify contributors. If the rule contains more than one key, then each unique\n combination of values for the keys is counted as a unique contributor.

" } }, "AggregationStatistic": { @@ -2049,19 +2161,19 @@ "ApproximateUniqueCount": { "target": "com.amazonaws.cloudwatch#InsightRuleUnboundLong", "traits": { - "smithy.api#documentation": "

An approximate count of the unique contributors found by this rule in this time period.

" + "smithy.api#documentation": "

An approximate count of the unique contributors found by this rule in this time\n period.

" } }, "Contributors": { "target": "com.amazonaws.cloudwatch#InsightRuleContributors", "traits": { - "smithy.api#documentation": "

An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values\n\t\tfor the keys counts as a unique contributor.

" + "smithy.api#documentation": "

An array of the unique contributors found by this rule in this time period. If the\n rule contains multiple keys, each combination of values for the keys counts as a unique\n contributor.

" } }, "MetricDatapoints": { "target": "com.amazonaws.cloudwatch#InsightRuleMetricDatapoints", "traits": { - "smithy.api#documentation": "

A time series of metric data points that matches the time period in the rule request.

" + "smithy.api#documentation": "

A time series of metric data points that matches the time period in the rule\n request.

" } } }, @@ -2083,7 +2195,7 @@ } ], "traits": { - "smithy.api#documentation": "

You can use the GetMetricData API to retrieve CloudWatch metric values. The operation \n\t\t\tcan also include a CloudWatch Metrics Insights query, and one or more metric math functions.

\n

A GetMetricData operation that does not include a query can retrieve as many as 500 different\n\t\t\tmetrics in a single request, with a total of as many as 100,800 data points. You can also\n\t\t\toptionally perform metric math expressions on the values of the returned statistics, to create\n\t\t\tnew time series that represent new insights into your data. For example, using Lambda\n\t\t\tmetrics, you could divide the Errors metric by the Invocations metric to get an error\n\t\t\trate time series. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User\n\t\t\t\t\tGuide.

\n

If you include a Metrics Insights query, each GetMetricData operation can include only one\n\t\t\tquery. But the same GetMetricData operation can also retrieve other metrics. Metrics Insights queries\n\t\tcan query only the most recent three hours of metric data. For more information about Metrics Insights, \n\t\tsee Query your metrics with CloudWatch Metrics Insights.

\n

Calls to the GetMetricData API have a different pricing structure than \n\t\t\tcalls to GetMetricStatistics. For more information about pricing, see \n\t\t\tAmazon CloudWatch Pricing.

\n

Amazon CloudWatch retains metric data as follows:

\n \n

Data points that are initially published with a shorter period are aggregated together for long-term storage. For example, if you collect \n\t\t\tdata using a period of 1 minute, the data remains available for 15 days with 1-minute resolution. After 15 days, this data is still available, \n\t\t\tbut is aggregated and retrievable only with a resolution of 5 minutes. After 63 days, the data is further aggregated and is available with \n\t\t\ta resolution of 1 hour.

\n

If you omit Unit in your request, all data that was collected with any unit is returned, along with the corresponding units that were specified\n\t\t\twhen the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified.\n\t\t\tIf you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.

\n

\n Using Metrics Insights queries with metric math\n

\n

You can't mix a Metric Insights query and metric math syntax in the same expression, but \n\t\t\tyou can reference results from a Metrics Insights query within other Metric math expressions. A Metrics Insights \n\t\t\tquery without a GROUP BY clause returns a single time-series (TS), \n\t\t\tand can be used as input for a metric math expression that expects a single time series. A Metrics Insights \n\t\t\tquery with a GROUP BY clause returns an array of time-series (TS[]), \n\t\t\tand can be used as input for a metric math expression that expects an array of time series.

", + "smithy.api#documentation": "

You can use the GetMetricData API to retrieve CloudWatch metric\n values. The operation can also include a CloudWatch Metrics Insights query, and\n one or more metric math functions.

\n

A GetMetricData operation that does not include a query can retrieve\n as many as 500 different metrics in a single request, with a total of as many as 100,800\n data points. You can also optionally perform metric math expressions on the values of\n the returned statistics, to create new time series that represent new insights into your\n data. For example, using Lambda metrics, you could divide the Errors metric by the\n Invocations metric to get an error rate time series. For more information about metric\n math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User\n Guide.

\n

If you include a Metrics Insights query, each GetMetricData operation can\n include only one query. But the same GetMetricData operation can also\n retrieve other metrics. Metrics Insights queries can query only the most recent three\n hours of metric data. For more information about Metrics Insights, see Query your metrics with CloudWatch Metrics Insights.

\n

Calls to the GetMetricData API have a different pricing structure than\n calls to GetMetricStatistics. For more information about pricing, see\n Amazon CloudWatch\n Pricing.

\n

Amazon CloudWatch retains metric data as follows:

\n \n

Data points that are initially published with a shorter period are aggregated\n together for long-term storage. For example, if you collect data using a period of 1\n minute, the data remains available for 15 days with 1-minute resolution. After 15 days,\n this data is still available, but is aggregated and retrievable only with a resolution\n of 5 minutes. After 63 days, the data is further aggregated and is available with a\n resolution of 1 hour.

\n

If you omit Unit in your request, all data that was collected with any\n unit is returned, along with the corresponding units that were specified when the data\n was reported to CloudWatch. If you specify a unit, the operation returns only data that\n was collected with that unit specified. If you specify a unit that does not match the\n data collected, the results of the operation are null. CloudWatch does not perform unit\n conversions.

\n

\n Using Metrics Insights queries with metric\n math\n

\n

You can't mix a Metric Insights query and metric math syntax in the same expression,\n but you can reference results from a Metrics Insights query within other Metric math\n expressions. A Metrics Insights query without a GROUP\n BY clause returns a single time-series (TS), and can be used as input for\n a metric math expression that expects a single time series. A Metrics Insights query\n with a GROUP BY clause returns an array of time-series\n (TS[]), and can be used as input for a metric math expression that expects an array of\n time series.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -2098,7 +2210,7 @@ "target": "com.amazonaws.cloudwatch#MetricDataQueries", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The metric queries to be returned. A single GetMetricData call can \n\t\t\tinclude as many as 500 MetricDataQuery\n\t\tstructures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query,\n\t\tor a math expression to perform on retrieved data.

", + "smithy.api#documentation": "

The metric queries to be returned. A single GetMetricData call can\n include as many as 500 MetricDataQuery structures. Each of these structures\n can specify either a metric to retrieve, a Metrics Insights query, or a math expression\n to perform on retrieved data.

", "smithy.api#required": {} } }, @@ -2106,7 +2218,7 @@ "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The time stamp indicating the earliest data to be returned.

\n

The value specified is inclusive; results include data points with the specified time stamp.

\n

CloudWatch rounds the specified time stamp as follows:

\n \n

If you set Period to 5, 10, or 30, the start time of your request is \n\t\t\trounded down to the nearest time that corresponds to even 5-, 10-, or 30-second divisions\n\t\t\tof a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for the previous \n\t\t\t10-second period, the start time of your request is rounded down and you receive data from 01:05:10 to \n\t\t\t01:05:20. If you make a query at 15:07:17 for the previous 5 minutes of data, using a \n\t\t\tperiod of 5 seconds, you receive data \n\t\t\ttimestamped between 15:02:15 and 15:07:15.\n\t\t

\n

For better performance, specify StartTime and EndTime\n\t\tvalues that align with the value of the metric's Period and sync up with\n\t\tthe beginning and end of an hour. For example, if the Period of a metric\n\t\tis 5 minutes, specifying 12:05 or 12:30 as StartTime can get a faster response\n\t\t\tfrom CloudWatch than setting 12:07 or 12:29 as the StartTime.

", + "smithy.api#documentation": "

The time stamp indicating the earliest data to be returned.

\n

The value specified is inclusive; results include data points with the specified\n time stamp.

\n

CloudWatch rounds the specified time stamp as follows:

\n \n

If you set Period to 5, 10, or 30, the start time of your request is\n rounded down to the nearest time that corresponds to even 5-, 10-, or 30-second\n divisions of a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for the\n previous 10-second period, the start time of your request is rounded down and you\n receive data from 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the previous\n 5 minutes of data, using a period of 5 seconds, you receive data timestamped between\n 15:02:15 and 15:07:15.

\n

For better performance, specify StartTime and EndTime values\n that align with the value of the metric's Period and sync up with the\n beginning and end of an hour. For example, if the Period of a metric is 5\n minutes, specifying 12:05 or 12:30 as StartTime can get a faster response\n from CloudWatch than setting 12:07 or 12:29 as the StartTime.

", "smithy.api#required": {} } }, @@ -2114,32 +2226,32 @@ "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The time stamp indicating the latest data to be returned.

\n

The value specified is exclusive; results include data points up to the specified time stamp.

\n

For better performance, specify StartTime and EndTime\n\t\t\tvalues that align with the value of the metric's Period and sync up with\n\t\t\tthe beginning and end of an hour. For example, if the Period of a metric\n\t\t\tis 5 minutes, specifying 12:05 or 12:30 as EndTime can get a faster response\n\t\t\tfrom CloudWatch than setting 12:07 or 12:29 as the EndTime.

", + "smithy.api#documentation": "

The time stamp indicating the latest data to be returned.

\n

The value specified is exclusive; results include data points up to the specified\n time stamp.

\n

For better performance, specify StartTime and EndTime values\n that align with the value of the metric's Period and sync up with the\n beginning and end of an hour. For example, if the Period of a metric is 5\n minutes, specifying 12:05 or 12:30 as EndTime can get a faster response\n from CloudWatch than setting 12:07 or 12:29 as the EndTime.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

Include this value, if it was returned by the previous GetMetricData operation, \n\t\t\tto get the next set of data points.

" + "smithy.api#documentation": "

Include this value, if it was returned by the previous GetMetricData\n operation, to get the next set of data points.

" } }, "ScanBy": { "target": "com.amazonaws.cloudwatch#ScanBy", "traits": { - "smithy.api#documentation": "

The order in which data points should be returned. TimestampDescending returns the newest data first and paginates\n\t\t\twhen the MaxDatapoints limit is reached. TimestampAscending returns the oldest data first and paginates\n\t\t\twhen the MaxDatapoints limit is reached.

\n

If you omit this parameter, the default of TimestampDescending is used.

" + "smithy.api#documentation": "

The order in which data points should be returned. TimestampDescending\n returns the newest data first and paginates when the MaxDatapoints limit is\n reached. TimestampAscending returns the oldest data first and paginates\n when the MaxDatapoints limit is reached.

\n

If you omit this parameter, the default of TimestampDescending is\n used.

" } }, "MaxDatapoints": { "target": "com.amazonaws.cloudwatch#GetMetricDataMaxDatapoints", "traits": { - "smithy.api#documentation": "

The maximum number of data points the request should return before paginating. If you omit\n\t\t\tthis, the default of 100,800 is used.

" + "smithy.api#documentation": "

The maximum number of data points the request should return before paginating. If you\n omit this, the default of 100,800 is used.

" } }, "LabelOptions": { "target": "com.amazonaws.cloudwatch#LabelOptions", "traits": { - "smithy.api#documentation": "

This structure includes the Timezone parameter, which you can use\n\t\t\tto specify your time zone so that the labels of returned data display the \n\t\t\tcorrect time\n\t\t\tfor your time zone.

" + "smithy.api#documentation": "

This structure includes the Timezone parameter, which you can use to\n specify your time zone so that the labels of returned data display the correct time for\n your time zone.

" } } }, @@ -2159,7 +2271,7 @@ "MetricDataResults": { "target": "com.amazonaws.cloudwatch#MetricDataResults", "traits": { - "smithy.api#documentation": "

The metrics that are returned, including the metric name, namespace, and dimensions.

" + "smithy.api#documentation": "

The metrics that are returned, including the metric name, namespace, and\n dimensions.

" } }, "NextToken": { @@ -2171,7 +2283,7 @@ "Messages": { "target": "com.amazonaws.cloudwatch#MetricDataResultMessages", "traits": { - "smithy.api#documentation": "

Contains a message about this GetMetricData operation, if the operation results in such a message.\n\t\t\tAn example of a message that\n\t\t\tmight be returned is Maximum number of allowed metrics exceeded. If there is a message, as much of the\n\t\t\toperation as possible is still executed.

\n

A message appears here only if it is related to the global GetMetricData operation. Any message\n\t\t\tabout a specific metric returned by the operation appears in the MetricDataResult object returned for that metric.

" + "smithy.api#documentation": "

Contains a message about this GetMetricData operation, if the operation\n results in such a message. An example of a message that might be returned is\n Maximum number of allowed metrics exceeded. If there is a message, as\n much of the operation as possible is still executed.

\n

A message appears here only if it is related to the global GetMetricData\n operation. Any message about a specific metric returned by the operation appears in the\n MetricDataResult object returned for that metric.

" } } }, @@ -2202,7 +2314,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets statistics for the specified metric.

\n

The maximum number of data points returned from a single call is 1,440. If \n\t\t\tyou request more than 1,440 data points, CloudWatch returns an error. \n\t\t\tTo reduce the number of data points, you can narrow the specified time range and make \n\t\t\tmultiple requests across adjacent time ranges, or you can increase the specified period. \n\t\t\tData points are not returned in chronological order.

\n

CloudWatch aggregates data points based on the length of the period\n\t\t\tthat you specify. For example, if you request statistics with a one-hour period, \n\t\t\tCloudWatch aggregates all data points with time stamps that fall within each \n\t\t\tone-hour period. Therefore, the number of values aggregated by CloudWatch is larger than\n\t\t\tthe number of data points returned.

\n

CloudWatch needs raw data points to calculate percentile statistics. If you publish \n\t\t\tdata using a statistic set instead, you can only retrieve \n\t\t\tpercentile statistics for this data if one of the following conditions is true:

\n \n

Percentile statistics are not available for metrics when any of the metric values are negative numbers.

\n

Amazon CloudWatch retains metric data as follows:

\n \n

Data points that are initially published with a shorter period are aggregated together for long-term storage. For example, if you collect \n\t\t\tdata using a period of 1 minute, the data remains available for 15 days with 1-minute resolution. After 15 days, this data is still available, \n\t\t\tbut is aggregated and retrievable only with a resolution of 5 minutes. After 63 days, the data is further aggregated and is available with \n\t\ta resolution of 1 hour.

\n

CloudWatch started retaining 5-minute and 1-hour metric data as of July 9, 2016.

\n

For information about metrics and dimensions supported by Amazon Web Services services, see the \n\t\t\tAmazon CloudWatch Metrics and Dimensions Reference in the\n\t\t\tAmazon CloudWatch User Guide.

" + "smithy.api#documentation": "

Gets statistics for the specified metric.

\n

The maximum number of data points returned from a single call is 1,440. If you\n request more than 1,440 data points, CloudWatch returns an error. To reduce the number\n of data points, you can narrow the specified time range and make multiple requests\n across adjacent time ranges, or you can increase the specified period. Data points are\n not returned in chronological order.

\n

CloudWatch aggregates data points based on the length of the period that you\n specify. For example, if you request statistics with a one-hour period, CloudWatch\n aggregates all data points with time stamps that fall within each one-hour period.\n Therefore, the number of values aggregated by CloudWatch is larger than the number of\n data points returned.

\n

CloudWatch needs raw data points to calculate percentile statistics. If you publish\n data using a statistic set instead, you can only retrieve percentile statistics for this\n data if one of the following conditions is true:

\n \n

Percentile statistics are not available for metrics when any of the metric values\n are negative numbers.

\n

Amazon CloudWatch retains metric data as follows:

\n \n

Data points that are initially published with a shorter period are aggregated\n together for long-term storage. For example, if you collect data using a period of 1\n minute, the data remains available for 15 days with 1-minute resolution. After 15 days,\n this data is still available, but is aggregated and retrievable only with a resolution\n of 5 minutes. After 63 days, the data is further aggregated and is available with a\n resolution of 1 hour.

\n

CloudWatch started retaining 5-minute and 1-hour metric data as of July 9,\n 2016.

\n

For information about metrics and dimensions supported by Amazon Web Services\n services, see the Amazon CloudWatch\n Metrics and Dimensions Reference in the Amazon CloudWatch User\n Guide.

" } }, "com.amazonaws.cloudwatch#GetMetricStatisticsInput": { @@ -2227,14 +2339,14 @@ "Dimensions": { "target": "com.amazonaws.cloudwatch#Dimensions", "traits": { - "smithy.api#documentation": "

The dimensions. If the metric contains multiple dimensions, you must include a value for each dimension. \n\t\t\tCloudWatch treats each unique combination of dimensions as a separate metric.\n\t\t If a specific combination of dimensions was not published, you can't retrieve statistics for it.\n\t\t You must specify the same dimensions that were used when the metrics were created. For an example,\n\t\t see Dimension Combinations in the Amazon CloudWatch User Guide. For more information about specifying dimensions, see Publishing Metrics in the\n\t\t\tAmazon CloudWatch User Guide.

" + "smithy.api#documentation": "

The dimensions. If the metric contains multiple dimensions, you must include a\n value for each dimension. CloudWatch treats each unique combination of dimensions as a\n separate metric. If a specific combination of dimensions was not published, you can't\n retrieve statistics for it. You must specify the same dimensions that were used when the\n metrics were created. For an example, see Dimension Combinations in the Amazon CloudWatch User\n Guide. For more information about specifying dimensions, see Publishing Metrics in the Amazon CloudWatch User\n Guide.

" } }, "StartTime": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The time stamp that determines the first data point to return. Start times are \n\t\t\tevaluated relative to the time that CloudWatch receives the request.

\n

The value specified is inclusive; results include data points with the specified time stamp. \n\t \tIn a raw HTTP query, the time stamp must be in ISO 8601 UTC format (for example, 2016-10-03T23:00:00Z).

\n

CloudWatch rounds the specified time stamp as follows:

\n \n

If you set Period to 5, 10, or 30, the start time of your request is \n\t\t\trounded down to the nearest time that corresponds to even 5-, 10-, or 30-second divisions\n\t\t\tof a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for the previous \n\t\t\t10-second period, the start time of your request is rounded down and you receive data from 01:05:10 to \n\t\t\t01:05:20. If you make a query at 15:07:17 for the previous 5 minutes of data, using a \n\t\t\tperiod of 5 seconds, you receive data \n\t\t\ttimestamped between 15:02:15 and 15:07:15.\n\t\t

", + "smithy.api#documentation": "

The time stamp that determines the first data point to return. Start times are\n evaluated relative to the time that CloudWatch receives the request.

\n

The value specified is inclusive; results include data points with the specified\n time stamp. In a raw HTTP query, the time stamp must be in ISO 8601 UTC format (for\n example, 2016-10-03T23:00:00Z).

\n

CloudWatch rounds the specified time stamp as follows:

\n \n

If you set Period to 5, 10, or 30, the start time of your request is\n rounded down to the nearest time that corresponds to even 5-, 10-, or 30-second\n divisions of a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for the\n previous 10-second period, the start time of your request is rounded down and you\n receive data from 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the previous\n 5 minutes of data, using a period of 5 seconds, you receive data timestamped between\n 15:02:15 and 15:07:15.

", "smithy.api#required": {} } }, @@ -2242,7 +2354,7 @@ "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The time stamp that determines the last data point to return.

\n

The value specified is exclusive; results include data points up to the specified time stamp.\n\t\t\tIn a raw HTTP query, the time stamp must be in ISO 8601 UTC format (for example, 2016-10-10T23:00:00Z).

", + "smithy.api#documentation": "

The time stamp that determines the last data point to return.

\n

The value specified is exclusive; results include data points up to the specified\n time stamp. In a raw HTTP query, the time stamp must be in ISO 8601 UTC format (for\n example, 2016-10-10T23:00:00Z).

", "smithy.api#required": {} } }, @@ -2250,26 +2362,26 @@ "target": "com.amazonaws.cloudwatch#Period", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can\n\t\t\tbe as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected\n\t\t\tat intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics\n\t\tare those metrics stored by a PutMetricData call that includes a StorageResolution of 1 second.

\n

If the StartTime parameter specifies a time stamp that is greater than\n\t\t 3 hours ago, you must specify the period as follows or no data points in that time range is returned:

\n ", + "smithy.api#documentation": "

The granularity, in seconds, of the returned data points. For metrics with regular\n resolution, a period can be as short as one minute (60 seconds) and must be a multiple\n of 60. For high-resolution metrics that are collected at intervals of less than one\n minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution\n metrics are those metrics stored by a PutMetricData call that includes a\n StorageResolution of 1 second.

\n

If the StartTime parameter specifies a time stamp that is greater than\n 3 hours ago, you must specify the period as follows or no data points in that time range\n is returned:

\n ", "smithy.api#required": {} } }, "Statistics": { "target": "com.amazonaws.cloudwatch#Statistics", "traits": { - "smithy.api#documentation": "

The metric statistics, other than percentile. For percentile statistics,\n\t\t use ExtendedStatistics. When calling GetMetricStatistics, you must \n\t\tspecify either Statistics or ExtendedStatistics, but not both.

" + "smithy.api#documentation": "

The metric statistics, other than percentile. For percentile statistics, use\n ExtendedStatistics. When calling GetMetricStatistics, you\n must specify either Statistics or ExtendedStatistics, but not\n both.

" } }, "ExtendedStatistics": { "target": "com.amazonaws.cloudwatch#ExtendedStatistics", "traits": { - "smithy.api#documentation": "

The percentile statistics. Specify values between p0.0 and p100. When calling GetMetricStatistics, you must \n\t\t\tspecify either Statistics or ExtendedStatistics, but not both. Percentile statistics are not \n\t\t\tavailable for metrics when any of the metric values are negative numbers.

" + "smithy.api#documentation": "

The percentile statistics. Specify values between p0.0 and p100. When calling\n GetMetricStatistics, you must specify either Statistics or\n ExtendedStatistics, but not both. Percentile statistics are not\n available for metrics when any of the metric values are negative numbers.

" } }, "Unit": { "target": "com.amazonaws.cloudwatch#StandardUnit", "traits": { - "smithy.api#documentation": "

The unit for a given metric. \n\t\t\tIf you omit Unit, all data that was collected with any unit is returned, along with the corresponding units that were specified\n\t\t\twhen the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified.\n\t\t\tIf you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.

" + "smithy.api#documentation": "

The unit for a given metric. If you omit Unit, all data that was\n collected with any unit is returned, along with the corresponding units that were\n specified when the data was reported to CloudWatch. If you specify a unit, the operation\n returns only data that was collected with that unit specified. If you specify a unit\n that does not match the data collected, the results of the operation are null.\n CloudWatch does not perform unit conversions.

" } } }, @@ -2360,19 +2472,19 @@ "IncludeFilters": { "target": "com.amazonaws.cloudwatch#MetricStreamFilters", "traits": { - "smithy.api#documentation": "

If this array of metric namespaces is present, then these\n\t\t\tnamespaces are the only\n\t\tmetric namespaces that are streamed by this metric stream.

" + "smithy.api#documentation": "

If this array of metric namespaces is present, then these namespaces are the only\n metric namespaces that are streamed by this metric stream.

" } }, "ExcludeFilters": { "target": "com.amazonaws.cloudwatch#MetricStreamFilters", "traits": { - "smithy.api#documentation": "

If this array of metric namespaces is present, then these namespaces are the only\n\t\t\tmetric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in\n\t\tthe account are streamed by this metric stream.

" + "smithy.api#documentation": "

If this array of metric namespaces is present, then these namespaces are the only\n metric namespaces that are not streamed by this metric stream. In this case, all other\n metric namespaces in the account are streamed by this metric stream.

" } }, "FirehoseArn": { "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { - "smithy.api#documentation": "

The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric\n\t\t\tstream.

" + "smithy.api#documentation": "

The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this\n metric stream.

" } }, "RoleArn": { @@ -2384,7 +2496,7 @@ "State": { "target": "com.amazonaws.cloudwatch#MetricStreamState", "traits": { - "smithy.api#documentation": "

The state of the metric stream. The possible values are running\n\t\tand stopped.

" + "smithy.api#documentation": "

The state of the metric stream. The possible values are running and\n stopped.

" } }, "CreationDate": { @@ -2402,19 +2514,19 @@ "OutputFormat": { "target": "com.amazonaws.cloudwatch#MetricStreamOutputFormat", "traits": { - "smithy.api#documentation": "

The output format for the stream. \n\t\t\tValid values are json, opentelemetry1.0, and opentelemetry0.7. \n\t\t\tFor more information about metric stream output formats, \n\t\t\tsee Metric streams output formats.

" + "smithy.api#documentation": "

The output format for the stream. Valid values are json,\n opentelemetry1.0, and opentelemetry0.7. For more\n information about metric stream output formats, see Metric streams output formats.

" } }, "StatisticsConfigurations": { "target": "com.amazonaws.cloudwatch#MetricStreamStatisticsConfigurations", "traits": { - "smithy.api#documentation": "

Each entry in this array displays information about one or more metrics that include additional statistics\n\t\t\tin the metric stream. For more information about the additional statistics, see \n\t\t\t\n\t\t\t\tCloudWatch statistics definitions.

" + "smithy.api#documentation": "

Each entry in this array displays information about one or more metrics that include\n additional statistics in the metric stream. For more information about the additional\n statistics, see \n CloudWatch statistics definitions.

" } }, "IncludeLinkedAccountsMetrics": { "target": "com.amazonaws.cloudwatch#IncludeLinkedAccountsMetrics", "traits": { - "smithy.api#documentation": "

If this is true and this metric stream is in a monitoring account, then the stream includes\n\t\t\tmetrics from source accounts that the monitoring account is linked to.

" + "smithy.api#documentation": "

If this is true and this metric stream is in a monitoring account, then\n the stream includes metrics from source accounts that the monitoring account is linked\n to.

" } } }, @@ -2431,7 +2543,7 @@ "target": "com.amazonaws.cloudwatch#GetMetricWidgetImageOutput" }, "traits": { - "smithy.api#documentation": "

You can use the GetMetricWidgetImage API to retrieve a snapshot graph of \n\t\t\tone or more Amazon CloudWatch metrics as a bitmap image. You can then embed this \n\t\t\timage into your services and products, such as wiki pages, reports, and documents. \n\t\t\tYou could also retrieve images regularly, such as every minute, and create your own \n\t\t\tcustom live dashboard.

\n

The graph you retrieve can include all CloudWatch metric graph features, including metric math\n\t\tand horizontal and vertical annotations.

\n

There is a limit of 20 transactions per second for this API. Each GetMetricWidgetImage action has the following limits:

\n " + "smithy.api#documentation": "

You can use the GetMetricWidgetImage API to retrieve a snapshot graph\n of one or more Amazon CloudWatch metrics as a bitmap image. You can then embed this\n image into your services and products, such as wiki pages, reports, and documents. You\n could also retrieve images regularly, such as every minute, and create your own custom\n live dashboard.

\n

The graph you retrieve can include all CloudWatch metric graph features, including\n metric math and horizontal and vertical annotations.

\n

There is a limit of 20 transactions per second for this API. Each\n GetMetricWidgetImage action has the following limits:

\n " } }, "com.amazonaws.cloudwatch#GetMetricWidgetImageInput": { @@ -2441,14 +2553,14 @@ "target": "com.amazonaws.cloudwatch#MetricWidget", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

A JSON string that defines the bitmap graph to be retrieved. The string includes the \n\t\t\tmetrics to include in the graph, statistics, annotations, title, axis limits, and so on. \n\t\t\tYou can include only one MetricWidget parameter in each GetMetricWidgetImage call.

\n

For more information about the syntax of MetricWidget see \n\t\t\tGetMetricWidgetImage: Metric Widget Structure and Syntax.

\n

If any metric on the graph could not load all the requested data points, an orange triangle with an exclamation\n\t\t\tpoint appears next to the graph legend.

", + "smithy.api#documentation": "

A JSON string that defines the bitmap graph to be retrieved. The string includes\n the metrics to include in the graph, statistics, annotations, title, axis limits, and so\n on. You can include only one MetricWidget parameter in each\n GetMetricWidgetImage call.

\n

For more information about the syntax of MetricWidget see GetMetricWidgetImage: Metric Widget Structure and Syntax.

\n

If any metric on the graph could not load all the requested data points, an orange\n triangle with an exclamation point appears next to the graph legend.

", "smithy.api#required": {} } }, "OutputFormat": { "target": "com.amazonaws.cloudwatch#OutputFormat", "traits": { - "smithy.api#documentation": "

The format of the resulting image. Only PNG images are supported.

\n

The default is png. If you specify png, the API returns an HTTP response with the \n\t\t\tcontent-type set to text/xml. The image data is in a MetricWidgetImage \n\t\t\tfield. For example:

\n

\n \n\t\t\t>\n

\n

\n \n

\n

\n \n

\n

\n iVBORw0KGgoAAAANSUhEUgAAAlgAAAGQEAYAAAAip...\n

\n

\n \n

\n

\n \n

\n

\n \n

\n

\n 6f0d4192-4d42-11e8-82c1-f539a07e0e3b\n

\n

\n \n

\n

\n \n

\n

The image/png setting is intended only for custom HTTP requests. For most\n\t\t\tuse cases, and all actions using an Amazon Web Services SDK, you should use png. If you specify \n\t\t\timage/png, the HTTP response has a content-type set to image/png, \n\t\t\tand the body of the response is a PNG image.

" + "smithy.api#documentation": "

The format of the resulting image. Only PNG images are supported.

\n

The default is png. If you specify png, the API returns\n an HTTP response with the content-type set to text/xml. The image data is\n in a MetricWidgetImage field. For example:

\n

\n >\n

\n

\n \n

\n

\n \n

\n

\n iVBORw0KGgoAAAANSUhEUgAAAlgAAAGQEAYAAAAip...\n

\n

\n \n

\n

\n \n

\n

\n \n

\n

\n \n 6f0d4192-4d42-11e8-82c1-f539a07e0e3b\n

\n

\n \n

\n

\n \n

\n

The image/png setting is intended only for custom HTTP requests. For\n most use cases, and all actions using an Amazon Web Services SDK, you should use\n png. If you specify image/png, the HTTP response has a\n content-type set to image/png, and the body of the response is a PNG \n image.

" } } }, @@ -2462,7 +2574,7 @@ "MetricWidgetImage": { "target": "com.amazonaws.cloudwatch#MetricWidgetImage", "traits": { - "smithy.api#documentation": "

The image of the graph, in the output format specified. The output is base64-encoded.

" + "smithy.api#documentation": "

The image of the graph, in the output format specified. The output is\n base64-encoded.

" } } }, @@ -2602,7 +2714,7 @@ "name": "monitoring" }, "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "

Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services) resources and the\n\t\t\tapplications you run on Amazon Web Services in real time. You can use CloudWatch to collect and track\n\t\t\tmetrics, which are the variables you want to measure for your resources and\n\t\t\tapplications.

\n

CloudWatch alarms send notifications or automatically change the resources you are monitoring based on rules\n\t\t\tthat you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2\n\t\t\tinstances. Then, use this data to determine whether you should launch\n\t\t\tadditional instances to handle increased load. You can also use this data to stop\n\t\t\tunder-used instances to save\n\t\t\tmoney.

\n

In addition to monitoring the built-in metrics that come with Amazon Web Services, you can monitor\n\t\t\tyour own custom metrics. With CloudWatch, you gain system-wide visibility into resource\n\t\t\tutilization, application performance, and operational health.

", + "smithy.api#documentation": "

Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services)\n resources and the applications you run on Amazon Web Services in real time. You can use\n CloudWatch to collect and track metrics, which are the variables you want to\n measure for your resources and applications.

\n

CloudWatch alarms send notifications or automatically change the resources you are\n monitoring based on rules that you define. For example, you can monitor the CPU usage\n and disk reads and writes of your Amazon EC2 instances. Then, use this data to determine\n whether you should launch additional instances to handle increased load. You can also\n use this data to stop under-used instances to save money.

\n

In addition to monitoring the built-in metrics that come with Amazon Web Services,\n you can monitor your own custom metrics. With CloudWatch, you gain system-wide\n visibility into resource utilization, application performance, and operational\n health.

", "smithy.api#title": "Amazon CloudWatch", "smithy.api#xmlNamespace": { "uri": "http://monitoring.amazonaws.com/doc/2010-08-01/" @@ -3696,7 +3808,7 @@ "target": "com.amazonaws.cloudwatch#InsightRuleSchema", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

For rules that you create, this is always {\"Name\": \"CloudWatchLogRule\", \"Version\": 1}. For managed rules, \n\t\t\tthis is {\"Name\": \"ServiceLogRule\", \"Version\": 1}\n

", + "smithy.api#documentation": "

For rules that you create, this is always {\"Name\": \"CloudWatchLogRule\",\n \"Version\": 1}. For managed rules, this is {\"Name\": \"ServiceLogRule\",\n \"Version\": 1}\n

", "smithy.api#required": {} } }, @@ -3704,19 +3816,19 @@ "target": "com.amazonaws.cloudwatch#InsightRuleDefinition", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, \n\t\t\tthe value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see \n\t\t\tContributor Insights\n\t\t\t\tRule Syntax.

", + "smithy.api#documentation": "

The definition of the rule, as a JSON object. The definition contains the keywords\n used to define contributors, the value to aggregate on if this rule returns a sum\n instead of a count, and the filters. For details on the valid syntax, see Contributor Insights Rule Syntax.

", "smithy.api#required": {} } }, "ManagedRule": { "target": "com.amazonaws.cloudwatch#InsightRuleIsManaged", "traits": { - "smithy.api#documentation": "

\n\t\t\tAn optional built-in rule that Amazon Web Services manages.\n\t\t

" + "smithy.api#documentation": "

An optional built-in rule that Amazon Web Services manages.

" } } }, "traits": { - "smithy.api#documentation": "

This structure contains the definition \n\t\t\tfor a Contributor Insights rule.\n\t\t\tFor more information about this rule, \n\t\t\tsee\n\t\t\t\tUsing Constributor Insights to analyze high-cardinality data \n\t\t\tin the Amazon CloudWatch User Guide.

" + "smithy.api#documentation": "

This structure contains the definition for a Contributor Insights rule. For more\n information about this rule, see Using Constributor Insights to analyze high-cardinality data in the\n Amazon CloudWatch User Guide.

" } }, "com.amazonaws.cloudwatch#InsightRuleAggregationStatistic": { @@ -3729,7 +3841,7 @@ "target": "com.amazonaws.cloudwatch#InsightRuleContributorKeys", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

One of the log entry field keywords that is used to define contributors for this rule.

", + "smithy.api#documentation": "

One of the log entry field keywords that is used to define contributors for this\n rule.

", "smithy.api#required": {} } }, @@ -3745,13 +3857,13 @@ "target": "com.amazonaws.cloudwatch#InsightRuleContributorDatapoints", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.

", + "smithy.api#documentation": "

An array of the data points where this contributor is present. Only the data points\n when this contributor appeared are included in the array.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

One of the unique contributors found by a Contributor Insights rule. If the rule contains multiple keys, then\n\t\t\ta unique contributor is a unique combination of values from all the keys in the rule.

\n

If the rule contains a single key, then each unique contributor is each unique value for this key.

\n

For more information, see GetInsightRuleReport.

" + "smithy.api#documentation": "

One of the unique contributors found by a Contributor Insights rule. If the rule\n contains multiple keys, then a unique contributor is a unique combination of values from\n all the keys in the rule.

\n

If the rule contains a single key, then each unique contributor is each unique value\n for this key.

\n

For more information, see GetInsightRuleReport.

" } }, "com.amazonaws.cloudwatch#InsightRuleContributorDatapoint": { @@ -3775,7 +3887,7 @@ } }, "traits": { - "smithy.api#documentation": "

One data point related to one contributor.

\n

For more information, see GetInsightRuleReport and \n\t\t\tInsightRuleContributor.

" + "smithy.api#documentation": "

One data point related to one contributor.

\n

For more information, see GetInsightRuleReport and InsightRuleContributor.

" } }, "com.amazonaws.cloudwatch#InsightRuleContributorDatapoints": { @@ -3844,48 +3956,48 @@ "UniqueContributors": { "target": "com.amazonaws.cloudwatch#InsightRuleUnboundDouble", "traits": { - "smithy.api#documentation": "

The number of unique contributors who published data during this timestamp.

\n

This statistic is returned only if you included it in the Metrics array in your request.

" + "smithy.api#documentation": "

The number of unique contributors who published data during this timestamp.

\n

This statistic is returned only if you included it in the Metrics array\n in your request.

" } }, "MaxContributorValue": { "target": "com.amazonaws.cloudwatch#InsightRuleUnboundDouble", "traits": { - "smithy.api#documentation": "

The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated separately, \n\t\t\tso the identity of the max contributor\n\t\tcould be different for each timestamp.

\n

This statistic is returned only if you included it in the Metrics array in your request.

" + "smithy.api#documentation": "

The maximum value provided by one contributor during this timestamp. Each timestamp is\n evaluated separately, so the identity of the max contributor could be different for each\n timestamp.

\n

This statistic is returned only if you included it in the Metrics array\n in your request.

" } }, "SampleCount": { "target": "com.amazonaws.cloudwatch#InsightRuleUnboundDouble", "traits": { - "smithy.api#documentation": "

The number of occurrences that matched the rule during this data point.

\n

This statistic is returned only if you included it in the Metrics array in your request.

" + "smithy.api#documentation": "

The number of occurrences that matched the rule during this data point.

\n

This statistic is returned only if you included it in the Metrics array\n in your request.

" } }, "Average": { "target": "com.amazonaws.cloudwatch#InsightRuleUnboundDouble", "traits": { - "smithy.api#documentation": "

The average value from all contributors during the time period represented by that data point.

\n

This statistic is returned only if you included it in the Metrics array in your request.

" + "smithy.api#documentation": "

The average value from all contributors during the time period represented by that\n data point.

\n

This statistic is returned only if you included it in the Metrics array\n in your request.

" } }, "Sum": { "target": "com.amazonaws.cloudwatch#InsightRuleUnboundDouble", "traits": { - "smithy.api#documentation": "

The sum of the values from all contributors during the time period represented by that data point.

\n

This statistic is returned only if you included it in the Metrics array in your request.

" + "smithy.api#documentation": "

The sum of the values from all contributors during the time period represented by that\n data point.

\n

This statistic is returned only if you included it in the Metrics array\n in your request.

" } }, "Minimum": { "target": "com.amazonaws.cloudwatch#InsightRuleUnboundDouble", "traits": { - "smithy.api#documentation": "

The minimum value from a single contributor during the time period represented by that data point.

\n

This statistic is returned only if you included it in the Metrics array in your request.

" + "smithy.api#documentation": "

The minimum value from a single contributor during the time period represented by that\n data point.

\n

This statistic is returned only if you included it in the Metrics array\n in your request.

" } }, "Maximum": { "target": "com.amazonaws.cloudwatch#InsightRuleUnboundDouble", "traits": { - "smithy.api#documentation": "

The maximum value from a single occurence from a single contributor during the time period represented by that data point.

\n

This statistic is returned only if you included it in the Metrics array in your request.

" + "smithy.api#documentation": "

The maximum value from a single occurence from a single contributor during the time\n period represented by that data point.

\n

This statistic is returned only if you included it in the Metrics array\n in your request.

" } } }, "traits": { - "smithy.api#documentation": "

One data point from the metric time series returned in a Contributor Insights rule report.

\n

For more information, see GetInsightRuleReport.

" + "smithy.api#documentation": "

One data point from the metric time series returned in a Contributor Insights rule\n report.

\n

For more information, see GetInsightRuleReport.

" } }, "com.amazonaws.cloudwatch#InsightRuleMetricDatapoints": { @@ -3979,7 +4091,7 @@ "code": "InternalServiceError", "httpResponseCode": 500 }, - "smithy.api#documentation": "

Request processing has failed due to some unknown error, exception, or failure.

", + "smithy.api#documentation": "

Request processing has failed due to some unknown error, exception, or\n failure.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } @@ -4070,12 +4182,12 @@ "Timezone": { "target": "com.amazonaws.cloudwatch#GetMetricDataLabelTimezone", "traits": { - "smithy.api#documentation": "

The time zone to use for metric data return in this operation. \n\t\t\tThe format is + or - followed by four digits. \n\t\t\tThe first two digits indicate the number of hours ahead or behind of UTC, and \n\t\t\tthe final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour \n\t\t\tand 30 minutes ahead of UTC. The default is +0000.

" + "smithy.api#documentation": "

The time zone to use for metric data return in this operation. The format is\n + or - followed by four digits. The first two digits\n indicate the number of hours ahead or behind of UTC, and the final two digits are the\n number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30\n minutes ahead of UTC. The default is +0000.

" } } }, "traits": { - "smithy.api#documentation": "

This structure includes the Timezone parameter, which you can use\n\t\t\tto specify your time zone so that the labels that are associated with returned metrics display the \n\t\t\tcorrect time\n\t\t\tfor your time zone.

\n

The Timezone value affects a label only if you have a time-based\n\t\tdynamic expression in the label. For more information about dynamic expressions in labels, \n\t\tsee Using Dynamic Labels.

" + "smithy.api#documentation": "

This structure includes the Timezone parameter, which you can use to\n specify your time zone so that the labels that are associated with returned metrics\n display the correct time for your time zone.

\n

The Timezone value affects a label only if you have a time-based dynamic\n expression in the label. For more information about dynamic expressions in labels, see\n Using Dynamic\n Labels.

" } }, "com.amazonaws.cloudwatch#LastModified": { @@ -4135,7 +4247,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of the dashboards for your account. If you include DashboardNamePrefix, only\n\t\t\tthose dashboards with names starting with the prefix are listed. Otherwise, all dashboards in your account are\n\t\t\tlisted.\n\t

\n

\n ListDashboards returns up to 1000 results on one page. If there\n\t\t\tare more than 1000 dashboards, you can call ListDashboards again and\n\t\tinclude the value you received for NextToken in the first call, to receive\n\t\tthe next 1000 results.

", + "smithy.api#documentation": "

Returns a list of the dashboards for your account. If you include\n DashboardNamePrefix, only those dashboards with names starting with the\n prefix are listed. Otherwise, all dashboards in your account are listed.

\n

\n ListDashboards returns up to 1000 results on one page. If there are\n more than 1000 dashboards, you can call ListDashboards again and include\n the value you received for NextToken in the first call, to receive the next\n 1000 results.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -4149,13 +4261,13 @@ "DashboardNamePrefix": { "target": "com.amazonaws.cloudwatch#DashboardNamePrefix", "traits": { - "smithy.api#documentation": "

If you specify this parameter, only\n\t\t\tthe dashboards with names starting with the specified string are listed. The maximum length is 255, and \n\t\t\tvalid characters are A-Z, a-z, 0-9, \".\", \"-\", and \"_\".\n\t\t\t \n\t\t

" + "smithy.api#documentation": "

If you specify this parameter, only the dashboards with names starting with the\n specified string are listed. The maximum length is 255, and valid characters are A-Z,\n a-z, 0-9, \".\", \"-\", and \"_\".

" } }, "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

The token returned by a previous call to indicate that there is more data available.

" + "smithy.api#documentation": "

The token returned by a previous call to indicate that there is more data\n available.

" } } }, @@ -4203,7 +4315,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n\t\t\tReturns a list \n\t\t\tthat contains the number\n\t\t\tof managed Contributor Insights rules \n\t\t\tin your account.\n\t\t\t\n\t\t

", + "smithy.api#documentation": "

Returns a list that contains the number of managed Contributor Insights rules in your\n account.\n \n

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -4218,20 +4330,20 @@ "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n\t\t\tThe ARN \n\t\t\tof an Amazon Web Services resource \n\t\t\tthat has managed Contributor Insights rules.\n\t\t

", + "smithy.api#documentation": "

The ARN of an Amazon Web Services resource that has managed Contributor Insights\n rules.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

\n\t\t\tInclude this value \n\t\t\tto get \n\t\t\tthe next set \n\t\t\tof rules \n\t\t\tif the value was returned \n\t\t\tby the previous operation.\n\t\t

" + "smithy.api#documentation": "

Include this value to get the next set of rules if the value was returned by the\n previous operation.

" } }, "MaxResults": { "target": "com.amazonaws.cloudwatch#InsightRuleMaxResults", "traits": { - "smithy.api#documentation": "

\n\t\t\tThe maximum number \n\t\t\tof results \n\t\t\tto return \n\t\t\tin one operation. \n\t\t\tIf you omit this parameter, \n\t\t\tthe default number is used.\n\t\t\tThe default number is 100.\n\t\t

" + "smithy.api#documentation": "

The maximum number of results to return in one operation. If you omit this parameter,\n the default number is used. The default number is 100.

" } } }, @@ -4245,13 +4357,13 @@ "ManagedRules": { "target": "com.amazonaws.cloudwatch#ManagedRuleDescriptions", "traits": { - "smithy.api#documentation": "

\n\t\t\tThe managed rules\n\t\t\tthat are available \n\t\t\tfor the specified Amazon Web Services resource.\n\t\t

" + "smithy.api#documentation": "

The managed rules that are available for the specified Amazon Web Services resource.\n

" } }, "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

\n\t\t\tInclude this value \n\t\t\tto get \n\t\t\tthe next set \n\t\t\tof rules \n\t\t\tif the value was returned \n\t\t\tby the previous operation.\n\t\t

" + "smithy.api#documentation": "

Include this value to get the next set of rules if the value was returned by the\n previous operation.

" } } }, @@ -4296,7 +4408,7 @@ "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

Include this value, if it was returned by the previous call, to get the next set of metric streams.

" + "smithy.api#documentation": "

Include this value, if it was returned by the previous call, to get the next set of\n metric streams.

" } }, "MaxResults": { @@ -4325,7 +4437,7 @@ "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

The token that marks the start of the next batch of returned results. You can use this \n\t\ttoken in a subsequent operation to get the next batch of results.

" + "smithy.api#documentation": "

The token that marks the start of the next batch of returned results. You can use\n this token in a subsequent operation to get the next batch of results.

" } }, "Entries": { @@ -4356,7 +4468,7 @@ } ], "traits": { - "smithy.api#documentation": "

List the specified metrics. You can use the returned metrics with GetMetricData or GetMetricStatistics to get statistical data.

\n

Up to 500 results are returned for any one call. To retrieve additional results,\n\t\t\tuse the returned token with subsequent calls.

\n

After you create a metric, allow up to 15 minutes for the metric to appear. To see metric\n\t\t\tstatistics sooner, use GetMetricData or GetMetricStatistics.

\n

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and \n\t\t\tview metrics from the linked source accounts. For more information, see \n\t\t\tCloudWatch cross-account observability.

\n

\n ListMetrics doesn't return information about metrics if those metrics haven't \n\treported data in the past two weeks. To retrieve those metrics, use \n\t\tGetMetricData or \n\t\tGetMetricStatistics.

", + "smithy.api#documentation": "

List the specified metrics. You can use the returned metrics with GetMetricData or GetMetricStatistics to get statistical data.

\n

Up to 500 results are returned for any one call. To retrieve additional results,\n use the returned token with subsequent calls.

\n

After you create a metric, allow up to 15 minutes for the metric to appear. To see\n metric statistics sooner, use GetMetricData or GetMetricStatistics.

\n

If you are using CloudWatch cross-account observability, you can use this\n operation in a monitoring account and view metrics from the linked source accounts. For\n more information, see CloudWatch cross-account observability.

\n

\n ListMetrics doesn't return information about metrics if those metrics\n haven't reported data in the past two weeks. To retrieve those metrics, use GetMetricData or GetMetricStatistics.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken" @@ -4384,43 +4496,43 @@ "Namespace": { "target": "com.amazonaws.cloudwatch#Namespace", "traits": { - "smithy.api#documentation": "

The metric namespace to filter against. Only the namespace that matches exactly \n\t\twill be returned.

" + "smithy.api#documentation": "

The metric namespace to filter against. Only the namespace that matches exactly\n will be returned.

" } }, "MetricName": { "target": "com.amazonaws.cloudwatch#MetricName", "traits": { - "smithy.api#documentation": "

The name of the metric to filter against. Only the metrics with names that match exactly\n\t\t\twill be returned.

" + "smithy.api#documentation": "

The name of the metric to filter against. Only the metrics with names that match\n exactly will be returned.

" } }, "Dimensions": { "target": "com.amazonaws.cloudwatch#DimensionFilters", "traits": { - "smithy.api#documentation": "

The dimensions to filter against. Only the dimensions that match exactly \n\t\t\twill be returned.

" + "smithy.api#documentation": "

The dimensions to filter against. Only the dimensions that match exactly will be\n returned.

" } }, "NextToken": { "target": "com.amazonaws.cloudwatch#NextToken", "traits": { - "smithy.api#documentation": "

The token returned by a previous call to indicate that there is more data\n\t\t\tavailable.

" + "smithy.api#documentation": "

The token returned by a previous call to indicate that there is more data\n available.

" } }, "RecentlyActive": { "target": "com.amazonaws.cloudwatch#RecentlyActive", "traits": { - "smithy.api#documentation": "

To filter the results to show only metrics that have had data points published\n\t\t\tin the past three hours, specify this parameter\n\t\t\twith a value of PT3H. This is the only valid value\n\t\t\tfor this parameter.

\n

The results that are returned are an approximation of the value you specify. There\n\t\tis a low probability that the returned results include metrics with last published\n\t\tdata as much as 40 minutes more than the specified time interval.

" + "smithy.api#documentation": "

To filter the results to show only metrics that have had data points published in the\n past three hours, specify this parameter with a value of PT3H. This is the\n only valid value for this parameter.

\n

The results that are returned are an approximation of the value you specify. There is\n a low probability that the returned results include metrics with last published data as\n much as 50 minutes more than the specified time interval.

" } }, "IncludeLinkedAccounts": { "target": "com.amazonaws.cloudwatch#IncludeLinkedAccounts", "traits": { - "smithy.api#documentation": "

If you are using this operation in a monitoring account, \n\t\t\tspecify true to include metrics from source accounts in the returned data.

\n

The default is false.

" + "smithy.api#documentation": "

If you are using this operation in a monitoring account, specify true to\n include metrics from source accounts in the returned data.

\n

The default is false.

" } }, "OwningAccount": { "target": "com.amazonaws.cloudwatch#AccountId", "traits": { - "smithy.api#documentation": "

When you use this operation in a monitoring account, use this field to return metrics only from one source account.\n\t\t\tTo do so, specify that source account ID in this field, and also\n\t\tspecify true for IncludeLinkedAccounts.

" + "smithy.api#documentation": "

When you use this operation in a monitoring account, use this field to return metrics\n only from one source account. To do so, specify that source account ID in this field,\n and also specify true for IncludeLinkedAccounts.

" } } }, @@ -4446,7 +4558,7 @@ "OwningAccounts": { "target": "com.amazonaws.cloudwatch#OwningAccounts", "traits": { - "smithy.api#documentation": "

If you are using this operation in a monitoring account, this array contains the account IDs of the source \n\t\t\taccounts where the metrics in the returned data\n\t\tare from.

\n

This field is a 1:1 mapping between each metric that is returned and the ID of the owning account.

" + "smithy.api#documentation": "

If you are using this operation in a monitoring account, this array contains the\n account IDs of the source accounts where the metrics in the returned data are\n from.

\n

This field is a 1:1 mapping between each metric that is returned and the ID of the\n owning account.

" } } }, @@ -4474,7 +4586,7 @@ } ], "traits": { - "smithy.api#documentation": "

Displays the tags associated with a CloudWatch resource. Currently, alarms \n\t\t\tand Contributor Insights rules support tagging.

" + "smithy.api#documentation": "

Displays the tags associated with a CloudWatch resource. Currently, alarms and\n Contributor Insights rules support tagging.

" } }, "com.amazonaws.cloudwatch#ListTagsForResourceInput": { @@ -4484,7 +4596,7 @@ "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The ARN of the CloudWatch resource that you want to view tags for.

\n

The ARN format of an alarm is \n\t\t\tarn:aws:cloudwatch:Region:account-id:alarm:alarm-name\n \n

\n

The ARN format of a Contributor Insights rule is \n\t\t\tarn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name\n \n

\n

For more information about ARN format, see Resource\n\t\t\t\tTypes Defined by Amazon CloudWatch in the Amazon Web Services General\n\t\t\tReference.

", + "smithy.api#documentation": "

The ARN of the CloudWatch resource that you want to view tags for.

\n

The ARN format of an alarm is\n arn:aws:cloudwatch:Region:account-id:alarm:alarm-name\n \n

\n

The ARN format of a Contributor Insights rule is\n arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name\n \n

\n

For more information about ARN format, see Resource Types Defined by Amazon CloudWatch in the Amazon Web\n Services General Reference.

", "smithy.api#required": {} } } @@ -4514,7 +4626,7 @@ "target": "com.amazonaws.cloudwatch#TemplateName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n\t\t\tThe template name \n\t\t\tfor the managed Contributor Insights rule, \n\t\t\tas returned \n\t\t\tby ListManagedInsightRules.\n\t\t

", + "smithy.api#documentation": "

The template name for the managed Contributor Insights rule, as returned by\n ListManagedInsightRules.

", "smithy.api#required": {} } }, @@ -4522,19 +4634,19 @@ "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n\t\t\tThe ARN\n\t\t\tof an Amazon Web Services resource\n\t\t\tthat has managed Contributor Insights rules.\n\t\t

", + "smithy.api#documentation": "

The ARN of an Amazon Web Services resource that has managed Contributor Insights\n rules.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.cloudwatch#TagList", "traits": { - "smithy.api#documentation": "

\n\t\t\tA list \n\t\t\tof key-value pairs \n\t\t\tthat you can associate \n\t\t\twith a managed Contributor Insights rule.\n\t\t\tYou can associate as many as 50 tags \n\t\t\twith a rule.\n\t\t\tTags can help you organize and categorize your resources. \n\t\t\tYou also can use them \n\t\t\tto scope user permissions \n\t\t\tby granting a user permission \n\t\t\tto access or change only the resources\n\t\t\tthat have certain tag values.\n\t\t\tTo associate tags \n\t\t\twith a rule, \n\t\t\tyou must have the cloudwatch:TagResource permission\n\t\t\tin addition \n\t\t\tto the cloudwatch:PutInsightRule permission.\n\t\t\tIf you are using this operation \n\t\t\tto update an existing Contributor Insights rule, \n\t\t\tany tags \n\t\t\tthat you specify \n\t\t\tin this parameter are ignored. \n\t\t\tTo change the tags \n\t\t\tof an existing rule, \n\t\t\tuse TagResource.\n\t\t

" + "smithy.api#documentation": "

A list of key-value pairs that you can associate with a managed Contributor Insights\n rule. You can associate as many as 50 tags with a rule. Tags can help you organize and\n categorize your resources. You also can use them to scope user permissions by granting a\n user permission to access or change only the resources that have certain tag values. To\n associate tags with a rule, you must have the cloudwatch:TagResource\n permission in addition to the cloudwatch:PutInsightRule permission. If you\n are using this operation to update an existing Contributor Insights rule, any tags that\n you specify in this parameter are ignored. To change the tags of an existing rule, use\n TagResource.

" } } }, "traits": { - "smithy.api#documentation": "

\n\t\t\tContains the information\n\t\t\tthat's required \n\t\t\tto enable a managed Contributor Insights rule \n\t\t\tfor an Amazon Web Services resource. \n\t\t\t\n\t\t

" + "smithy.api#documentation": "

Contains the information that's required to enable a managed Contributor Insights\n rule for an Amazon Web Services resource.\n \n

" } }, "com.amazonaws.cloudwatch#ManagedRuleDescription": { @@ -4543,24 +4655,24 @@ "TemplateName": { "target": "com.amazonaws.cloudwatch#TemplateName", "traits": { - "smithy.api#documentation": "

\n\t\t\tThe template name \n\t\t\tfor the managed rule. \n\t\t\tUsed \n\t\t\tto enable managed rules using PutManagedInsightRules.\n\t\t

" + "smithy.api#documentation": "

The template name for the managed rule. Used to enable managed rules using\n PutManagedInsightRules.

" } }, "ResourceARN": { "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { - "smithy.api#documentation": "

\n\t\t\tIf a managed rule is enabled,\n\t\t\tthis is the ARN \n\t\t\tfor the related Amazon Web Services resource.\n\t\t

" + "smithy.api#documentation": "

If a managed rule is enabled, this is the ARN for the related Amazon Web Services\n resource.

" } }, "RuleState": { "target": "com.amazonaws.cloudwatch#ManagedRuleState", "traits": { - "smithy.api#documentation": "

\n\t\t\tDescribes the state \n\t\t\tof a managed rule. \n\t\t\tIf present, \n\t\t\tit contains information \n\t\t\tabout the Contributor Insights rule \n\t\t\tthat contains information \n\t\t\tabout the related Amazon Web Services resource.\n\t\t

" + "smithy.api#documentation": "

Describes the state of a managed rule. If present, it contains information about the\n Contributor Insights rule that contains information about the related Amazon Web Services\n resource.

" } } }, "traits": { - "smithy.api#documentation": "

\n\t\t\tContains information \n\t\t\tabout managed Contributor Insights rules,\n\t\t\tas returned\n\t\t\tby ListManagedInsightRules.\n\t\t\t\n\t\t

" + "smithy.api#documentation": "

Contains information about managed Contributor Insights rules, as returned by\n ListManagedInsightRules. \n

" } }, "com.amazonaws.cloudwatch#ManagedRuleDescriptions": { @@ -4576,7 +4688,7 @@ "target": "com.amazonaws.cloudwatch#InsightRuleName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n\t\t\tThe name\n\t\t\tof the Contributor Insights rule \n\t\t\tthat contains data \n\t\t\tfor the specified Amazon Web Services resource.\n\t\t

", + "smithy.api#documentation": "

The name of the Contributor Insights rule that contains data for the specified\n Amazon Web Services resource.

", "smithy.api#required": {} } }, @@ -4584,13 +4696,13 @@ "target": "com.amazonaws.cloudwatch#InsightRuleState", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n\t\t\tIndicates whether the rule is enabled or disabled.\n\t\t

", + "smithy.api#documentation": "

Indicates whether the rule is enabled or disabled.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

\n\t\t\tThe status \n\t\t\tof a managed Contributor Insights rule.\n\t\t

" + "smithy.api#documentation": "

The status of a managed Contributor Insights rule.

" } }, "com.amazonaws.cloudwatch#ManagedRules": { @@ -4636,7 +4748,7 @@ } }, "traits": { - "smithy.api#documentation": "

A message returned by the GetMetricDataAPI, including a code and a description.

\n

If a cross-Region GetMetricData operation fails with a code of Forbidden and a \n\t\t\tvalue of Authentication too complex to \n\t\t\tretrieve cross region data, you can correct the problem by running the GetMetricData\n\t\toperation in the same Region where the metric data is.

" + "smithy.api#documentation": "

A message returned by the GetMetricDataAPI, including a code and a\n description.

\n

If a cross-Region GetMetricData operation fails with a code of\n Forbidden and a value of Authentication too complex to retrieve\n cross region data, you can correct the problem by running the\n GetMetricData operation in the same Region where the metric data\n is.

" } }, "com.amazonaws.cloudwatch#MessageDataCode": { @@ -4701,25 +4813,25 @@ "ActionsEnabled": { "target": "com.amazonaws.cloudwatch#ActionsEnabled", "traits": { - "smithy.api#documentation": "

Indicates whether actions should be executed during any changes to the alarm state.

" + "smithy.api#documentation": "

Indicates whether actions should be executed during any changes to the alarm\n state.

" } }, "OKActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to the OK state\n\t\t\tfrom any other state. Each action is specified as an Amazon Resource Name (ARN).

" + "smithy.api#documentation": "

The actions to execute when this alarm transitions to the OK state\n from any other state. Each action is specified as an Amazon Resource Name\n (ARN).

" } }, "AlarmActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to the ALARM state \n\t\t\tfrom any other state. Each action is specified as an Amazon Resource Name (ARN).

" + "smithy.api#documentation": "

The actions to execute when this alarm transitions to the ALARM state\n from any other state. Each action is specified as an Amazon Resource Name\n (ARN).

" } }, "InsufficientDataActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state \n\t\t\tfrom any other state. Each action is specified as an Amazon Resource Name (ARN).

" + "smithy.api#documentation": "

The actions to execute when this alarm transitions to the\n INSUFFICIENT_DATA state from any other state. Each action is specified\n as an Amazon Resource Name (ARN).

" } }, "StateValue": { @@ -4743,13 +4855,13 @@ "StateUpdatedTimestamp": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { - "smithy.api#documentation": "

The time stamp of the last update to the value of either the \n\t\t\tStateValue or EvaluationState parameters.

" + "smithy.api#documentation": "

The time stamp of the last update to the value of either the\n StateValue or EvaluationState parameters.

" } }, "MetricName": { "target": "com.amazonaws.cloudwatch#MetricName", "traits": { - "smithy.api#documentation": "

The name of the metric associated with the alarm, if this is an alarm\n\t\tbased on a single metric.

" + "smithy.api#documentation": "

The name of the metric associated with the alarm, if this is an alarm based on a\n single metric.

" } }, "Namespace": { @@ -4761,13 +4873,13 @@ "Statistic": { "target": "com.amazonaws.cloudwatch#Statistic", "traits": { - "smithy.api#documentation": "

The statistic for the metric associated with the alarm, other than percentile.\n\t\t For percentile statistics, use ExtendedStatistic.

" + "smithy.api#documentation": "

The statistic for the metric associated with the alarm, other than percentile. For\n percentile statistics, use ExtendedStatistic.

" } }, "ExtendedStatistic": { "target": "com.amazonaws.cloudwatch#ExtendedStatistic", "traits": { - "smithy.api#documentation": "

The percentile statistic for the metric associated with the alarm. Specify a value between\n\t\t\tp0.0 and p100.

" + "smithy.api#documentation": "

The percentile statistic for the metric associated with the alarm. Specify a value\n between p0.0 and p100.

" } }, "Dimensions": { @@ -4791,7 +4903,7 @@ "EvaluationPeriods": { "target": "com.amazonaws.cloudwatch#EvaluationPeriods", "traits": { - "smithy.api#documentation": "

The number of periods over which data is compared to the specified threshold.

" + "smithy.api#documentation": "

The number of periods over which data is compared to the specified\n threshold.

" } }, "DatapointsToAlarm": { @@ -4809,43 +4921,43 @@ "ComparisonOperator": { "target": "com.amazonaws.cloudwatch#ComparisonOperator", "traits": { - "smithy.api#documentation": "

The arithmetic operation to use when comparing the specified\n\t\t\tstatistic and threshold. The specified statistic value is used as the first operand.

" + "smithy.api#documentation": "

The arithmetic operation to use when comparing the specified statistic and\n threshold. The specified statistic value is used as the first operand.

" } }, "TreatMissingData": { "target": "com.amazonaws.cloudwatch#TreatMissingData", "traits": { - "smithy.api#documentation": "

Sets how this alarm is to handle missing data points. The valid values\n \tare breaching, notBreaching, ignore, and \n \tmissing. For more information, see\n \tConfiguring how CloudWatch alarms treat missing data.

\n

If this parameter is omitted, the default \n \tbehavior of missing is used.

" + "smithy.api#documentation": "

Sets how this alarm is to handle missing data points. The valid values are\n breaching, notBreaching, ignore, and\n missing. For more information, see Configuring how CloudWatch alarms treat missing data.

\n

If this parameter is omitted, the default behavior of missing is\n used.

" } }, "EvaluateLowSampleCountPercentile": { "target": "com.amazonaws.cloudwatch#EvaluateLowSampleCountPercentile", "traits": { - "smithy.api#documentation": "

Used only for alarms based on percentiles. If ignore, the alarm state does not change \n\t\t\tduring periods with too few data points to be statistically significant. If evaluate or this \n\t\t\tparameter is not used, the alarm is always evaluated and possibly changes state no matter \n\t\t\thow many data points are available.

" + "smithy.api#documentation": "

Used only for alarms based on percentiles. If ignore, the alarm state\n does not change during periods with too few data points to be statistically significant.\n If evaluate or this parameter is not used, the alarm is always evaluated\n and possibly changes state no matter how many data points are available.

" } }, "Metrics": { "target": "com.amazonaws.cloudwatch#MetricDataQueries", "traits": { - "smithy.api#documentation": "

An array of MetricDataQuery structures, used in an alarm based on a \n\t\t\tmetric math expression. Each structure either retrieves a \n\t\t\tmetric or performs a math expression.\n\t\t\t\n\t\t\tOne item in the Metrics array is the math expression that the alarm watches. \n\t\t\tThis expression by designated by having ReturnData set to\n\t\t\ttrue.

" + "smithy.api#documentation": "

An array of MetricDataQuery structures, used in an alarm based on a metric math\n expression. Each structure either retrieves a metric or performs a math expression. One\n item in the Metrics array is the math expression that the alarm watches. This expression\n by designated by having ReturnData set to true.

" } }, "ThresholdMetricId": { "target": "com.amazonaws.cloudwatch#MetricId", "traits": { - "smithy.api#documentation": "

In an alarm based on an anomaly detection model, this is the ID of the \n\t\t\tANOMALY_DETECTION_BAND function \n\t\t\tused as the threshold for the alarm.

" + "smithy.api#documentation": "

In an alarm based on an anomaly detection model, this is the ID of the\n ANOMALY_DETECTION_BAND function used as the threshold for the\n alarm.

" } }, "EvaluationState": { "target": "com.amazonaws.cloudwatch#EvaluationState", "traits": { - "smithy.api#documentation": "

If the value of this field is\n\tPARTIAL_DATA, the alarm is being evaluated based on only partial data. This happens if the\n\tquery used for the alarm returns more than 10,000 metrics. For \n\tmore information, see \n\t\tCreate alarms on Metrics Insights queries.

" + "smithy.api#documentation": "

If the value of this field is PARTIAL_DATA, the alarm is being evaluated\n based on only partial data. This happens if the query used for the alarm returns more\n than 10,000 metrics. For more information, see Create\n alarms on Metrics Insights queries.

" } }, "StateTransitionedTimestamp": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { - "smithy.api#documentation": "

The date and time that the alarm's StateValue most recently changed.

" + "smithy.api#documentation": "

The date and time that the alarm's StateValue most recently\n changed.

" } } }, @@ -4865,12 +4977,12 @@ "PeriodicSpikes": { "target": "com.amazonaws.cloudwatch#PeriodicSpikes", "traits": { - "smithy.api#documentation": "

Set this parameter to true if values for this metric consistently include spikes\n\t\t\tthat should not be considered to be anomalies. With this set to true, CloudWatch will expect \n\t\t\tto see spikes that occurred consistently during the model training period, and won't flag future similar spikes\n\t\t\tas anomalies.

" + "smithy.api#documentation": "

Set this parameter to true if values for this metric consistently include\n spikes that should not be considered to be anomalies. With this set to\n true, CloudWatch will expect to see spikes that occurred\n consistently during the model training period, and won't flag future similar spikes as\n anomalies.

" } } }, "traits": { - "smithy.api#documentation": "

This object includes parameters that you can use to provide information to \n\t\t\tCloudWatch to help it build more accurate anomaly detection models.

" + "smithy.api#documentation": "

This object includes parameters that you can use to provide information to CloudWatch to help it build more accurate anomaly detection models.

" } }, "com.amazonaws.cloudwatch#MetricData": { @@ -4892,49 +5004,49 @@ "target": "com.amazonaws.cloudwatch#MetricId", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

A short name used to tie this object to the results in the response. This name must be\n\t\t\tunique within a single call to GetMetricData. If you are performing math\n\t\t\texpressions on this set of data, this name represents that data and can serve as a\n\t\t\tvariable in the mathematical expression. The valid characters are letters, numbers, and\n\t\t\tunderscore. The first character must be a lowercase letter.

", + "smithy.api#documentation": "

A short name used to tie this object to the results in the response. This name must be\n unique within a single call to GetMetricData. If you are performing math\n expressions on this set of data, this name represents that data and can serve as a\n variable in the mathematical expression. The valid characters are letters, numbers, and\n underscore. The first character must be a lowercase letter.

", "smithy.api#required": {} } }, "MetricStat": { "target": "com.amazonaws.cloudwatch#MetricStat", "traits": { - "smithy.api#documentation": "

The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric \n\t\t\tand not performing a math expression on returned data.

\n

Within one MetricDataQuery object, you must specify either \n\t\t\tExpression or MetricStat but not both.

" + "smithy.api#documentation": "

The metric to be returned, along with statistics, period, and units. Use this\n parameter only if this object is retrieving a metric and not performing a math\n expression on returned data.

\n

Within one MetricDataQuery object, you must specify either Expression or\n MetricStat but not both.

" } }, "Expression": { "target": "com.amazonaws.cloudwatch#MetricExpression", "traits": { - "smithy.api#documentation": "

This field can contain either a Metrics Insights query, or a metric math expression to be performed on the \n\t\t\treturned data. For more information about Metrics Insights queries, see \n\t\t\tMetrics Insights query components and syntax in the\n\t\t\tAmazon CloudWatch User Guide.

\n

A math expression\n\t\t\tcan use the Id of the other metrics or queries to refer to those metrics, and can also use \n\t\t\tthe Id of other \n\t\t\texpressions to use the result of those expressions. For more information about metric math expressions, see \n\t\t\tMetric Math Syntax and Functions in the\n\t\t\tAmazon CloudWatch User Guide.

\n

Within each MetricDataQuery object, you must specify either \n\t\t\tExpression or MetricStat but not both.

" + "smithy.api#documentation": "

This field can contain either a Metrics Insights query, or a metric math expression to\n be performed on the returned data. For more information about Metrics Insights queries,\n see Metrics Insights query components and syntax in the Amazon\n CloudWatch User Guide.

\n

A math expression can use the Id of the other metrics or queries to refer\n to those metrics, and can also use the Id of other expressions to use the\n result of those expressions. For more information about metric math expressions, see\n Metric Math Syntax and Functions in the Amazon CloudWatch User\n Guide.

\n

Within each MetricDataQuery object, you must specify either Expression or\n MetricStat but not both.

" } }, "Label": { "target": "com.amazonaws.cloudwatch#MetricLabel", "traits": { - "smithy.api#documentation": "

A human-readable label for this metric or expression. This is especially useful \n\t\t\tif this is an expression, so that you know\n\t\t\twhat the value represents. If the metric or expression is shown in a \n\t\t\tCloudWatch dashboard widget, the label is shown. If Label is omitted, CloudWatch \n\t\t\tgenerates a default.

\n

You can put dynamic expressions into a label, so that it is more descriptive. \n\t\t\tFor more information, see Using Dynamic Labels.

" + "smithy.api#documentation": "

A human-readable label for this metric or expression. This is especially useful if\n this is an expression, so that you know what the value represents. If the metric or\n expression is shown in a CloudWatch dashboard widget, the label is shown. If Label is\n omitted, CloudWatch generates a default.

\n

You can put dynamic expressions into a label, so that it is more descriptive. For more\n information, see Using Dynamic\n Labels.

" } }, "ReturnData": { "target": "com.amazonaws.cloudwatch#ReturnData", "traits": { - "smithy.api#documentation": "

When used in GetMetricData, this option indicates whether to return the\n\t\t\ttimestamps and raw data values of this metric. If you are performing this call just to\n\t\t\tdo math expressions and do not also need the raw data returned, you can specify\n\t\t\t\tfalse. If you omit this, the default of true is\n\t\t\tused.

\n

When used in PutMetricAlarm, specify true for the one expression result to use as the alarm. For all \n\t\tother metrics and expressions in the same PutMetricAlarm operation, specify ReturnData as False.

" + "smithy.api#documentation": "

When used in GetMetricData, this option indicates whether to return the\n timestamps and raw data values of this metric. If you are performing this call just to\n do math expressions and do not also need the raw data returned, you can specify\n false. If you omit this, the default of true is\n used.

\n

When used in PutMetricAlarm, specify true for the one\n expression result to use as the alarm. For all other metrics and expressions in the same\n PutMetricAlarm operation, specify ReturnData as\n False.

" } }, "Period": { "target": "com.amazonaws.cloudwatch#Period", "traits": { - "smithy.api#documentation": "

The granularity, in seconds, of the returned data points. For metrics with regular resolution, a \n\t\t\tperiod can be as short as one minute (60 seconds) and must be a multiple of 60. \n\t\t\tFor high-resolution metrics that are collected at intervals of less than one minute, \n\t\t\tthe period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics \n\t\t\tstored by a PutMetricData operation that includes a StorageResolution of 1 second.

" + "smithy.api#documentation": "

The granularity, in seconds, of the returned data points. For metrics with regular\n resolution, a period can be as short as one minute (60 seconds) and must be a multiple\n of 60. For high-resolution metrics that are collected at intervals of less than one\n minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution\n metrics are those metrics stored by a PutMetricData operation that includes\n a StorageResolution of 1 second.

" } }, "AccountId": { "target": "com.amazonaws.cloudwatch#AccountId", "traits": { - "smithy.api#documentation": "

The ID of the account where the metrics are located.

\n

If you are performing a GetMetricData operation in a monitoring account, use this to specify \n\t\t\twhich account to retrieve this metric from.

\n

If you are performing a PutMetricAlarm operation, use this to specify \n\t\t\twhich account contains the metric that the alarm is watching.

" + "smithy.api#documentation": "

The ID of the account where the metrics are located.

\n

If you are performing a GetMetricData operation in a monitoring account,\n use this to specify which account to retrieve this metric from.

\n

If you are performing a PutMetricAlarm operation, use this to specify\n which account contains the metric that the alarm is watching.

" } } }, "traits": { - "smithy.api#documentation": "

This structure is used in both GetMetricData and PutMetricAlarm. The supported\n\t\t\tuse of this structure is different for those two operations.

\n

When used in GetMetricData, it indicates the metric data to return, and whether this call is just retrieving\n\t\t\ta batch set of data for one metric, or is performing a Metrics Insights query or a math expression. A\n\t\t\tsingle GetMetricData call can include up to 500 MetricDataQuery\n\t\t\tstructures.

\n

When used in PutMetricAlarm, it enables you to create an alarm based on a\n\t\t\tmetric math expression. Each MetricDataQuery in the array specifies either\n\t\t\ta metric to retrieve, or a math expression to be performed on retrieved metrics. A\n\t\t\tsingle PutMetricAlarm call can include up to 20\n\t\t\t\tMetricDataQuery structures in the array. The 20 structures can include\n\t\t\tas many as 10 structures that contain a MetricStat parameter to retrieve a\n\t\t\tmetric, and as many as 10 structures that contain the Expression parameter\n\t\t\tto perform a math expression. Of those Expression structures, one must have true\n\t\tas the value for ReturnData. The result of this expression is the value the alarm watches.

\n

Any expression used in a PutMetricAlarm\n\t\t\toperation must return a single time series. For more information, see Metric Math Syntax and Functions in the Amazon CloudWatch User\n\t\t\t\tGuide.

\n

Some of the parameters of this structure also have different uses whether you are using this structure in a GetMetricData\n\t\t\toperation or a PutMetricAlarm operation. These differences are explained in the following parameter list.

" + "smithy.api#documentation": "

This structure is used in both GetMetricData and\n PutMetricAlarm. The supported use of this structure is different for\n those two operations.

\n

When used in GetMetricData, it indicates the metric data to return, and\n whether this call is just retrieving a batch set of data for one metric, or is\n performing a Metrics Insights query or a math expression. A single\n GetMetricData call can include up to 500 MetricDataQuery\n structures.

\n

When used in PutMetricAlarm, it enables you to create an alarm based on a\n metric math expression. Each MetricDataQuery in the array specifies either\n a metric to retrieve, or a math expression to be performed on retrieved metrics. A\n single PutMetricAlarm call can include up to 20\n MetricDataQuery structures in the array. The 20 structures can include\n as many as 10 structures that contain a MetricStat parameter to retrieve a\n metric, and as many as 10 structures that contain the Expression parameter\n to perform a math expression. Of those Expression structures, one must have\n true as the value for ReturnData. The result of this\n expression is the value the alarm watches.

\n

Any expression used in a PutMetricAlarm operation must return a single\n time series. For more information, see Metric Math Syntax and Functions in the Amazon CloudWatch User\n Guide.

\n

Some of the parameters of this structure also have different uses whether you are\n using this structure in a GetMetricData operation or a\n PutMetricAlarm operation. These differences are explained in the\n following parameter list.

" } }, "com.amazonaws.cloudwatch#MetricDataResult": { @@ -4955,19 +5067,19 @@ "Timestamps": { "target": "com.amazonaws.cloudwatch#Timestamps", "traits": { - "smithy.api#documentation": "

The timestamps for the data points, formatted in Unix timestamp format. The number of\n\t\t\ttimestamps always matches the number of values and the value for Timestamps[x] is\n\t\t\tValues[x].

" + "smithy.api#documentation": "

The timestamps for the data points, formatted in Unix timestamp format. The number of\n timestamps always matches the number of values and the value for Timestamps[x] is\n Values[x].

" } }, "Values": { "target": "com.amazonaws.cloudwatch#DatapointValues", "traits": { - "smithy.api#documentation": "

The data points for the metric corresponding to Timestamps. The number of\n\t\t\tvalues always matches the number of timestamps and the timestamp for Values[x] is\n\t\t\tTimestamps[x].

" + "smithy.api#documentation": "

The data points for the metric corresponding to Timestamps. The number of\n values always matches the number of timestamps and the timestamp for Values[x] is\n Timestamps[x].

" } }, "StatusCode": { "target": "com.amazonaws.cloudwatch#StatusCode", "traits": { - "smithy.api#documentation": "

The status of the returned data. Complete indicates that all data points in the requested time range were returned. \n\t\t\tPartialData means that an incomplete set of data points were returned. \n\t\t\t\t\tYou can use the NextToken value that was returned and repeat your request to get more data points. \n\t\t\tNextToken is not returned if you are performing a math expression. InternalError \n\t\t\tindicates that an error occurred. Retry your request using NextToken, if present.

" + "smithy.api#documentation": "

The status of the returned data. Complete indicates that all data points\n in the requested time range were returned. PartialData means that an\n incomplete set of data points were returned. You can use the NextToken\n value that was returned and repeat your request to get more data points.\n NextToken is not returned if you are performing a math expression.\n InternalError indicates that an error occurred. Retry your request\n using NextToken, if present.

" } }, "Messages": { @@ -4978,7 +5090,7 @@ } }, "traits": { - "smithy.api#documentation": "

A GetMetricData call returns an array of MetricDataResult\n\t\t\tstructures. Each of these structures includes the data points for that metric, along\n\t\t\twith the timestamps of those data points and other identifying information.

" + "smithy.api#documentation": "

A GetMetricData call returns an array of MetricDataResult\n structures. Each of these structures includes the data points for that metric, along\n with the timestamps of those data points and other identifying information.

" } }, "com.amazonaws.cloudwatch#MetricDataResultMessages": { @@ -5013,13 +5125,13 @@ "Timestamp": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { - "smithy.api#documentation": "

The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

" + "smithy.api#documentation": "

The time the metric data was received, expressed as the number of milliseconds\n since Jan 1, 1970 00:00:00 UTC.

" } }, "Value": { "target": "com.amazonaws.cloudwatch#DatapointValue", "traits": { - "smithy.api#documentation": "

The value for the metric.

\n

Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or\n\t\t\ttoo large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity)\n\t\t\tare not supported.

" + "smithy.api#documentation": "

The value for the metric.

\n

Although the parameter accepts numbers of type Double, CloudWatch rejects values\n that are either too small or too large. Values must be in the range of -2^360 to 2^360.\n In addition, special values (for example, NaN, +Infinity, -Infinity) are not\n supported.

" } }, "StatisticValues": { @@ -5031,30 +5143,30 @@ "Values": { "target": "com.amazonaws.cloudwatch#Values", "traits": { - "smithy.api#documentation": "

Array of numbers representing the values for the metric during the period. Each unique value is listed just once\n\t\tin this array, and the corresponding number in the Counts array specifies the number of times that value occurred during the period.\n\t\tYou can include up to 150 unique values in each PutMetricData action that specifies a Values array.

\n

Although the Values array accepts numbers of type\n\t\t\tDouble, CloudWatch rejects values that are either too small\n\t\t\tor too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,\n\t\t\t-Infinity) are not supported.

" + "smithy.api#documentation": "

Array of numbers representing the values for the metric during the period. Each unique\n value is listed just once in this array, and the corresponding number in the\n Counts array specifies the number of times that value occurred during\n the period. You can include up to 150 unique values in each PutMetricData\n action that specifies a Values array.

\n

Although the Values array accepts numbers of type Double,\n CloudWatch rejects values that are either too small or too large. Values must be in the\n range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,\n -Infinity) are not supported.

" } }, "Counts": { "target": "com.amazonaws.cloudwatch#Counts", "traits": { - "smithy.api#documentation": "

Array of numbers that is used along with the Values array. Each number in the Count array \n\t\t\tis the number of times the corresponding value in the Values array occurred during the period.

\n

If you omit the Counts array, the default of 1 is used as the value for each count. If you\n\t\tinclude a Counts array, it must include the same amount of values as the Values array.

" + "smithy.api#documentation": "

Array of numbers that is used along with the Values array. Each number in\n the Count array is the number of times the corresponding value in the\n Values array occurred during the period.

\n

If you omit the Counts array, the default of 1 is used as the value for\n each count. If you include a Counts array, it must include the same amount\n of values as the Values array.

" } }, "Unit": { "target": "com.amazonaws.cloudwatch#StandardUnit", "traits": { - "smithy.api#documentation": "

When you are using a Put operation, this defines what unit you want to use when storing the metric.

\n

In \n\t\ta Get operation, this displays the unit that is used for the metric.

" + "smithy.api#documentation": "

When you are using a Put operation, this defines what unit you want to\n use when storing the metric.

\n

In a Get operation, this displays the unit that is used for the\n metric.

" } }, "StorageResolution": { "target": "com.amazonaws.cloudwatch#StorageResolution", "traits": { - "smithy.api#documentation": "

Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with \n\t\t\tsub-minute resolution down to one second.\n\t\tSetting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available\n\t\tonly for custom metrics. For more information about high-resolution metrics, \n\t\t\tsee High-Resolution Metrics in the\n\t\t\tAmazon CloudWatch User Guide.\n\t\t

\n

This field is optional, if you do not specify it the default of 60 is used.

" + "smithy.api#documentation": "

Valid values are 1 and 60. Setting this to 1 specifies this metric as a\n high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution\n down to one second. Setting this to 60 specifies this metric as a regular-resolution\n metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is\n available only for custom metrics. For more information about high-resolution metrics,\n see High-Resolution Metrics in the Amazon CloudWatch User\n Guide.

\n

This field is optional, if you do not specify it the default of 60 is\n used.

" } } }, "traits": { - "smithy.api#documentation": "

Encapsulates the information sent to either create a metric or add new values\n\t\t\tto be aggregated into an existing metric.

" + "smithy.api#documentation": "

Encapsulates the information sent to either create a metric or add new values to be\n aggregated into an existing metric.

" } }, "com.amazonaws.cloudwatch#MetricExpression": { @@ -5084,12 +5196,12 @@ "MetricDataQueries": { "target": "com.amazonaws.cloudwatch#MetricDataQueries", "traits": { - "smithy.api#documentation": "

An array of metric data query structures \n\t\t\tthat enables you to create an anomaly detector \n\t\t\tbased on the result of a metric math expression.\n\t\t\tEach item in MetricDataQueries gets a metric or performs a math expression.\n\t\t\tOne item in MetricDataQueries is the expression \n\t\t\tthat provides the time series \n\t\t\tthat the anomaly detector uses as input. \n\t\t\tDesignate the expression by setting ReturnData to true \n\t\t\tfor this object in the array.\n\t\t\tFor all other expressions and metrics, set ReturnData to false.\n\t\t\tThe designated expression must return \n\t\t\ta single time series.

" + "smithy.api#documentation": "

An array of metric data query structures that enables you to create an anomaly\n detector based on the result of a metric math expression. Each item in\n MetricDataQueries gets a metric or performs a math expression. One item\n in MetricDataQueries is the expression that provides the time series that\n the anomaly detector uses as input. Designate the expression by setting\n ReturnData to true for this object in the array. For all\n other expressions and metrics, set ReturnData to false. The\n designated expression must return a single time series.

" } } }, "traits": { - "smithy.api#documentation": "

Indicates the CloudWatch math expression that provides the time series the anomaly detector\n\t\t\tuses as input.\n\t\t\tThe designated math expression must return a single time series.

" + "smithy.api#documentation": "

Indicates the CloudWatch math expression that provides the time series the anomaly\n detector uses as input. The designated math expression must return a single time\n series.

" } }, "com.amazonaws.cloudwatch#MetricName": { @@ -5116,7 +5228,7 @@ "target": "com.amazonaws.cloudwatch#Period", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can\n\t\t\tbe as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected\n\t\t\tat intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics\n\t\t\tare those metrics stored by a PutMetricData call that includes a StorageResolution of 1 second.

\n

If the StartTime parameter specifies a time stamp that is greater than\n\t\t\t\t3 hours ago, you must specify the period as follows or no data points in that time range is returned:

\n ", + "smithy.api#documentation": "

The granularity, in seconds, of the returned data points. For metrics with regular\n resolution, a period can be as short as one minute (60 seconds) and must be a multiple\n of 60. For high-resolution metrics that are collected at intervals of less than one\n minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution\n metrics are those metrics stored by a PutMetricData call that includes a\n StorageResolution of 1 second.

\n

If the StartTime parameter specifies a time stamp that is greater than\n 3 hours ago, you must specify the period as follows or no data points in that time range\n is returned:

\n ", "smithy.api#required": {} } }, @@ -5124,19 +5236,19 @@ "target": "com.amazonaws.cloudwatch#Stat", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The statistic to return. It can include any CloudWatch statistic or extended statistic.

", + "smithy.api#documentation": "

The statistic to return. It can include any CloudWatch statistic or extended\n statistic.

", "smithy.api#required": {} } }, "Unit": { "target": "com.amazonaws.cloudwatch#StandardUnit", "traits": { - "smithy.api#documentation": "

When you are using a Put operation, this defines what unit you want to use when storing the metric.

\n

In a Get operation, if you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified\n\t\t\twhen the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified.\n\t\t\tIf you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.

" + "smithy.api#documentation": "

When you are using a Put operation, this defines what unit you want to\n use when storing the metric.

\n

In a Get operation, if you omit Unit then all data that\n was collected with any unit is returned, along with the corresponding units that were\n specified when the data was reported to CloudWatch. If you specify a unit, the operation\n returns only data that was collected with that unit specified. If you specify a unit\n that does not match the data collected, the results of the operation are null.\n CloudWatch does not perform unit conversions.

" } } }, "traits": { - "smithy.api#documentation": "

This structure defines the metric to be returned, along with the statistics, period, and units.

" + "smithy.api#documentation": "

This structure defines the metric to be returned, along with the statistics, period,\n and units.

" } }, "com.amazonaws.cloudwatch#MetricStreamEntries": { @@ -5163,7 +5275,7 @@ "LastUpdateDate": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { - "smithy.api#documentation": "

The date that the configuration of this metric stream was most recently updated.

" + "smithy.api#documentation": "

The date that the configuration of this metric stream was most recently\n updated.

" } }, "Name": { @@ -5175,19 +5287,19 @@ "FirehoseArn": { "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { - "smithy.api#documentation": "

The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.

" + "smithy.api#documentation": "

The ARN of the Kinesis Firehose devlivery stream that is used for this metric\n stream.

" } }, "State": { "target": "com.amazonaws.cloudwatch#MetricStreamState", "traits": { - "smithy.api#documentation": "

The current state of this stream. Valid values are running and stopped.

" + "smithy.api#documentation": "

The current state of this stream. Valid values are running and\n stopped.

" } }, "OutputFormat": { "target": "com.amazonaws.cloudwatch#MetricStreamOutputFormat", "traits": { - "smithy.api#documentation": "

The output format of this metric stream. Valid values are \n\t\t\tjson, opentelemetry1.0, \n\t\t\tand opentelemetry0.7.

" + "smithy.api#documentation": "

The output format of this metric stream. Valid values are json,\n opentelemetry1.0, and opentelemetry0.7.

" } } }, @@ -5201,18 +5313,18 @@ "Namespace": { "target": "com.amazonaws.cloudwatch#Namespace", "traits": { - "smithy.api#documentation": "

The name of the metric namespace for this filter.

\n

The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must\n\t\t\tcontain at least one non-whitespace character.

" + "smithy.api#documentation": "

The name of the metric namespace for this filter.

\n

The namespace can contain only ASCII printable characters (ASCII range 32 through\n 126). It must contain at least one non-whitespace character.

" } }, "MetricNames": { "target": "com.amazonaws.cloudwatch#MetricStreamFilterMetricNames", "traits": { - "smithy.api#documentation": "

The names of the metrics to either include or exclude from the metric stream.

\n

If you omit this parameter, all metrics in the namespace are included or excluded, \n\t\tdepending on whether this filter is specified as an exclude filter or an include filter.

\n

Each metric name can contain only ASCII printable characters (ASCII range 32 through 126). \n\t\t\tEach metric name must contain at least one non-whitespace character.

" + "smithy.api#documentation": "

The names of the metrics to either include or exclude from the metric stream.

\n

If you omit this parameter, all metrics in the namespace are included or excluded,\n depending on whether this filter is specified as an exclude filter or an include\n filter.

\n

Each metric name can contain only ASCII printable characters (ASCII range 32 through\n 126). Each metric name must contain at least one non-whitespace character.

" } } }, "traits": { - "smithy.api#documentation": "

This structure contains a metric namespace and optionally, a list of metric names, \n\t\t\tto either include in a metric stream or exclude from\n\t\t\ta metric stream.

\n

A metric stream's filters can include up to 1000 total names. This limit\n\t\t\tapplies to the sum of namespace names and metric names in the filters. For example, \n\t\tthis could include 10 metric namespace filters with 99 metrics each, or 20 namespace filters\n\t\twith 49 metrics specified in each filter.

" + "smithy.api#documentation": "

This structure contains a metric namespace and optionally, a list of metric names, to\n either include in a metric stream or exclude from a metric stream.

\n

A metric stream's filters can include up to 1000 total names. This limit applies to\n the sum of namespace names and metric names in the filters. For example, this could\n include 10 metric namespace filters with 99 metrics each, or 20 namespace filters with\n 49 metrics specified in each filter.

" } }, "com.amazonaws.cloudwatch#MetricStreamFilterMetricNames": { @@ -5290,7 +5402,7 @@ "target": "com.amazonaws.cloudwatch#MetricStreamStatisticsIncludeMetrics", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

An array of metric name and namespace pairs that stream the additional statistics listed\n\t\t\tin the value of the AdditionalStatistics parameter. There can be as many as \n\t\t\t100 pairs in the array.

\n

All metrics that match the combination of metric name and namespace will be streamed\n\t\t\twith the additional statistics, no matter their dimensions.

", + "smithy.api#documentation": "

An array of metric name and namespace pairs that stream the additional statistics\n listed in the value of the AdditionalStatistics parameter. There can be as\n many as 100 pairs in the array.

\n

All metrics that match the combination of metric name and namespace will be streamed\n with the additional statistics, no matter their dimensions.

", "smithy.api#required": {} } }, @@ -5298,13 +5410,13 @@ "target": "com.amazonaws.cloudwatch#MetricStreamStatisticsAdditionalStatistics", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The list of additional statistics that are to be streamed for the metrics listed\n\t\t\tin the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

\n

If the OutputFormat for the stream is opentelemetry1.0 or opentelemetry0.7, the only \n\t\t\tvalid values are p??\n percentile statistics such as p90, p99 and so on.

\n

If the OutputFormat for the stream is json, \n\t\t\tthe valid values include the abbreviations for all of the statistics listed in \n\t\t\t\n\t\t\t\tCloudWatch statistics definitions. For example, this includes\n\t\t\ttm98, \n wm90, PR(:300), and so on.

", + "smithy.api#documentation": "

The list of additional statistics that are to be streamed for the metrics listed in\n the IncludeMetrics array in this structure. This list can include as many\n as 20 statistics.

\n

If the OutputFormat for the stream is opentelemetry1.0 or\n opentelemetry0.7, the only valid values are\n p??\n percentile statistics such as\n p90, p99 and so on.

\n

If the OutputFormat for the stream is json, the valid values\n include the abbreviations for all of the statistics listed in \n CloudWatch statistics definitions. For example, this includes\n tm98, \n wm90, PR(:300), and so on.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

By default, a metric stream always sends the MAX, MIN, SUM, \n\t\t\tand SAMPLECOUNT statistics for each metric that is streamed. This structure contains information for\n\t\t\tone metric that includes additional statistics in the stream. For more information about statistics, \n\t\t\tsee CloudWatch, listed in \n\t\t\t\n\t\t\t\tCloudWatch statistics definitions.

" + "smithy.api#documentation": "

By default, a metric stream always sends the MAX, MIN,\n SUM, and SAMPLECOUNT statistics for each metric that is\n streamed. This structure contains information for one metric that includes additional\n statistics in the stream. For more information about statistics, see CloudWatch,\n listed in \n CloudWatch statistics definitions.

" } }, "com.amazonaws.cloudwatch#MetricStreamStatisticsConfigurations": { @@ -5340,7 +5452,7 @@ } }, "traits": { - "smithy.api#documentation": "

This object contains the information for one metric that is to be streamed with \n\t\t\tadditional statistics.

" + "smithy.api#documentation": "

This object contains the information for one metric that is to be streamed with\n additional statistics.

" } }, "com.amazonaws.cloudwatch#MetricWidget": { @@ -5426,7 +5538,7 @@ } }, "traits": { - "smithy.api#documentation": "

This array is empty if the API operation was successful for all the rules specified in the request. If the operation could\n\t\tnot process one of the rules, the following data is returned for each of those rules.

" + "smithy.api#documentation": "

This array is empty if the API operation was successful for all the rules specified in\n the request. If the operation could not process one of the rules, the following data is\n returned for each of those rules.

" } }, "com.amazonaws.cloudwatch#Period": { @@ -5466,7 +5578,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an anomaly detection model for a CloudWatch metric. You can use the model\n\t\t\tto display a band of expected normal values when the metric is graphed.

\n

If you have enabled unified cross-account observability, and this account is a monitoring\n\t\t\taccount, the metric can be in the same account or a source account. You can specify the account ID\n\t\t\tin the object you specify in the SingleMetricAnomalyDetector parameter.

\n

For more information, see CloudWatch Anomaly Detection.

" + "smithy.api#documentation": "

Creates an anomaly detection model for a CloudWatch metric. You can use the model to\n display a band of expected normal values when the metric is graphed.

\n

If you have enabled unified cross-account observability, and this account is a\n monitoring account, the metric can be in the same account or a source account. You can\n specify the account ID in the object you specify in the\n SingleMetricAnomalyDetector parameter.

\n

For more information, see CloudWatch Anomaly Detection.

" } }, "com.amazonaws.cloudwatch#PutAnomalyDetectorInput": { @@ -5511,25 +5623,25 @@ "Configuration": { "target": "com.amazonaws.cloudwatch#AnomalyDetectorConfiguration", "traits": { - "smithy.api#documentation": "

The configuration specifies details about how the \n\t\t\tanomaly detection model is to be trained, including \n\t\t\ttime ranges to exclude when training and updating the model.\n\t\t\tYou can specify as many as 10 time ranges.

\n

The configuration can also include the time zone to use for \n\t\t\tthe metric.

" + "smithy.api#documentation": "

The configuration specifies details about how the anomaly detection model is to be\n trained, including time ranges to exclude when training and updating the model. You can\n specify as many as 10 time ranges.

\n

The configuration can also include the time zone to use for the metric.

" } }, "MetricCharacteristics": { "target": "com.amazonaws.cloudwatch#MetricCharacteristics", "traits": { - "smithy.api#documentation": "

Use this object to include parameters to provide information about your metric to \n\t\t\tCloudWatch to help it build more accurate anomaly detection models. Currently, it includes\n\t\t\tthe PeriodicSpikes parameter.

" + "smithy.api#documentation": "

Use this object to include parameters to provide information about your metric to\n CloudWatch to help it build more accurate anomaly detection models.\n Currently, it includes the PeriodicSpikes parameter.

" } }, "SingleMetricAnomalyDetector": { "target": "com.amazonaws.cloudwatch#SingleMetricAnomalyDetector", "traits": { - "smithy.api#documentation": "

A single metric anomaly detector to be created.

\n

When using SingleMetricAnomalyDetector, \n\t\t\tyou cannot include the following parameters in the same operation:

\n \n

Instead, specify the single metric anomaly detector attributes\n\t\t\tas part of the property SingleMetricAnomalyDetector.

" + "smithy.api#documentation": "

A single metric anomaly detector to be created.

\n

When using SingleMetricAnomalyDetector, you cannot include the following\n parameters in the same operation:

\n \n

Instead, specify the single metric anomaly detector attributes as part of the property\n SingleMetricAnomalyDetector.

" } }, "MetricMathAnomalyDetector": { "target": "com.amazonaws.cloudwatch#MetricMathAnomalyDetector", "traits": { - "smithy.api#documentation": "

The metric math anomaly detector to be created.

\n

When using MetricMathAnomalyDetector, you cannot include the following parameters in the same operation:

\n \n

Instead, specify the metric math anomaly detector attributes\n\t\t\tas part of the property MetricMathAnomalyDetector.

" + "smithy.api#documentation": "

The metric math anomaly detector to be created.

\n

When using MetricMathAnomalyDetector, you cannot include the following\n parameters in the same operation:

\n \n

Instead, specify the metric math anomaly detector attributes as part of the property\n MetricMathAnomalyDetector.

" } } }, @@ -5558,7 +5670,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates a composite alarm. When you create a composite\n\t\t\talarm, you specify a rule expression for the alarm that takes into account the alarm\n\t\t\tstates of other alarms that you have created. The composite alarm goes into ALARM state\n\t\t\tonly if all conditions of the rule are met.

\n

The alarms specified in a composite alarm's rule expression can include metric alarms\n\t\t\tand other composite alarms. The rule expression of a composite alarm can include as many as 100 underlying alarms. \n\t\t\tAny single alarm can be included in the rule expressions of as many as 150 composite alarms.

\n

Using composite alarms can reduce\n\t\t\talarm noise. You can create multiple metric alarms,\n\t\t\tand also create a composite alarm and\n\t\t\tset up alerts only\n\t\t\tfor the composite alarm. For example, you could create a composite\n\t\t\talarm that goes into ALARM state only when more than one of the underlying metric alarms\n\t\t\tare in ALARM state.

\n

Composite alarms can take the following actions:

\n \n \n

It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and \n\t\t\tcomposite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle \n\t\t\tbecause there is always still a composite alarm that depends on that alarm that you want to delete.

\n

To get out of such a situation, you must\n\t\t\tbreak the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest\n\t\t\tchange to make to break a cycle is to change the AlarmRule of one of the alarms to false.

\n

Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path.\n\t\t

\n
\n

When this operation creates an alarm, the alarm state is immediately set to\n\t\t\t\tINSUFFICIENT_DATA. The alarm is then evaluated and its state is set\n\t\t\tappropriately. Any actions associated with the new state are then executed. For a\n\t\t\tcomposite alarm, this initial time after creation is the only time that\n\t\t\tthe\n\t\t\talarm can be in INSUFFICIENT_DATA state.

\n

When you update an existing alarm, its state is left unchanged, but the update\n\t\t\tcompletely overwrites the previous configuration of the alarm.

\n

To use this operation, you must be signed on with \n\t\t\tthe cloudwatch:PutCompositeAlarm permission that is scoped to *. You can't create a\n\t\t\tcomposite alarms if your cloudwatch:PutCompositeAlarm permission has a narrower scope.

\n

If you are an IAM user, you must have iam:CreateServiceLinkedRole to create\n\t\t\ta composite alarm that has Systems Manager OpsItem actions.

" + "smithy.api#documentation": "

Creates or updates a composite alarm. When you create a composite\n alarm, you specify a rule expression for the alarm that takes into account the alarm\n states of other alarms that you have created. The composite alarm goes into ALARM state\n only if all conditions of the rule are met.

\n

The alarms specified in a composite alarm's rule expression can include metric alarms\n and other composite alarms. The rule expression of a composite alarm can include as many\n as 100 underlying alarms. Any single alarm can be included in the rule expressions of as\n many as 150 composite alarms.

\n

Using composite alarms can reduce alarm noise. You can create multiple metric alarms,\n and also create a composite alarm and set up alerts only for the composite alarm. For\n example, you could create a composite alarm that goes into ALARM state only when more\n than one of the underlying metric alarms are in ALARM state.

\n

Composite alarms can take the following actions:

\n \n \n

It is possible to create a loop or cycle of composite alarms, where composite\n alarm A depends on composite alarm B, and composite alarm B also depends on\n composite alarm A. In this scenario, you can't delete any composite alarm that is\n part of the cycle because there is always still a composite alarm that depends on\n that alarm that you want to delete.

\n

To get out of such a situation, you must break the cycle by changing the rule of\n one of the composite alarms in the cycle to remove a dependency that creates the\n cycle. The simplest change to make to break a cycle is to change the\n AlarmRule of one of the alarms to false.

\n

Additionally, the evaluation of composite alarms stops if CloudWatch detects a\n cycle in the evaluation path.

\n
\n

When this operation creates an alarm, the alarm state is immediately set to\n INSUFFICIENT_DATA. The alarm is then evaluated and its state is set\n appropriately. Any actions associated with the new state are then executed. For a\n composite alarm, this initial time after creation is the only time that the alarm can be\n in INSUFFICIENT_DATA state.

\n

When you update an existing alarm, its state is left unchanged, but the update\n completely overwrites the previous configuration of the alarm.

\n

To use this operation, you must be signed on with the\n cloudwatch:PutCompositeAlarm permission that is scoped to\n *. You can't create a composite alarms if your\n cloudwatch:PutCompositeAlarm permission has a narrower scope.

\n

If you are an IAM user, you must have\n iam:CreateServiceLinkedRole to create a composite alarm that has\n Systems Manager OpsItem actions.

" } }, "com.amazonaws.cloudwatch#PutCompositeAlarmInput": { @@ -5567,13 +5679,13 @@ "ActionsEnabled": { "target": "com.amazonaws.cloudwatch#ActionsEnabled", "traits": { - "smithy.api#documentation": "

Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. The default is \n\t\t\tTRUE.

" + "smithy.api#documentation": "

Indicates whether actions should be executed during any changes to the alarm state of\n the composite alarm. The default is TRUE.

" } }, "AlarmActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to the ALARM state from any other state. \n\t\t\tEach action is specified as an Amazon Resource Name (ARN).

\n

Valid Values: ]

\n

\n Amazon SNS actions:\n

\n

\n arn:aws:sns:region:account-id:sns-topic-name\n \n

\n

\n Lambda actions:\n

\n \n

\n Systems Manager actions:\n

\n

\n arn:aws:ssm:region:account-id:opsitem:severity\n \n

" + "smithy.api#documentation": "

The actions to execute when this alarm transitions to the ALARM state\n from any other state. Each action is specified as an Amazon Resource Name\n (ARN).

\n

Valid Values: ]

\n

\n Amazon SNS actions:\n

\n

\n arn:aws:sns:region:account-id:sns-topic-name\n \n

\n

\n Lambda actions:\n

\n \n

\n Systems Manager actions:\n

\n

\n arn:aws:ssm:region:account-id:opsitem:severity\n \n

" } }, "AlarmDescription": { @@ -5586,7 +5698,7 @@ "target": "com.amazonaws.cloudwatch#AlarmName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name for the composite alarm. This name must be unique within the Region.

", + "smithy.api#documentation": "

The name for the composite alarm. This name must be unique within the\n Region.

", "smithy.api#required": {} } }, @@ -5594,44 +5706,44 @@ "target": "com.amazonaws.cloudwatch#AlarmRule", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

An expression that specifies which other alarms are to be evaluated to determine this\n\t\t\tcomposite alarm's state. For each alarm that you reference, you\n\t\t\tdesignate a function that\n\t\t\tspecifies whether that alarm needs to be in ALARM state, OK state, or INSUFFICIENT_DATA state. You\n\t\t\tcan use operators (AND, OR and NOT) to combine multiple functions in a single expression. You can use parenthesis to logically group the \n\t\t\tfunctions in your expression.

\n

You can use either alarm names or ARNs to reference the other alarms that are to be evaluated.

\n

Functions can include the following:

\n \n

TRUE and FALSE are useful for testing a complex AlarmRule structure, and \n\t\tfor testing your alarm actions.

\n

Alarm names specified in AlarmRule can be surrounded with double-quotes (\"), but do not have to be.

\n

The following\n\t\t\tare some examples of AlarmRule:

\n \n

The AlarmRule can specify as many as 100\n\t\t\t\"children\" alarms. The AlarmRule expression can have as many as 500 elements. Elements\n\t\t\tare child alarms, TRUE or FALSE statements, and\n\t\t\tparentheses.

", + "smithy.api#documentation": "

An expression that specifies which other alarms are to be evaluated to determine this\n composite alarm's state. For each alarm that you reference, you designate a function\n that specifies whether that alarm needs to be in ALARM state, OK state, or\n INSUFFICIENT_DATA state. You can use operators (AND, OR and NOT) to combine multiple\n functions in a single expression. You can use parenthesis to logically group the\n functions in your expression.

\n

You can use either alarm names or ARNs to reference the other alarms that are to be\n evaluated.

\n

Functions can include the following:

\n \n

TRUE and FALSE are useful for testing a complex AlarmRule structure, and\n for testing your alarm actions.

\n

Alarm names specified in AlarmRule can be surrounded with double-quotes\n (\"), but do not have to be.

\n

The following are some examples of AlarmRule:

\n \n

The AlarmRule can specify as many as 100 \"children\" alarms. The\n AlarmRule expression can have as many as 500 elements. Elements are\n child alarms, TRUE or FALSE statements, and parentheses.

", "smithy.api#required": {} } }, "InsufficientDataActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. \n\t\t\tEach action is specified as an Amazon Resource Name (ARN).

\n

Valid Values: ]

\n

\n Amazon SNS actions:\n

\n

\n arn:aws:sns:region:account-id:sns-topic-name\n \n

\n

\n Lambda actions:\n

\n " + "smithy.api#documentation": "

The actions to execute when this alarm transitions to the\n INSUFFICIENT_DATA state from any other state. Each action is specified\n as an Amazon Resource Name (ARN).

\n

Valid Values: ]

\n

\n Amazon SNS actions:\n

\n

\n arn:aws:sns:region:account-id:sns-topic-name\n \n

\n

\n Lambda actions:\n

\n " } }, "OKActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to an OK state\n\t\t\tfrom any other state. Each action is specified as an Amazon Resource Name (ARN).

\n

Valid Values: ]

\n

\n Amazon SNS actions:\n

\n

\n arn:aws:sns:region:account-id:sns-topic-name\n \n

\n

\n Lambda actions:\n

\n " + "smithy.api#documentation": "

The actions to execute when this alarm transitions to an OK state from\n any other state. Each action is specified as an Amazon Resource Name (ARN).

\n

Valid Values: ]

\n

\n Amazon SNS actions:\n

\n

\n arn:aws:sns:region:account-id:sns-topic-name\n \n

\n

\n Lambda actions:\n

\n " } }, "Tags": { "target": "com.amazonaws.cloudwatch#TagList", "traits": { - "smithy.api#documentation": "

A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm.\n\t\t\tTo be able to associate tags with the alarm when you create the alarm, you must\n\t\t\thave the cloudwatch:TagResource permission.

\n

Tags can help you organize and categorize your resources. You can also use them to scope user\n\t\t\tpermissions by granting a user\n\t\t\tpermission to access or change only resources with certain tag values.

\n

If you are using this operation to update an existing alarm, any tags\n\t\t\tyou specify in this parameter are ignored. To change the tags of an existing alarm, use\n\t\t\tTagResource\n\t\t\tor UntagResource.

" + "smithy.api#documentation": "

A list of key-value pairs to associate with the alarm. You can associate as many as\n 50 tags with an alarm. To be able to associate tags with the alarm when you create the\n alarm, you must have the cloudwatch:TagResource permission.

\n

Tags can help you organize and categorize your resources. You can also use them to\n scope user permissions by granting a user permission to access or change only resources\n with certain tag values.

\n

If you are using this operation to update an existing alarm, any tags you specify in\n this parameter are ignored. To change the tags of an existing alarm, use TagResource or UntagResource.

" } }, "ActionsSuppressor": { "target": "com.amazonaws.cloudwatch#AlarmArn", "traits": { - "smithy.api#documentation": "

\n\t\t\tActions will be suppressed \n\t\t\tif the suppressor alarm is \n\t\t\tin the ALARM state.\n\t\t\tActionsSuppressor can be an AlarmName or an Amazon Resource Name (ARN) \n\t\t\tfrom an existing alarm.\n\t\t

" + "smithy.api#documentation": "

Actions will be suppressed if the suppressor alarm is in the ALARM\n state. ActionsSuppressor can be an AlarmName or an Amazon Resource Name\n (ARN) from an existing alarm.

" } }, "ActionsSuppressorWaitPeriod": { "target": "com.amazonaws.cloudwatch#SuppressorPeriod", "traits": { - "smithy.api#documentation": "

\n\t\t\tThe maximum time \n\t\t\tin seconds \n\t\t\tthat the composite alarm waits\n\t\t\tfor the suppressor alarm \n\t\t\tto go \n\t\t\tinto the ALARM state. \n\t\t\tAfter this time, \n\t\t\tthe composite alarm performs its actions.\n\t\t

\n \n

\n WaitPeriod \n\t\t\t\tis required only \n\t\t\t\twhen ActionsSuppressor is specified.\n\t\t\t

\n
" + "smithy.api#documentation": "

The maximum time in seconds that the composite alarm waits for the suppressor alarm\n to go into the ALARM state. After this time, the composite alarm performs\n its actions.

\n \n

\n WaitPeriod is required only when ActionsSuppressor is\n specified.

\n
" } }, "ActionsSuppressorExtensionPeriod": { "target": "com.amazonaws.cloudwatch#SuppressorPeriod", "traits": { - "smithy.api#documentation": "

\n\t\t\tThe maximum time \n\t\t\tin seconds\n\t\t\tthat the composite alarm waits \n\t\t\tafter suppressor alarm goes out \n\t\t\tof the ALARM state. \n\t\t\tAfter this time, \n\t\t\tthe composite alarm performs its actions.\n\t\t

\n \n

\n ExtensionPeriod \n\t\t\t\tis required only \n\t\t\t\twhen ActionsSuppressor is specified.\n\t\t\t

\n
" + "smithy.api#documentation": "

The maximum time in seconds that the composite alarm waits after suppressor alarm\n goes out of the ALARM state. After this time, the composite alarm performs\n its actions.

\n \n

\n ExtensionPeriod is required only when ActionsSuppressor is\n specified.

\n
" } } }, @@ -5656,7 +5768,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a dashboard if it does not already exist, or updates an existing dashboard. If you update a dashboard,\n\t\tthe entire contents are replaced with what you specify here.

\n

All dashboards in your account are global, not region-specific.

\n

A simple way to create a dashboard using PutDashboard is to copy an \n\t\t\texisting dashboard. To copy an existing dashboard using the console, you can load the dashboard\n\t\t\tand then use the View/edit source command in the Actions menu to display the JSON block\n\t\t\tfor that dashboard. Another way to copy a dashboard is to \n\t\t\tuse GetDashboard, and then use the data returned\n\t\t\twithin DashboardBody as the template for the new dashboard when you call PutDashboard.

\n

When you create a dashboard with PutDashboard, a good practice is to \n\t\t\tadd a text widget at the top of the dashboard with a message that the dashboard was created by script and should\n\t\tnot be changed in the console. This message could also point console users to the location \n\t\tof the DashboardBody script or the CloudFormation template used to create the\n\t\tdashboard.

" + "smithy.api#documentation": "

Creates a dashboard if it does not already exist, or updates an existing dashboard.\n If you update a dashboard, the entire contents are replaced with what you specify\n here.

\n

All dashboards in your account are global, not region-specific.

\n

A simple way to create a dashboard using PutDashboard is to copy an\n existing dashboard. To copy an existing dashboard using the console, you can load the\n dashboard and then use the View/edit source command in the Actions menu to display the\n JSON block for that dashboard. Another way to copy a dashboard is to use\n GetDashboard, and then use the data returned within\n DashboardBody as the template for the new dashboard when you call\n PutDashboard.

\n

When you create a dashboard with PutDashboard, a good practice is to\n add a text widget at the top of the dashboard with a message that the dashboard was\n created by script and should not be changed in the console. This message could also\n point console users to the location of the DashboardBody script or the\n CloudFormation template used to create the dashboard.

" } }, "com.amazonaws.cloudwatch#PutDashboardInput": { @@ -5666,7 +5778,7 @@ "target": "com.amazonaws.cloudwatch#DashboardName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name of the dashboard. If a dashboard with this name already exists, this call modifies that dashboard, replacing\n\t\t\tits current contents. Otherwise, a new dashboard is created. The maximum length is 255, and valid characters are \n\t\t\tA-Z, a-z, 0-9, \"-\", and \"_\". This parameter is required.

", + "smithy.api#documentation": "

The name of the dashboard. If a dashboard with this name already exists, this call\n modifies that dashboard, replacing its current contents. Otherwise, a new dashboard is\n created. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, \"-\", and\n \"_\". This parameter is required.

", "smithy.api#required": {} } }, @@ -5674,7 +5786,7 @@ "target": "com.amazonaws.cloudwatch#DashboardBody", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The detailed information about the dashboard in JSON format, including the widgets to include and their location\n\t\t\ton the dashboard. This parameter is required.

\n

For more information about the syntax, \n\t\t\tsee Dashboard Body Structure and Syntax.

", + "smithy.api#documentation": "

The detailed information about the dashboard in JSON format, including the widgets\n to include and their location on the dashboard. This parameter is required.

\n

For more information about the syntax, see Dashboard Body Structure and Syntax.

", "smithy.api#required": {} } } @@ -5689,7 +5801,7 @@ "DashboardValidationMessages": { "target": "com.amazonaws.cloudwatch#DashboardValidationMessages", "traits": { - "smithy.api#documentation": "

If the input for PutDashboard was correct and the dashboard was successfully created or modified, this result is empty.

\n

If this result includes only warning messages, then the input was valid enough for the dashboard to be\n\t\t\tcreated or modified, but some elements of the dashboard\n\t\t\tmight not render.

\n

If this result includes error messages, the input was not valid and the operation failed.

" + "smithy.api#documentation": "

If the input for PutDashboard was correct and the dashboard was\n successfully created or modified, this result is empty.

\n

If this result includes only warning messages, then the input was valid enough for\n the dashboard to be created or modified, but some elements of the dashboard might not\n render.

\n

If this result includes error messages, the input was not valid and the operation\n failed.

" } } }, @@ -5717,7 +5829,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a Contributor Insights rule. Rules evaluate log events in a\n\t\tCloudWatch Logs log group, enabling you to find contributor data for the log events in that log group. For more information, \n\t\tsee Using Contributor Insights to Analyze High-Cardinality Data.

\n

If you create a rule, delete it, and then re-create it with the same name, historical data from the first time\n\t\t\tthe rule was created might not be available.

" + "smithy.api#documentation": "

Creates a Contributor Insights rule. Rules evaluate log events in a CloudWatch Logs\n log group, enabling you to find contributor data for the log events in that log group.\n For more information, see Using Contributor\n Insights to Analyze High-Cardinality Data.

\n

If you create a rule, delete it, and then re-create it with the same name, historical\n data from the first time the rule was created might not be available.

" } }, "com.amazonaws.cloudwatch#PutInsightRuleInput": { @@ -5741,14 +5853,14 @@ "target": "com.amazonaws.cloudwatch#InsightRuleDefinition", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The definition of the rule, as a JSON object. For details on the valid syntax, see \n\t\t\tContributor Insights\n\t\t\tRule Syntax.

", + "smithy.api#documentation": "

The definition of the rule, as a JSON object. For details on the valid syntax, see\n Contributor Insights Rule Syntax.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.cloudwatch#TagList", "traits": { - "smithy.api#documentation": "

A list of key-value pairs to associate with the Contributor Insights rule. \n\t\t\tYou can associate as many as 50 tags with a rule.

\n

Tags can help you organize and categorize your\n\t\t\tresources. You can also use them to scope user permissions, by \n\t\t\tgranting a user permission to access or change only the resources that have\n\t\t\tcertain tag values.

\n

To be able to associate tags with a rule, you must have the cloudwatch:TagResource\n\t\tpermission in addition to the cloudwatch:PutInsightRule permission.

\n

If you are using this operation to update an existing Contributor Insights rule, any tags\n\t\tyou specify in this parameter are ignored. To change the tags of an existing rule, use\n\t\t\tTagResource.

" + "smithy.api#documentation": "

A list of key-value pairs to associate with the Contributor Insights rule. You can\n associate as many as 50 tags with a rule.

\n

Tags can help you organize and categorize your resources. You can also use them to\n scope user permissions, by granting a user permission to access or change only the\n resources that have certain tag values.

\n

To be able to associate tags with a rule, you must have the\n cloudwatch:TagResource permission in addition to the\n cloudwatch:PutInsightRule permission.

\n

If you are using this operation to update an existing Contributor Insights rule, any\n tags you specify in this parameter are ignored. To change the tags of an existing rule,\n use TagResource.

" } } }, @@ -5780,7 +5892,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n\t\t\tCreates a managed Contributor Insights rule \n\t\t\tfor a specified Amazon Web Services resource.\n\t\t\tWhen you enable a managed rule, \n\t\t\tyou create a Contributor Insights rule \n\t\t\tthat collects data \n\t\t\tfrom Amazon Web Services services. \n\t\t\tYou cannot edit these rules \n\t\t\twith PutInsightRule.\n\t\t\tThe rules can be enabled, disabled, and deleted using EnableInsightRules, DisableInsightRules, and DeleteInsightRules.\n\t\t\tIf a previously created managed rule is currently disabled,\n\t\t\ta subsequent call\n\t\t\tto this API will re-enable it.\n\t\t\tUse ListManagedInsightRules \n\t\t\tto describe all available rules. \n\t\t\t\n\t\t

" + "smithy.api#documentation": "

Creates a managed Contributor Insights rule for a specified Amazon Web Services\n resource. When you enable a managed rule, you create a Contributor Insights rule that\n collects data from Amazon Web Services services. You cannot edit these rules with\n PutInsightRule. The rules can be enabled, disabled, and deleted using\n EnableInsightRules, DisableInsightRules, and\n DeleteInsightRules. If a previously created managed rule is currently\n disabled, a subsequent call to this API will re-enable it. Use\n ListManagedInsightRules to describe all available rules.\n \n

" } }, "com.amazonaws.cloudwatch#PutManagedInsightRulesInput": { @@ -5790,7 +5902,7 @@ "target": "com.amazonaws.cloudwatch#ManagedRules", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n\t\t\tA list\n\t\t\tof ManagedRules\n\t\t\tto enable.\n\t\t

", + "smithy.api#documentation": "

A list of ManagedRules to enable.

", "smithy.api#required": {} } } @@ -5805,7 +5917,7 @@ "Failures": { "target": "com.amazonaws.cloudwatch#BatchFailures", "traits": { - "smithy.api#documentation": "

\n\t\t\tAn array \n\t\t\tthat lists the rules \n\t\t\tthat could not be enabled.\n\t\t

" + "smithy.api#documentation": "

An array that lists the rules that could not be enabled.

" } } }, @@ -5827,7 +5939,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates an alarm and associates it with the specified metric, metric math expression, \n\t\t\tanomaly detection model, or Metrics Insights query. For more information about using \n\t\t\ta Metrics Insights query for an alarm, see Create alarms on Metrics Insights queries.

\n

Alarms based on anomaly detection models cannot have Auto Scaling actions.

\n

When this operation creates an alarm, the alarm state is immediately set to\n\t\t\tINSUFFICIENT_DATA. The alarm is then evaluated and its state is set\n\t\t\tappropriately. Any actions associated with the new state are then executed.

\n

When you update an existing alarm, its state is left unchanged, but the\n\t\t\tupdate completely overwrites the previous configuration of the alarm.

\n

If you are an IAM user, you must have \n\t\t\tAmazon EC2 permissions for some alarm operations:

\n \n

The first time you create an alarm in the \n\t\t\tAmazon Web Services Management Console, the CLI, or by using the PutMetricAlarm API, CloudWatch\n\t\t\tcreates the necessary service-linked role for you. The service-linked roles \n\t\t\tare called AWSServiceRoleForCloudWatchEvents and \n\t\t\tAWSServiceRoleForCloudWatchAlarms_ActionSSM.\n\t\t\tFor more information, see Amazon Web Services service-linked role.

\n

Each PutMetricAlarm action has a maximum uncompressed payload of 120 KB.

\n

\n Cross-account alarms\n

\n

You can set an alarm on metrics in the current account, or in another \n\t\t\taccount. To create a cross-account alarm that watches a metric in a different account, you must have completed the following\n\t\t\tpre-requisites:

\n " + "smithy.api#documentation": "

Creates or updates an alarm and associates it with the specified metric, metric\n math expression, anomaly detection model, or Metrics Insights query. For more\n information about using a Metrics Insights query for an alarm, see Create\n alarms on Metrics Insights queries.

\n

Alarms based on anomaly detection models cannot have Auto Scaling actions.

\n

When this operation creates an alarm, the alarm state is immediately set to\n INSUFFICIENT_DATA. The alarm is then evaluated and its state is set\n appropriately. Any actions associated with the new state are then executed.

\n

When you update an existing alarm, its state is left unchanged, but the update\n completely overwrites the previous configuration of the alarm.

\n

If you are an IAM user, you must have Amazon EC2 permissions for\n some alarm operations:

\n \n

The first time you create an alarm in the Amazon Web Services Management Console, the CLI, or by using the PutMetricAlarm API, CloudWatch creates the necessary\n service-linked role for you. The service-linked roles are called\n AWSServiceRoleForCloudWatchEvents and\n AWSServiceRoleForCloudWatchAlarms_ActionSSM. For more information, see\n Amazon Web Services service-linked role.

\n

Each PutMetricAlarm action has a maximum uncompressed payload of 120\n KB.

\n

\n Cross-account alarms\n

\n

You can set an alarm on metrics in the current account, or in another account. To\n create a cross-account alarm that watches a metric in a different account, you must have\n completed the following pre-requisites:

\n " } }, "com.amazonaws.cloudwatch#PutMetricAlarmInput": { @@ -5837,7 +5949,7 @@ "target": "com.amazonaws.cloudwatch#AlarmName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The name for the alarm. This name must be unique within the Region.

\n

The name must contain only UTF-8\n\t\t\tcharacters, and can't contain ASCII control characters

", + "smithy.api#documentation": "

The name for the alarm. This name must be unique within the Region.

\n

The name must contain only UTF-8 characters, and can't contain ASCII control\n characters

", "smithy.api#required": {} } }, @@ -5850,49 +5962,49 @@ "ActionsEnabled": { "target": "com.amazonaws.cloudwatch#ActionsEnabled", "traits": { - "smithy.api#documentation": "

Indicates whether actions should be executed during any changes to the alarm state. The default is \n\t\t\tTRUE.

" + "smithy.api#documentation": "

Indicates whether actions should be executed during any changes to the alarm state.\n The default is TRUE.

" } }, "OKActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to an OK state\n\t\t\tfrom any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:

\n

\n EC2 actions:\n

\n \n

\n Autoscaling action:\n

\n \n

\n Lambda actions:\n

\n \n

\n SNS notification action:\n

\n \n

\n SSM integration actions:\n

\n " + "smithy.api#documentation": "

The actions to execute when this alarm transitions to an OK state from\n any other state. Each action is specified as an Amazon Resource Name (ARN). Valid\n values:

\n

\n EC2 actions:\n

\n \n

\n Autoscaling action:\n

\n \n

\n Lambda actions:\n

\n \n

\n SNS notification action:\n

\n \n

\n SSM integration actions:\n

\n " } }, "AlarmActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to the ALARM state from any other state. \n\t\t\tEach action is specified as an Amazon Resource Name (ARN). Valid values:

\n

\n EC2 actions:\n

\n \n

\n Autoscaling action:\n

\n \n

\n Lambda actions:\n

\n \n

\n SNS notification action:\n

\n \n

\n SSM integration actions:\n

\n " + "smithy.api#documentation": "

The actions to execute when this alarm transitions to the ALARM state\n from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid\n values:

\n

\n EC2 actions:\n

\n \n

\n Autoscaling action:\n

\n \n

\n Lambda actions:\n

\n \n

\n SNS notification action:\n

\n \n

\n SSM integration actions:\n

\n " } }, "InsufficientDataActions": { "target": "com.amazonaws.cloudwatch#ResourceList", "traits": { - "smithy.api#documentation": "

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. \n\t\t\tEach action is specified as an Amazon Resource Name (ARN). Valid values:

\n

\n EC2 actions:\n

\n \n

\n Autoscaling action:\n

\n \n

\n Lambda actions:\n

\n \n

\n SNS notification action:\n

\n \n

\n SSM integration actions:\n

\n " + "smithy.api#documentation": "

The actions to execute when this alarm transitions to the\n INSUFFICIENT_DATA state from any other state. Each action is specified\n as an Amazon Resource Name (ARN). Valid values:

\n

\n EC2 actions:\n

\n \n

\n Autoscaling action:\n

\n \n

\n Lambda actions:\n

\n \n

\n SNS notification action:\n

\n \n

\n SSM integration actions:\n

\n " } }, "MetricName": { "target": "com.amazonaws.cloudwatch#MetricName", "traits": { - "smithy.api#documentation": "

The name for the metric associated with the alarm. For each PutMetricAlarm\n\t\toperation, you must specify either MetricName or a Metrics array.

\n

If you are creating an alarm based on a math expression, you cannot specify this parameter, or any of the \n\t\t\tNamespace, Dimensions, Period,\n\t\t\tUnit, Statistic, or ExtendedStatistic parameters. Instead, you specify \n\t\tall this information in the Metrics array.

" + "smithy.api#documentation": "

The name for the metric associated with the alarm. For each\n PutMetricAlarm operation, you must specify either\n MetricName or a Metrics array.

\n

If you are creating an alarm based on a math expression, you cannot specify this\n parameter, or any of the Namespace, Dimensions,\n Period, Unit, Statistic, or\n ExtendedStatistic parameters. Instead, you specify all this information\n in the Metrics array.

" } }, "Namespace": { "target": "com.amazonaws.cloudwatch#Namespace", "traits": { - "smithy.api#documentation": "

The namespace for the metric associated specified in MetricName.

" + "smithy.api#documentation": "

The namespace for the metric associated specified in\n MetricName.

" } }, "Statistic": { "target": "com.amazonaws.cloudwatch#Statistic", "traits": { - "smithy.api#documentation": "

The statistic for the metric specified in MetricName, other than percentile.\n\t\t For percentile statistics, use ExtendedStatistic. When you call PutMetricAlarm and specify \n\t\t\ta MetricName, you must \n\t\tspecify either Statistic or ExtendedStatistic, but not both.

" + "smithy.api#documentation": "

The statistic for the metric specified in MetricName, other than\n percentile. For percentile statistics, use ExtendedStatistic. When you call\n PutMetricAlarm and specify a MetricName, you must specify\n either Statistic or ExtendedStatistic, but not both.

" } }, "ExtendedStatistic": { "target": "com.amazonaws.cloudwatch#ExtendedStatistic", "traits": { - "smithy.api#documentation": "

The extended statistic for the metric specified in MetricName. When you \n\t\t\tcall PutMetricAlarm and specify \n\t\t\ta MetricName, you must \n\t\t\tspecify either Statistic or ExtendedStatistic but not both.

\n

If you specify ExtendedStatistic, the following are valid values:

\n \n

For more information about these extended statistics, see \n\t\t\tCloudWatch statistics definitions.

" + "smithy.api#documentation": "

The extended statistic for the metric specified in MetricName. When\n you call PutMetricAlarm and specify a MetricName, you must\n specify either Statistic or ExtendedStatistic but not\n both.

\n

If you specify ExtendedStatistic, the following are valid values:

\n \n

For more information about these extended statistics, see CloudWatch statistics definitions.

" } }, "Dimensions": { @@ -5904,71 +6016,71 @@ "Period": { "target": "com.amazonaws.cloudwatch#Period", "traits": { - "smithy.api#documentation": "

The length, in seconds, used each time the metric specified in MetricName is\n\t\t\tevaluated. Valid values are 10, 30, and any multiple of 60.

\n

\n Period is required for alarms based on static thresholds. If \n\t\tyou are creating an alarm based on a metric math expression, you specify the \n\t\tperiod for each metric within the objects in the Metrics array.

\n

Be sure to specify 10 or 30 only for metrics that are stored by a PutMetricData call with a\n\t\t\t\tStorageResolution of 1. If you specify a period of 10 or 30 for a metric that does not have\n\t\t\tsub-minute resolution, the alarm still attempts to gather data at the period rate that you specify. In this case,\n\t\t\tit does not receive data for the attempts that do not correspond to a one-minute data resolution, and the alarm\n\t\t\tmight often lapse into INSUFFICENT_DATA status. Specifying 10 or 30 also sets this alarm as a high-resolution alarm,\n\t\t\twhich has a higher charge than other alarms. For more information about pricing, see Amazon CloudWatch Pricing.

\n

An alarm's total current evaluation period can\n\t\tbe no longer than one day, so Period multiplied by EvaluationPeriods cannot be more than 86,400 seconds.

" + "smithy.api#documentation": "

The length, in seconds, used each time the metric specified in\n MetricName is evaluated. Valid values are 10, 30, and any multiple of\n 60.

\n

\n Period is required for alarms based on static thresholds. If you are\n creating an alarm based on a metric math expression, you specify the period for each\n metric within the objects in the Metrics array.

\n

Be sure to specify 10 or 30 only for metrics that are stored by a\n PutMetricData call with a StorageResolution of 1. If you\n specify a period of 10 or 30 for a metric that does not have sub-minute resolution, the\n alarm still attempts to gather data at the period rate that you specify. In this case,\n it does not receive data for the attempts that do not correspond to a one-minute data\n resolution, and the alarm might often lapse into INSUFFICENT_DATA status. Specifying 10\n or 30 also sets this alarm as a high-resolution alarm, which has a higher charge than\n other alarms. For more information about pricing, see Amazon CloudWatch\n Pricing.

\n

An alarm's total current evaluation period can be no longer than one day, so\n Period multiplied by EvaluationPeriods cannot be more than\n 86,400 seconds.

" } }, "Unit": { "target": "com.amazonaws.cloudwatch#StandardUnit", "traits": { - "smithy.api#documentation": "

The unit of measure for the statistic. For example, the units for the Amazon EC2\n\t\t\tNetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance\n\t\t\treceives on all network interfaces. You can also specify a unit when you create a custom\n\t\t\tmetric. Units help provide conceptual meaning to your data. Metric data points that\n\t\t\tspecify a unit of measure, such as Percent, are aggregated separately.\n\t\t\tIf you are creating an alarm based on a metric math expression, you can specify the unit for each \n\t\t\tmetric (if needed) within the objects in the Metrics array.

\n

If you don't specify Unit, CloudWatch retrieves all unit types that have been published for the\n\t\t\tmetric and attempts to evaluate the alarm.\n\t\t\tUsually, metrics are\n\t\t\tpublished with only one unit, so the alarm\n\t\t\tworks as intended.

\n

However, if the metric is published with multiple types of units and you don't specify a unit, the alarm's\n\t\t\tbehavior is not defined and\n\t\t\tit behaves unpredictably.

\n

We recommend omitting Unit so that you don't inadvertently\n\t\t\tspecify an incorrect unit that is not published for this metric. Doing so \n\t\t\tcauses the alarm to be stuck in the INSUFFICIENT DATA state.

" + "smithy.api#documentation": "

The unit of measure for the statistic. For example, the units for the Amazon EC2\n NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance\n receives on all network interfaces. You can also specify a unit when you create a custom\n metric. Units help provide conceptual meaning to your data. Metric data points that\n specify a unit of measure, such as Percent, are aggregated separately. If you are\n creating an alarm based on a metric math expression, you can specify the unit for each\n metric (if needed) within the objects in the Metrics array.

\n

If you don't specify Unit, CloudWatch retrieves all unit types that\n have been published for the metric and attempts to evaluate the alarm. Usually, metrics\n are published with only one unit, so the alarm works as intended.

\n

However, if the metric is published with multiple types of units and you don't\n specify a unit, the alarm's behavior is not defined and it behaves\n unpredictably.

\n

We recommend omitting Unit so that you don't inadvertently specify an\n incorrect unit that is not published for this metric. Doing so causes the alarm to be\n stuck in the INSUFFICIENT DATA state.

" } }, "EvaluationPeriods": { "target": "com.amazonaws.cloudwatch#EvaluationPeriods", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The number of periods over which data is compared to the specified threshold. If you are\n\t\t\tsetting an alarm that requires that a number of consecutive data points be breaching to\n\t\t\ttrigger the alarm, this value specifies that number. If you are setting an \"M out of N\"\n\t\t\talarm, this value is the N.

\n

An alarm's total current evaluation period can\n\t\t\tbe no longer than one day, so this number multiplied by Period cannot be more than 86,400 seconds.

", + "smithy.api#documentation": "

The number of periods over which data is compared to the specified threshold. If\n you are setting an alarm that requires that a number of consecutive data points be\n breaching to trigger the alarm, this value specifies that number. If you are setting an\n \"M out of N\" alarm, this value is the N.

\n

An alarm's total current evaluation period can be no longer than one day, so this\n number multiplied by Period cannot be more than 86,400 seconds.

", "smithy.api#required": {} } }, "DatapointsToAlarm": { "target": "com.amazonaws.cloudwatch#DatapointsToAlarm", "traits": { - "smithy.api#documentation": "

The number of data points that must be breaching to trigger the alarm. This is used only if you are setting \n\t\t\tan \"M out of N\" alarm. In that case, this value is the M. For more information, see \n\t\t\tEvaluating an Alarm in the\n\t\t\tAmazon CloudWatch User Guide.

" + "smithy.api#documentation": "

The number of data points that must be breaching to trigger the alarm. This is used\n only if you are setting an \"M out of N\" alarm. In that case, this value is the M. For\n more information, see Evaluating an Alarm in the Amazon CloudWatch User\n Guide.

" } }, "Threshold": { "target": "com.amazonaws.cloudwatch#Threshold", "traits": { - "smithy.api#documentation": "

The value against which the specified statistic is compared.

\n

This parameter is required for alarms based on static thresholds, but should\n\t\tnot be used for alarms based on anomaly detection models.

" + "smithy.api#documentation": "

The value against which the specified statistic is compared.

\n

This parameter is required for alarms based on static thresholds, but should not be\n used for alarms based on anomaly detection models.

" } }, "ComparisonOperator": { "target": "com.amazonaws.cloudwatch#ComparisonOperator", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The arithmetic operation to use when comparing the specified statistic and\n\t\t\tthreshold. The specified statistic value is used as the first operand.

\n

The values LessThanLowerOrGreaterThanUpperThreshold, \n\t\t\tLessThanLowerThreshold, and GreaterThanUpperThreshold\n\t\tare used only for alarms based on anomaly detection models.

", + "smithy.api#documentation": "

The arithmetic operation to use when comparing the specified statistic and\n threshold. The specified statistic value is used as the first operand.

\n

The values LessThanLowerOrGreaterThanUpperThreshold,\n LessThanLowerThreshold, and GreaterThanUpperThreshold are\n used only for alarms based on anomaly detection models.

", "smithy.api#required": {} } }, "TreatMissingData": { "target": "com.amazonaws.cloudwatch#TreatMissingData", "traits": { - "smithy.api#documentation": "

Sets how this alarm is to handle missing data points. If TreatMissingData is omitted, the default behavior of missing is used. \n\t\t\tFor more information, see Configuring How CloudWatch \n\t\t\t\tAlarms Treats Missing Data.

\n

Valid Values: breaching | notBreaching | ignore | missing\n

\n \n

Alarms that evaluate metrics in the AWS/DynamoDB namespace always ignore\n\t\t\tmissing data even if you choose a different option for TreatMissingData. When an \n\t\t\tAWS/DynamoDB metric has missing data, alarms that evaluate that metric remain in their current state.

\n
" + "smithy.api#documentation": "

Sets how this alarm is to handle missing data points. If\n TreatMissingData is omitted, the default behavior of\n missing is used. For more information, see Configuring How CloudWatch Alarms Treats Missing Data.

\n

Valid Values: breaching | notBreaching | ignore | missing\n

\n \n

Alarms that evaluate metrics in the AWS/DynamoDB namespace always\n ignore missing data even if you choose a different option for\n TreatMissingData. When an AWS/DynamoDB metric has\n missing data, alarms that evaluate that metric remain in their current state.

\n
" } }, "EvaluateLowSampleCountPercentile": { "target": "com.amazonaws.cloudwatch#EvaluateLowSampleCountPercentile", "traits": { - "smithy.api#documentation": "

Used only for alarms based on percentiles. If you specify ignore, the alarm state does not change during periods with too few data points to be \n\t\t\tstatistically significant. If you specify evaluate or omit this parameter, the alarm is always evaluated and possibly changes state\n\t\t\tno matter how many data points are available. For more information, see Percentile-Based CloudWatch Alarms and Low Data Samples.

\n

Valid Values: evaluate | ignore\n

" + "smithy.api#documentation": "

Used only for alarms based on percentiles. If you specify ignore, the\n alarm state does not change during periods with too few data points to be statistically\n significant. If you specify evaluate or omit this parameter, the alarm is\n always evaluated and possibly changes state no matter how many data points are\n available. For more information, see Percentile-Based CloudWatch Alarms and Low Data Samples.

\n

Valid Values: evaluate | ignore\n

" } }, "Metrics": { "target": "com.amazonaws.cloudwatch#MetricDataQueries", "traits": { - "smithy.api#documentation": "

An array of MetricDataQuery structures that enable you to create an alarm based on the result of a \n\t\t\tmetric math expression. For each PutMetricAlarm\n\t\t\toperation, you must specify either MetricName or a Metrics array.

\n

Each item in the Metrics array either retrieves a metric or performs a math expression.

\n

One item in the Metrics array is the expression that the alarm watches. You designate this expression \n\t\t\tby setting ReturnData to true for this object in the array. For more information, see MetricDataQuery.

\n

If you use the Metrics parameter, you cannot include the \n\t\t\tNamespace, MetricName, Dimensions, Period,\n\t\t\tUnit, Statistic, or ExtendedStatistic parameters of PutMetricAlarm in the same operation. \n\t\t\tInstead, you retrieve\n\t\tthe metrics you are using in your math expression as part of the Metrics array.

" + "smithy.api#documentation": "

An array of MetricDataQuery structures that enable you to create an alarm\n based on the result of a metric math expression. For each PutMetricAlarm\n operation, you must specify either MetricName or a Metrics\n array.

\n

Each item in the Metrics array either retrieves a metric or performs a\n math expression.

\n

One item in the Metrics array is the expression that the alarm watches.\n You designate this expression by setting ReturnData to true for this object\n in the array. For more information, see MetricDataQuery.

\n

If you use the Metrics parameter, you cannot include the\n Namespace, MetricName, Dimensions,\n Period, Unit, Statistic, or\n ExtendedStatistic parameters of PutMetricAlarm in the same\n operation. Instead, you retrieve the metrics you are using in your math expression as\n part of the Metrics array.

" } }, "Tags": { "target": "com.amazonaws.cloudwatch#TagList", "traits": { - "smithy.api#documentation": "

A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm.\n\t\tTo be able to associate tags with the alarm when you create the alarm, you must\n\t\thave the cloudwatch:TagResource permission.

\n

Tags can help you organize and categorize your resources. You can also use them to scope user\n\t\t\tpermissions by granting a user\n\t\t\tpermission to access or change only resources with certain tag values.

\n

If you are using this operation to update an existing alarm, any tags\n\t\t\tyou specify in this parameter are ignored. To change the tags of an existing alarm, use\n\t\t\tTagResource\n\t\t\tor UntagResource.

" + "smithy.api#documentation": "

A list of key-value pairs to associate with the alarm. You can associate as many as\n 50 tags with an alarm. To be able to associate tags with the alarm when you create the\n alarm, you must have the cloudwatch:TagResource permission.

\n

Tags can help you organize and categorize your resources. You can also use them to\n scope user permissions by granting a user permission to access or change only resources\n with certain tag values.

\n

If you are using this operation to update an existing alarm, any tags you specify in\n this parameter are ignored. To change the tags of an existing alarm, use TagResource or UntagResource.

\n

To use this field to set tags for an alarm when you create it, you must be signed on\n with both the cloudwatch:PutMetricAlarm and\n cloudwatch:TagResource permissions.

" } }, "ThresholdMetricId": { "target": "com.amazonaws.cloudwatch#MetricId", "traits": { - "smithy.api#documentation": "

If this is an alarm based on an anomaly detection model, make this value match\n\t\t\tthe ID of\n\t\t\tthe ANOMALY_DETECTION_BAND function.

\n

For an example of how to use this parameter, see the \n\t\t\tAnomaly Detection\n\t\tModel Alarm example on this page.

\n

If your alarm uses this parameter, it cannot have Auto Scaling actions.

" + "smithy.api#documentation": "

If this is an alarm based on an anomaly detection model, make this value match the ID\n of the ANOMALY_DETECTION_BAND function.

\n

For an example of how to use this parameter, see the Anomaly\n Detection Model Alarm example on this page.

\n

If your alarm uses this parameter, it cannot have Auto Scaling actions.

" } } }, @@ -5999,7 +6111,7 @@ } ], "traits": { - "smithy.api#documentation": "

Publishes metric data points to Amazon CloudWatch. CloudWatch associates\n\t\t\tthe data points with the specified metric. If the specified metric does not exist,\n\t\t\tCloudWatch creates the metric. When CloudWatch creates a metric, it can\n\t\t\ttake up to fifteen minutes for the metric to appear in calls to ListMetrics.

\n

You can publish either individual data points in the Value field, or \n\t\tarrays of values and the number of times each value occurred during the period by using the \n\t\tValues and Counts fields in the MetricData structure. Using\n\t\tthe Values and Counts method enables you to publish up to 150 values per metric\n\t\t\twith one PutMetricData request, and\n\t\tsupports retrieving percentile statistics on this data.

\n

Each PutMetricData request is limited to 1 MB in size for HTTP POST requests. You can \n\t\t\tsend a payload compressed by gzip. Each request\n\t\tis also limited to no more than 1000 different metrics.

\n

Although the Value parameter accepts numbers of type\n\t\t\tDouble, CloudWatch rejects values that are either too small\n\t\t\tor too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,\n\t\t\t-Infinity) are not supported.

\n

You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension\n\t\t\tconsists of a Name and Value pair. For more information about specifying dimensions, see Publishing Metrics in the\n\t\t\tAmazon CloudWatch User Guide.

\n

You specify the time stamp to be associated with each data point. You can specify\n\t\ttime stamps that are as much as two weeks before the current date, and as much as 2 hours after \n\t\tthe current day and time.

\n

Data points with time stamps from 24 hours ago or longer can take at least 48\n\t\t\thours to become available for GetMetricData or \n\t\t\tGetMetricStatistics from the time they \n\t\t\tare submitted. Data points with time stamps between 3 and 24 hours ago can take as much as 2 hours to become available\n\t\t\tfor for GetMetricData or \n\t\t\tGetMetricStatistics.

\n

CloudWatch needs raw data points to calculate percentile statistics. If you publish \n\t\t\tdata using a statistic set instead, you can only retrieve \n\t\t\tpercentile statistics for this data if one of the following conditions is true:

\n ", + "smithy.api#documentation": "

Publishes metric data to Amazon CloudWatch. CloudWatch associates the data with the\n specified metric. If the specified metric does not exist, CloudWatch creates the metric.\n When CloudWatch creates a metric, it can take up to fifteen minutes for the metric to\n appear in calls to ListMetrics.

\n

You can publish metrics with associated entity data (so that related telemetry can be\n found and viewed together), or publish metric data by itself. To send entity data with\n your metrics, use the EntityMetricData parameter. To send metrics without\n entity data, use the MetricData parameter. The\n EntityMetricData structure includes MetricData structures\n for the metric data.

\n

You can publish either individual values in the Value field, or arrays of\n values and the number of times each value occurred during the period by using the\n Values and Counts fields in the MetricData\n structure. Using the Values and Counts method enables you to\n publish up to 150 values per metric with one PutMetricData request, and\n supports retrieving percentile statistics on this data.

\n

Each PutMetricData request is limited to 1 MB in size for HTTP POST\n requests. You can send a payload compressed by gzip. Each request is also limited to no\n more than 1000 different metrics (across both the MetricData and \n EntityMetricData properties).

\n

Although the Value parameter accepts numbers of type Double,\n CloudWatch rejects values that are either too small or too large. Values must be in the\n range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,\n -Infinity) are not supported.

\n

You can use up to 30 dimensions per metric to further clarify what data the metric\n collects. Each dimension consists of a Name and Value pair. For more information about\n specifying dimensions, see Publishing\n Metrics in the Amazon CloudWatch User Guide.

\n

You specify the time stamp to be associated with each data point. You can specify time\n stamps that are as much as two weeks before the current date, and as much as 2 hours\n after the current day and time.

\n

Data points with time stamps from 24 hours ago or longer can take at least 48 hours to\n become available for GetMetricData or GetMetricStatistics from the time they are submitted. Data points with time\n stamps between 3 and 24 hours ago can take as much as 2 hours to become available for\n GetMetricData or GetMetricStatistics.

\n

CloudWatch needs raw data points to calculate percentile statistics. If you publish\n data using a statistic set instead, you can only retrieve percentile statistics for this\n data if one of the following conditions is true:

\n ", "smithy.api#requestCompression": { "encodings": [ "gzip" @@ -6014,16 +6126,26 @@ "target": "com.amazonaws.cloudwatch#Namespace", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The namespace for the metric data. You can use ASCII characters for the namespace, except for\n\t\tcontrol characters which are not supported.

\n

To avoid conflicts\n\t\t\twith Amazon Web Services service namespaces, you should not specify a namespace that begins with AWS/\n

", + "smithy.api#documentation": "

The namespace for the metric data. You can use ASCII characters for the namespace,\n except for control characters which are not supported.

\n

To avoid conflicts with Amazon Web Services service namespaces, you should not\n specify a namespace that begins with AWS/\n

", "smithy.api#required": {} } }, "MetricData": { "target": "com.amazonaws.cloudwatch#MetricData", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The data for the metric. The array can include no more than 1000 metrics per call.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The data for the metrics. Use this parameter if your metrics do not contain\n associated entities. The array can include no more than 1000 metrics per call.

\n

The limit of metrics allowed, 1000, is the sum of both EntityMetricData \n and MetricData metrics.

" + } + }, + "EntityMetricData": { + "target": "com.amazonaws.cloudwatch#EntityMetricDataList", + "traits": { + "smithy.api#documentation": "

Data for metrics that contain associated entity information. You can include up to \n two EntityMetricData objects, each of which can contain a single \n Entity and associated metrics.

\n

The limit of metrics allowed, 1000, is the sum of both EntityMetricData \n and MetricData metrics.

" + } + }, + "StrictEntityValidation": { + "target": "com.amazonaws.cloudwatch#StrictEntityValidation", + "traits": { + "smithy.api#documentation": "

Whether to accept valid metric data when an invalid entity is sent.

\n \n

This parameter is required when EntityMetricData is\n included.

" } } }, @@ -6057,7 +6179,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates a metric stream. Metric streams can automatically stream CloudWatch\n\t\t\tmetrics to Amazon Web Services destinations, including Amazon S3, and to many third-party\n\t\t\tsolutions.

\n

For more information, see \n\t\tUsing Metric Streams.

\n

To create a metric stream, you must be signed in to an account that has the\n\t\t\t\tiam:PassRole permission and either the\n\t\t\t\tCloudWatchFullAccess policy or the\n\t\t\t\tcloudwatch:PutMetricStream permission.

\n

When you create or update a metric stream, you choose one of the following:

\n \n

By default, a metric stream always sends the MAX, MIN,\n\t\t\t\tSUM, and SAMPLECOUNT statistics for each metric that is\n\t\t\tstreamed. You can use the StatisticsConfigurations parameter to have the\n\t\t\tmetric stream send additional statistics in the stream. Streaming additional statistics\n\t\t\tincurs additional costs. For more information, see Amazon CloudWatch Pricing.

\n

When you use PutMetricStream to create a new metric stream, the stream \n\t\tis created in the running state. If you use it to update an existing stream, \n\t\tthe state of the stream is not changed.

\n

If you are using CloudWatch cross-account observability and you create a metric stream in a monitoring account,\n\t\t\tyou can choose whether to include metrics from source accounts in the stream. For more information, see \n\t\t\tCloudWatch cross-account observability.

" + "smithy.api#documentation": "

Creates or updates a metric stream. Metric streams can automatically stream CloudWatch\n metrics to Amazon Web Services destinations, including Amazon S3, and to many third-party\n solutions.

\n

For more information, see Using\n Metric Streams.

\n

To create a metric stream, you must be signed in to an account that has the\n iam:PassRole permission and either the\n CloudWatchFullAccess policy or the\n cloudwatch:PutMetricStream permission.

\n

When you create or update a metric stream, you choose one of the following:

\n \n

By default, a metric stream always sends the MAX, MIN,\n SUM, and SAMPLECOUNT statistics for each metric that is\n streamed. You can use the StatisticsConfigurations parameter to have the\n metric stream send additional statistics in the stream. Streaming additional statistics\n incurs additional costs. For more information, see Amazon CloudWatch Pricing.

\n

When you use PutMetricStream to create a new metric stream, the stream is\n created in the running state. If you use it to update an existing stream,\n the state of the stream is not changed.

\n

If you are using CloudWatch cross-account observability and you create a metric\n stream in a monitoring account, you can choose whether to include metrics from source\n accounts in the stream. For more information, see CloudWatch cross-account observability.

" } }, "com.amazonaws.cloudwatch#PutMetricStreamInput": { @@ -6067,27 +6189,27 @@ "target": "com.amazonaws.cloudwatch#MetricStreamName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

If you are creating a new metric stream, this is the name for the new stream. The name\n\t\tmust be different than the names of other metric streams in this account and Region.

\n

If you are updating a metric stream, specify the name of that stream here.

\n

Valid characters are A-Z, a-z, 0-9, \"-\" and \"_\".

", + "smithy.api#documentation": "

If you are creating a new metric stream, this is the name for the new stream. The name\n must be different than the names of other metric streams in this account and\n Region.

\n

If you are updating a metric stream, specify the name of that stream here.

\n

Valid characters are A-Z, a-z, 0-9, \"-\" and \"_\".

", "smithy.api#required": {} } }, "IncludeFilters": { "target": "com.amazonaws.cloudwatch#MetricStreamFilters", "traits": { - "smithy.api#documentation": "

If you specify this parameter, the stream sends only the \n\t\tmetrics from the metric namespaces that you specify here.

\n

You cannot include IncludeFilters and ExcludeFilters\n\t\tin the same operation.

" + "smithy.api#documentation": "

If you specify this parameter, the stream sends only the metrics from the metric\n namespaces that you specify here.

\n

You cannot include IncludeFilters and ExcludeFilters in the\n same operation.

" } }, "ExcludeFilters": { "target": "com.amazonaws.cloudwatch#MetricStreamFilters", "traits": { - "smithy.api#documentation": "

If you specify this parameter, the stream sends metrics from all\n\t\t\tmetric namespaces except for the namespaces that you specify here.

\n

You cannot include ExcludeFilters and IncludeFilters in \n\t\t\tthe same operation.

" + "smithy.api#documentation": "

If you specify this parameter, the stream sends metrics from all metric namespaces\n except for the namespaces that you specify here.

\n

You cannot include ExcludeFilters and IncludeFilters in the\n same operation.

" } }, "FirehoseArn": { "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The ARN of the Amazon Kinesis Data Firehose delivery stream to use for this metric stream.\n\t\t\tThis Amazon Kinesis Data Firehose delivery stream must already exist and must be in the\n\t\t\tsame account as the metric stream.

", + "smithy.api#documentation": "

The ARN of the Amazon Kinesis Data Firehose delivery stream to use for this metric\n stream. This Amazon Kinesis Data Firehose delivery stream must already exist and must be\n in the same account as the metric stream.

", "smithy.api#required": {} } }, @@ -6095,7 +6217,7 @@ "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Data\n\t\t\tFirehose resources. This IAM role must already exist and must be in the same account as\n\t\t\tthe metric stream. This IAM role must include the following permissions:

\n ", + "smithy.api#documentation": "

The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Data\n Firehose resources. This IAM role must already exist and must be in the same account as\n the metric stream. This IAM role must include the following permissions:

\n ", "smithy.api#required": {} } }, @@ -6103,26 +6225,26 @@ "target": "com.amazonaws.cloudwatch#MetricStreamOutputFormat", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The output format for the stream. Valid values are json, opentelemetry1.0, \n\t\t\tand opentelemetry0.7. For more information about metric stream\n\t\toutput formats, see \n\t\t\t\n\t\t\t\tMetric streams output formats.

", + "smithy.api#documentation": "

The output format for the stream. Valid values are json,\n opentelemetry1.0, and opentelemetry0.7. For more\n information about metric stream output formats, see \n Metric streams output formats.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.cloudwatch#TagList", "traits": { - "smithy.api#documentation": "

A list of key-value pairs to associate with the metric stream. You can associate as \n\t\t\tmany as 50 tags with a metric stream.

\n

Tags can help you organize and categorize your resources. You can also use them to scope user\n\t\t\tpermissions by granting a user\n\t\t\tpermission to access or change only resources with certain tag values.

\n

You can use this parameter only when you are creating a new metric stream. If you are using this operation to update an existing metric stream, any tags\n\t\t\tyou specify in this parameter are ignored. To change the tags of an existing metric stream, use\n\t\t\tTagResource\n\t\t\tor UntagResource.

" + "smithy.api#documentation": "

A list of key-value pairs to associate with the metric stream. You can associate as\n many as 50 tags with a metric stream.

\n

Tags can help you organize and categorize your resources. You can also use them to\n scope user permissions by granting a user permission to access or change only resources\n with certain tag values.

\n

You can use this parameter only when you are creating a new metric stream. If you are\n using this operation to update an existing metric stream, any tags you specify in this\n parameter are ignored. To change the tags of an existing metric stream, use TagResource or UntagResource.

" } }, "StatisticsConfigurations": { "target": "com.amazonaws.cloudwatch#MetricStreamStatisticsConfigurations", "traits": { - "smithy.api#documentation": "

By default, a metric stream always sends the MAX, MIN, SUM, \n\t\t\tand SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have \n\t\t\tthe metric stream also send additional statistics in the stream. This \n\t\t\tarray can have up to 100 members.

\n

For each entry in this array, you specify one or more metrics and the list of additional\n\t\t\tstatistics to stream for those metrics. The additional statistics that you can stream\n\t\t\tdepend on the stream's OutputFormat. If the OutputFormat is\n\t\t\t\tjson, you can stream any additional statistic that is supported by\n\t\t\t\tCloudWatch, listed in \n\t\t\t\tCloudWatch statistics definitions. If the OutputFormat\n\t\t\tis opentelemetry1.0 or opentelemetry0.7, you can stream percentile statistics such as p95,\n\t\t\tp99.9, and so on.

" + "smithy.api#documentation": "

By default, a metric stream always sends the MAX, MIN,\n SUM, and SAMPLECOUNT statistics for each metric that is\n streamed. You can use this parameter to have the metric stream also send additional\n statistics in the stream. This array can have up to 100 members.

\n

For each entry in this array, you specify one or more metrics and the list of\n additional statistics to stream for those metrics. The additional statistics that you\n can stream depend on the stream's OutputFormat. If the\n OutputFormat is json, you can stream any additional\n statistic that is supported by CloudWatch, listed in \n CloudWatch statistics definitions. If the OutputFormat\n is opentelemetry1.0 or opentelemetry0.7, you can stream\n percentile statistics such as p95, p99.9, and so on.

" } }, "IncludeLinkedAccountsMetrics": { "target": "com.amazonaws.cloudwatch#IncludeLinkedAccountsMetrics", "traits": { - "smithy.api#documentation": "

If you are creating a metric stream in a monitoring account, \n\t\t\tspecify true to include metrics from source accounts in the metric stream.

" + "smithy.api#documentation": "

If you are creating a metric stream in a monitoring account, specify true\n to include metrics from source accounts in the metric stream.

" } } }, @@ -6151,7 +6273,7 @@ "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The start time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss. For example, \n\t\t\t2019-07-01T23:59:59.

", + "smithy.api#documentation": "

The start time of the range to exclude. The format is\n yyyy-MM-dd'T'HH:mm:ss. For example,\n 2019-07-01T23:59:59.

", "smithy.api#required": {} } }, @@ -6159,13 +6281,13 @@ "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The end time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss. For example, \n\t\t\t2019-07-01T23:59:59.

", + "smithy.api#documentation": "

The end time of the range to exclude. The format is\n yyyy-MM-dd'T'HH:mm:ss. For example,\n 2019-07-01T23:59:59.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Specifies one range of days or times to exclude from use for training an\n\t\tanomaly detection model.

" + "smithy.api#documentation": "

Specifies one range of days or times to exclude from use for training an anomaly\n detection model.

" } }, "com.amazonaws.cloudwatch#RecentlyActive": { @@ -6286,7 +6408,7 @@ } ], "traits": { - "smithy.api#documentation": "

Temporarily sets the state of an alarm for testing purposes. When the updated\n\t\t\tstate differs from the previous value, the action configured for\n\t\t\tthe appropriate state is invoked. For example, if your alarm is configured to send an\n\t\t\tAmazon SNS message when an alarm is triggered, temporarily changing the alarm state to\n\t\t\tALARM sends an SNS message.

\n

Metric alarms\n\t\t\treturns to their actual state quickly, often within seconds. Because the metric alarm state change\n\t\t\thappens quickly, it is typically only visible in the alarm's History tab in the Amazon CloudWatch console or through\n\t\t\tDescribeAlarmHistory.

\n

If you use SetAlarmState on a composite alarm, the composite alarm is not guaranteed to return\n\t\t\tto its actual state. It\n\t\t\treturns to its actual state only once any of its children alarms change state. It is also\n\t\t\treevaluated if you update its\n\t\t\tconfiguration.

\n

If an alarm triggers EC2 Auto Scaling policies or application Auto Scaling policies, you must include\n\t\tinformation in the StateReasonData parameter to enable the policy to take the correct action.

" + "smithy.api#documentation": "

Temporarily sets the state of an alarm for testing purposes. When the updated state\n differs from the previous value, the action configured for the appropriate state is\n invoked. For example, if your alarm is configured to send an Amazon SNS message when an\n alarm is triggered, temporarily changing the alarm state to ALARM sends an\n SNS message.

\n

Metric alarms returns to their actual state quickly, often within seconds. Because\n the metric alarm state change happens quickly, it is typically only visible in the\n alarm's History tab in the Amazon CloudWatch console or\n through DescribeAlarmHistory.

\n

If you use SetAlarmState on a composite alarm, the composite alarm is\n not guaranteed to return to its actual state. It returns to its actual state only once\n any of its children alarms change state. It is also reevaluated if you update its\n configuration.

\n

If an alarm triggers EC2 Auto Scaling policies or application Auto Scaling\n policies, you must include information in the StateReasonData parameter to\n enable the policy to take the correct action.

" } }, "com.amazonaws.cloudwatch#SetAlarmStateInput": { @@ -6319,7 +6441,7 @@ "StateReasonData": { "target": "com.amazonaws.cloudwatch#StateReasonData", "traits": { - "smithy.api#documentation": "

The reason that this alarm is set to this specific state, in JSON format.

\n

For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling\n\t\talarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

" + "smithy.api#documentation": "

The reason that this alarm is set to this specific state, in JSON format.

\n

For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling\n or application Auto Scaling alarm actions, the Auto Scaling policy uses the information\n in this field to take the correct action.

" } } }, @@ -6333,7 +6455,7 @@ "AccountId": { "target": "com.amazonaws.cloudwatch#AccountId", "traits": { - "smithy.api#documentation": "

If the CloudWatch metric that provides the time series that the anomaly detector\n\t\t\tuses as input is in another account, specify that account ID here. If you omit this parameter,\n\t\tthe current account is used.

" + "smithy.api#documentation": "

If the CloudWatch metric that provides the time series that the anomaly\n detector uses as input is in another account, specify that account ID here. If you omit\n this parameter, the current account is used.

" } }, "Namespace": { @@ -6362,7 +6484,7 @@ } }, "traits": { - "smithy.api#documentation": "

Designates the CloudWatch metric and statistic that provides the time series the anomaly detector\n\t\t\tuses as input. If you have enabled unified cross-account observability, and this account is a monitoring\n\t\taccount, the metric can be in the same account or a source account.

" + "smithy.api#documentation": "

Designates the CloudWatch metric and statistic that provides the time series the\n anomaly detector uses as input. If you have enabled unified cross-account observability,\n and this account is a monitoring account, the metric can be in the same account or a\n source account.

" } }, "com.amazonaws.cloudwatch#Size": { @@ -6565,7 +6687,7 @@ "target": "com.amazonaws.cloudwatch#MetricStreamNames", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The array of the names of metric streams to start streaming.

\n

This is an \"all or nothing\" operation. If you do not have \n\t\tpermission to access all of the metric streams that you list here, then none of the streams that you list\n\t\tin the operation will start streaming.

", + "smithy.api#documentation": "

The array of the names of metric streams to start streaming.

\n

This is an \"all or nothing\" operation. If you do not have permission to access all of\n the metric streams that you list here, then none of the streams that you list in the\n operation will start streaming.

", "smithy.api#required": {} } } @@ -6771,7 +6893,7 @@ "target": "com.amazonaws.cloudwatch#MetricStreamNames", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The array of the names of metric streams to stop streaming.

\n

This is an \"all or nothing\" operation. If you do not have \n\t\t\tpermission to access all of the metric streams that you list here, then none of the streams that you list\n\t\t\tin the operation will stop streaming.

", + "smithy.api#documentation": "

The array of the names of metric streams to stop streaming.

\n

This is an \"all or nothing\" operation. If you do not have permission to access all of\n the metric streams that you list here, then none of the streams that you list in the\n operation will stop streaming.

", "smithy.api#required": {} } } @@ -6795,6 +6917,9 @@ } } }, + "com.amazonaws.cloudwatch#StrictEntityValidation": { + "type": "boolean" + }, "com.amazonaws.cloudwatch#SuppressorPeriod": { "type": "integer" }, @@ -6805,7 +6930,7 @@ "target": "com.amazonaws.cloudwatch#TagKey", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your \n\t\tresources.

", + "smithy.api#documentation": "

A string that you can use to assign a value. The combination of tag keys and values\n can help you organize and categorize your resources.

", "smithy.api#required": {} } }, @@ -6866,7 +6991,7 @@ } ], "traits": { - "smithy.api#documentation": "

Assigns one or more tags (key-value pairs) to the specified CloudWatch resource. Currently, the only CloudWatch resources that \n\t\t\tcan be tagged are alarms and Contributor Insights rules.

\n

Tags can help you organize and categorize your resources. You can also use them to scope user\n\t\t\tpermissions by granting a user\n\t\t\tpermission to access or change only resources with certain tag values.

\n

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

\n

You can use the TagResource action with an alarm that already has tags. If you specify a new tag key for the alarm, \n\t\t\tthis tag is appended to the list of tags associated\n\t\t\twith the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces\n\t\t\tthe previous value for that tag.

\n

You can associate as many as 50 tags with a CloudWatch resource.

" + "smithy.api#documentation": "

Assigns one or more tags (key-value pairs) to the specified CloudWatch resource.\n Currently, the only CloudWatch resources that can be tagged are alarms and Contributor\n Insights rules.

\n

Tags can help you organize and categorize your resources. You can also use them to\n scope user permissions by granting a user permission to access or change only resources\n with certain tag values.

\n

Tags don't have any semantic meaning to Amazon Web Services and are interpreted\n strictly as strings of characters.

\n

You can use the TagResource action with an alarm that already has tags.\n If you specify a new tag key for the alarm, this tag is appended to the list of tags\n associated with the alarm. If you specify a tag key that is already associated with the\n alarm, the new tag value that you specify replaces the previous value for that\n tag.

\n

You can associate as many as 50 tags with a CloudWatch resource.

" } }, "com.amazonaws.cloudwatch#TagResourceInput": { @@ -6876,7 +7001,7 @@ "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The ARN of the CloudWatch resource that you're adding tags to.

\n

The ARN format of an alarm is \n\t\t\tarn:aws:cloudwatch:Region:account-id:alarm:alarm-name\n \n

\n

The ARN format of a Contributor Insights rule is \n\t\t\tarn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name\n \n

\n

For more information about ARN format, see Resource\n\t\t\t\tTypes Defined by Amazon CloudWatch in the Amazon Web Services General\n\t\t\tReference.

", + "smithy.api#documentation": "

The ARN of the CloudWatch resource that you're adding tags to.

\n

The ARN format of an alarm is\n arn:aws:cloudwatch:Region:account-id:alarm:alarm-name\n \n

\n

The ARN format of a Contributor Insights rule is\n arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name\n \n

\n

For more information about ARN format, see Resource Types Defined by Amazon CloudWatch in the Amazon Web\n Services General Reference.

", "smithy.api#required": {} } }, @@ -6973,7 +7098,7 @@ "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The ARN of the CloudWatch resource that you're removing tags from.

\n

The ARN format of an alarm is \n\t\t\tarn:aws:cloudwatch:Region:account-id:alarm:alarm-name\n \n

\n

The ARN format of a Contributor Insights rule is \n\t\t\tarn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name\n \n

\n

For more information about ARN format, see Resource\n\t\t\t\tTypes Defined by Amazon CloudWatch in the Amazon Web Services General\n\t\t\tReference.

", + "smithy.api#documentation": "

The ARN of the CloudWatch resource that you're removing tags from.

\n

The ARN format of an alarm is\n arn:aws:cloudwatch:Region:account-id:alarm:alarm-name\n \n

\n

The ARN format of a Contributor Insights rule is\n arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name\n \n

\n

For more information about ARN format, see Resource Types Defined by Amazon CloudWatch in the Amazon Web\n Services General Reference.

", "smithy.api#required": {} } }, diff --git a/codegen/sdk-codegen/aws-models/connectcampaignsv2.json b/codegen/sdk-codegen/aws-models/connectcampaignsv2.json new file mode 100644 index 00000000000..b123f2db0e7 --- /dev/null +++ b/codegen/sdk-codegen/aws-models/connectcampaignsv2.json @@ -0,0 +1,4778 @@ +{ + "smithy": "2.0", + "shapes": { + "com.amazonaws.connectcampaignsv2#AccessDeniedException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "xAmzErrorType": { + "target": "com.amazonaws.connectcampaignsv2#XAmazonErrorType", + "traits": { + "smithy.api#httpHeader": "x-amzn-ErrorType" + } + } + }, + "traits": { + "smithy.api#documentation": "You do not have sufficient access to perform this action.", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.connectcampaignsv2#AgentlessConfig": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "Agentless config" + } + }, + "com.amazonaws.connectcampaignsv2#AmazonConnectCampaignServiceV2": { + "type": "service", + "version": "2024-04-23", + "operations": [ + { + "target": "com.amazonaws.connectcampaignsv2#CreateCampaign" + }, + { + "target": "com.amazonaws.connectcampaignsv2#DeleteCampaign" + }, + { + "target": "com.amazonaws.connectcampaignsv2#DeleteCampaignChannelSubtypeConfig" + }, + { + "target": "com.amazonaws.connectcampaignsv2#DeleteCampaignCommunicationLimits" + }, + { + "target": "com.amazonaws.connectcampaignsv2#DeleteCampaignCommunicationTime" + }, + { + "target": "com.amazonaws.connectcampaignsv2#DeleteConnectInstanceConfig" + }, + { + "target": "com.amazonaws.connectcampaignsv2#DeleteConnectInstanceIntegration" + }, + { + "target": "com.amazonaws.connectcampaignsv2#DeleteInstanceOnboardingJob" + }, + { + "target": "com.amazonaws.connectcampaignsv2#DescribeCampaign" + }, + { + "target": "com.amazonaws.connectcampaignsv2#GetCampaignState" + }, + { + "target": "com.amazonaws.connectcampaignsv2#GetCampaignStateBatch" + }, + { + "target": "com.amazonaws.connectcampaignsv2#GetConnectInstanceConfig" + }, + { + "target": "com.amazonaws.connectcampaignsv2#GetInstanceOnboardingJobStatus" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ListCampaigns" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ListConnectInstanceIntegrations" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ListTagsForResource" + }, + { + "target": "com.amazonaws.connectcampaignsv2#PauseCampaign" + }, + { + "target": "com.amazonaws.connectcampaignsv2#PutConnectInstanceIntegration" + }, + { + "target": "com.amazonaws.connectcampaignsv2#PutOutboundRequestBatch" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResumeCampaign" + }, + { + "target": "com.amazonaws.connectcampaignsv2#StartCampaign" + }, + { + "target": "com.amazonaws.connectcampaignsv2#StartInstanceOnboardingJob" + }, + { + "target": "com.amazonaws.connectcampaignsv2#StopCampaign" + }, + { + "target": "com.amazonaws.connectcampaignsv2#TagResource" + }, + { + "target": "com.amazonaws.connectcampaignsv2#UntagResource" + }, + { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignChannelSubtypeConfig" + }, + { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignCommunicationLimits" + }, + { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignCommunicationTime" + }, + { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignFlowAssociation" + }, + { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignName" + }, + { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignSchedule" + }, + { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignSource" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "ConnectCampaignsV2", + "arnNamespace": "connect-campaigns", + "cloudTrailEventSource": "connect-campaigns.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "connect-campaigns" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "origin": "*", + "additionalAllowedHeaders": [ + "*", + "Authorization", + "Date", + "X-Amz-Date", + "X-Amz-Security-Token", + "X-Amz-Target", + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-platform-id", + "x-amzn-trace-id" + ], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-errormessage", + "x-amzn-trace-id", + "x-amz-apigw-id", + "date" + ], + "maxAge": 86400 + }, + "smithy.api#documentation": "Provide APIs to create and manage Amazon Connect Campaigns.", + "smithy.api#title": "AmazonConnectCampaignServiceV2", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ], + "type": "tree" + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://connect-campaigns.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" + } + } + }, + "com.amazonaws.connectcampaignsv2#AnswerMachineDetectionConfig": { + "type": "structure", + "members": { + "enableAnswerMachineDetection": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "Enable or disable answering machine detection", + "smithy.api#required": {} + } + }, + "awaitAnswerMachinePrompt": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "Enable or disable await answer machine prompt" + } + } + }, + "traits": { + "smithy.api#documentation": "Answering Machine Detection config" + } + }, + "com.amazonaws.connectcampaignsv2#Arn": { + "type": "string", + "traits": { + "smithy.api#documentation": "Amazon Resource Names(ARN)", + "smithy.api#length": { + "min": 20, + "max": 500 + }, + "smithy.api#pattern": "^arn:[a-zA-Z0-9-]+:[a-zA-Z0-9-]+:[a-z]{2}-[a-z]+-\\d{1,2}:[a-zA-Z0-9-]+:[^:]+(?:/[^:]+)*(?:/[^:]+)?(?:\\:[^:]+)?$" + } + }, + "com.amazonaws.connectcampaignsv2#AttributeName": { + "type": "string", + "traits": { + "smithy.api#documentation": "The key of the attribute. Attribute keys can include only alphanumeric, dash, and underscore characters.", + "smithy.api#length": { + "min": 0, + "max": 32767 + }, + "smithy.api#pattern": "^[a-zA-Z0-9\\-_]+$" + } + }, + "com.amazonaws.connectcampaignsv2#AttributeValue": { + "type": "string", + "traits": { + "smithy.api#documentation": "The value of the attribute.", + "smithy.api#length": { + "min": 0, + "max": 32767 + }, + "smithy.api#pattern": "^.*$" + } + }, + "com.amazonaws.connectcampaignsv2#Attributes": { + "type": "map", + "key": { + "target": "com.amazonaws.connectcampaignsv2#AttributeName" + }, + "value": { + "target": "com.amazonaws.connectcampaignsv2#AttributeValue" + }, + "traits": { + "smithy.api#documentation": "A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.connectcampaignsv2#BandwidthAllocation": { + "type": "double", + "traits": { + "smithy.api#documentation": "The bandwidth allocation of a queue resource.", + "smithy.api#range": { + "min": 0, + "max": 1 + } + } + }, + "com.amazonaws.connectcampaignsv2#Campaign": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#required": {} + } + }, + "arn": { + "target": "com.amazonaws.connectcampaignsv2#CampaignArn", + "traits": { + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcampaignsv2#CampaignName", + "traits": { + "smithy.api#required": {} + } + }, + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#required": {} + } + }, + "channelSubtypeConfig": { + "target": "com.amazonaws.connectcampaignsv2#ChannelSubtypeConfig", + "traits": { + "smithy.api#required": {} + } + }, + "source": { + "target": "com.amazonaws.connectcampaignsv2#Source" + }, + "connectCampaignFlowArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn" + }, + "schedule": { + "target": "com.amazonaws.connectcampaignsv2#Schedule" + }, + "communicationTimeConfig": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationTimeConfig" + }, + "communicationLimitsOverride": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationLimitsConfig" + }, + "tags": { + "target": "com.amazonaws.connectcampaignsv2#TagMap" + } + }, + "traits": { + "smithy.api#documentation": "An Amazon Connect campaign." + } + }, + "com.amazonaws.connectcampaignsv2#CampaignArn": { + "type": "string", + "traits": { + "smithy.api#documentation": "The resource name of an Amazon Connect campaign.", + "smithy.api#length": { + "min": 20, + "max": 500 + } + } + }, + "com.amazonaws.connectcampaignsv2#CampaignDeletionPolicy": { + "type": "string", + "traits": { + "smithy.api#documentation": "Enumeration of the policies to enact on existing campaigns during instance config deletion", + "smithy.api#enum": [ + { + "value": "RETAIN_ALL", + "name": "RETAIN_ALL" + }, + { + "value": "DELETE_ALL", + "name": "DELETE_ALL" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#CampaignFilters": { + "type": "structure", + "members": { + "instanceIdFilter": { + "target": "com.amazonaws.connectcampaignsv2#InstanceIdFilter" + } + }, + "traits": { + "smithy.api#documentation": "Filter model by type" + } + }, + "com.amazonaws.connectcampaignsv2#CampaignId": { + "type": "string", + "traits": { + "smithy.api#documentation": "Identifier representing a Campaign", + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^[a-zA-Z0-9\\-:/]*$" + } + }, + "com.amazonaws.connectcampaignsv2#CampaignIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId" + }, + "traits": { + "smithy.api#documentation": "List of CampaignId" + } + }, + "com.amazonaws.connectcampaignsv2#CampaignName": { + "type": "string", + "traits": { + "smithy.api#documentation": "The name of an Amazon Connect Campaign name.", + "smithy.api#length": { + "min": 1, + "max": 127 + } + } + }, + "com.amazonaws.connectcampaignsv2#CampaignState": { + "type": "string", + "traits": { + "smithy.api#documentation": "State of a campaign", + "smithy.api#enum": [ + { + "value": "Initialized", + "name": "INITIALIZED", + "documentation": "Campaign is in initialized state" + }, + { + "value": "Running", + "name": "RUNNING", + "documentation": "Campaign is in running state" + }, + { + "value": "Paused", + "name": "PAUSED", + "documentation": "Campaign is in paused state" + }, + { + "value": "Stopped", + "name": "STOPPED", + "documentation": "Campaign is in stopped state" + }, + { + "value": "Failed", + "name": "FAILED", + "documentation": "Campaign is in failed state" + }, + { + "value": "Completed", + "name": "COMPLETED", + "documentation": "Campaign is in completed state" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#CampaignSummary": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#required": {} + } + }, + "arn": { + "target": "com.amazonaws.connectcampaignsv2#CampaignArn", + "traits": { + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcampaignsv2#CampaignName", + "traits": { + "smithy.api#required": {} + } + }, + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#required": {} + } + }, + "channelSubtypes": { + "target": "com.amazonaws.connectcampaignsv2#ChannelSubtypeList", + "traits": { + "smithy.api#required": {} + } + }, + "schedule": { + "target": "com.amazonaws.connectcampaignsv2#Schedule" + }, + "connectCampaignFlowArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn" + } + }, + "traits": { + "smithy.api#documentation": "An Amazon Connect campaign summary." + } + }, + "com.amazonaws.connectcampaignsv2#CampaignSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#CampaignSummary" + }, + "traits": { + "smithy.api#documentation": "A list of Amazon Connect campaigns." + } + }, + "com.amazonaws.connectcampaignsv2#Capacity": { + "type": "double", + "traits": { + "smithy.api#documentation": "Allocates outbound capacity for the specific channel subtype of this campaign between multiple active campaigns", + "smithy.api#range": { + "min": 0.01, + "max": 1 + } + } + }, + "com.amazonaws.connectcampaignsv2#ChannelSubtype": { + "type": "string", + "traits": { + "smithy.api#documentation": "The type of campaign channel subtype.", + "smithy.api#enum": [ + { + "value": "TELEPHONY", + "name": "TELEPHONY" + }, + { + "value": "SMS", + "name": "SMS" + }, + { + "value": "EMAIL", + "name": "EMAIL" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#ChannelSubtypeConfig": { + "type": "structure", + "members": { + "telephony": { + "target": "com.amazonaws.connectcampaignsv2#TelephonyChannelSubtypeConfig" + }, + "sms": { + "target": "com.amazonaws.connectcampaignsv2#SmsChannelSubtypeConfig" + }, + "email": { + "target": "com.amazonaws.connectcampaignsv2#EmailChannelSubtypeConfig" + } + }, + "traits": { + "smithy.api#documentation": "Campaign Channel Subtype config" + } + }, + "com.amazonaws.connectcampaignsv2#ChannelSubtypeList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#ChannelSubtype" + }, + "traits": { + "smithy.api#documentation": "Channel subtype list", + "smithy.api#uniqueItems": {} + } + }, + "com.amazonaws.connectcampaignsv2#ChannelSubtypeParameters": { + "type": "union", + "members": { + "telephony": { + "target": "com.amazonaws.connectcampaignsv2#TelephonyChannelSubtypeParameters" + }, + "sms": { + "target": "com.amazonaws.connectcampaignsv2#SmsChannelSubtypeParameters" + }, + "email": { + "target": "com.amazonaws.connectcampaignsv2#EmailChannelSubtypeParameters" + } + }, + "traits": { + "smithy.api#documentation": "ChannelSubtypeParameters for an outbound request" + } + }, + "com.amazonaws.connectcampaignsv2#ClientToken": { + "type": "string", + "traits": { + "smithy.api#documentation": "Client provided parameter used for idempotency. Its value must be unique for each request.", + "smithy.api#length": { + "min": 0, + "max": 200 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_\\-.]*$" + } + }, + "com.amazonaws.connectcampaignsv2#CommunicationLimit": { + "type": "structure", + "members": { + "maxCountPerRecipient": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "Maximum number of contacts allowed for a given target within the given frequency.", + "smithy.api#range": { + "min": 1 + }, + "smithy.api#required": {} + } + }, + "frequency": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "The number of days to consider with regards to this limit.", + "smithy.api#range": { + "min": 1, + "max": 30 + }, + "smithy.api#required": {} + } + }, + "unit": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationLimitTimeUnit", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Communication Limit" + } + }, + "com.amazonaws.connectcampaignsv2#CommunicationLimitList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationLimit" + }, + "traits": { + "smithy.api#documentation": "List of communication limit", + "smithy.api#length": { + "max": 2 + } + } + }, + "com.amazonaws.connectcampaignsv2#CommunicationLimitTimeUnit": { + "type": "string", + "traits": { + "smithy.api#documentation": "The communication limit time unit.", + "smithy.api#enum": [ + { + "value": "DAY", + "name": "DAY" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#CommunicationLimits": { + "type": "union", + "members": { + "communicationLimitsList": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationLimitList" + } + }, + "traits": { + "smithy.api#documentation": "Communication limits" + } + }, + "com.amazonaws.connectcampaignsv2#CommunicationLimitsConfig": { + "type": "structure", + "members": { + "allChannelSubtypes": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationLimits" + } + }, + "traits": { + "smithy.api#documentation": "Communication limits config" + } + }, + "com.amazonaws.connectcampaignsv2#CommunicationLimitsConfigType": { + "type": "string", + "traits": { + "smithy.api#documentation": "The type of campaign communication limits config.", + "smithy.api#enum": [ + { + "value": "ALL_CHANNEL_SUBTYPES", + "name": "ALL_CHANNEL_SUBTYPES" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#CommunicationTimeConfig": { + "type": "structure", + "members": { + "localTimeZoneConfig": { + "target": "com.amazonaws.connectcampaignsv2#LocalTimeZoneConfig", + "traits": { + "smithy.api#required": {} + } + }, + "telephony": { + "target": "com.amazonaws.connectcampaignsv2#TimeWindow" + }, + "sms": { + "target": "com.amazonaws.connectcampaignsv2#TimeWindow" + }, + "email": { + "target": "com.amazonaws.connectcampaignsv2#TimeWindow" + } + }, + "traits": { + "smithy.api#documentation": "Campaign communication time config" + } + }, + "com.amazonaws.connectcampaignsv2#CommunicationTimeConfigType": { + "type": "string", + "traits": { + "smithy.api#documentation": "The type of campaign communication time config", + "smithy.api#enum": [ + { + "value": "TELEPHONY", + "name": "TELEPHONY" + }, + { + "value": "SMS", + "name": "SMS" + }, + { + "value": "EMAIL", + "name": "EMAIL" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#ConflictException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "xAmzErrorType": { + "target": "com.amazonaws.connectcampaignsv2#XAmazonErrorType", + "traits": { + "smithy.api#httpHeader": "x-amzn-ErrorType" + } + } + }, + "traits": { + "smithy.api#documentation": "The request could not be processed because of conflict in the current state of the resource.", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.connectcampaignsv2#ContactFlowId": { + "type": "string", + "traits": { + "smithy.api#documentation": "The identifier of the contact flow for the outbound call.", + "smithy.api#length": { + "max": 500 + } + } + }, + "com.amazonaws.connectcampaignsv2#CreateCampaign": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#CreateCampaignRequest" + }, + "output": { + "target": "com.amazonaws.connectcampaignsv2#CreateCampaignResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a campaign for the specified Amazon Connect account. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns", + "method": "PUT" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#CreateCampaignRequest": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.connectcampaignsv2#CampaignName", + "traits": { + "smithy.api#required": {} + } + }, + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#required": {} + } + }, + "channelSubtypeConfig": { + "target": "com.amazonaws.connectcampaignsv2#ChannelSubtypeConfig", + "traits": { + "smithy.api#required": {} + } + }, + "source": { + "target": "com.amazonaws.connectcampaignsv2#Source" + }, + "connectCampaignFlowArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn" + }, + "schedule": { + "target": "com.amazonaws.connectcampaignsv2#Schedule" + }, + "communicationTimeConfig": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationTimeConfig" + }, + "communicationLimitsOverride": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationLimitsConfig" + }, + "tags": { + "target": "com.amazonaws.connectcampaignsv2#TagMap" + } + }, + "traits": { + "smithy.api#documentation": "The request for CreateCampaign API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#CreateCampaignResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId" + }, + "arn": { + "target": "com.amazonaws.connectcampaignsv2#CampaignArn" + }, + "tags": { + "target": "com.amazonaws.connectcampaignsv2#TagMap" + } + }, + "traits": { + "smithy.api#documentation": "The response for Create Campaign API", + "smithy.api#output": {} + } + }, + "com.amazonaws.connectcampaignsv2#CustomerProfilesIntegrationConfig": { + "type": "structure", + "members": { + "domainArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#required": {} + } + }, + "objectTypeNames": { + "target": "com.amazonaws.connectcampaignsv2#ObjectTypeNamesMap", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Customer Profiles integration config" + } + }, + "com.amazonaws.connectcampaignsv2#CustomerProfilesIntegrationIdentifier": { + "type": "structure", + "members": { + "domainArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Customer Profiles integration identifier" + } + }, + "com.amazonaws.connectcampaignsv2#CustomerProfilesIntegrationSummary": { + "type": "structure", + "members": { + "domainArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#required": {} + } + }, + "objectTypeNames": { + "target": "com.amazonaws.connectcampaignsv2#ObjectTypeNamesMap", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Customer Profiles integration summary" + } + }, + "com.amazonaws.connectcampaignsv2#DailyHours": { + "type": "map", + "key": { + "target": "com.amazonaws.connectcampaignsv2#DayOfWeek" + }, + "value": { + "target": "com.amazonaws.connectcampaignsv2#TimeRangeList" + }, + "traits": { + "smithy.api#documentation": "Daily Hours map" + } + }, + "com.amazonaws.connectcampaignsv2#DayOfWeek": { + "type": "string", + "traits": { + "smithy.api#documentation": "Day of week enum", + "smithy.api#enum": [ + { + "value": "MONDAY", + "name": "MONDAY" + }, + { + "value": "TUESDAY", + "name": "TUESDAY" + }, + { + "value": "WEDNESDAY", + "name": "WEDNESDAY" + }, + { + "value": "THURSDAY", + "name": "THURSDAY" + }, + { + "value": "FRIDAY", + "name": "FRIDAY" + }, + { + "value": "SATURDAY", + "name": "SATURDAY" + }, + { + "value": "SUNDAY", + "name": "SUNDAY" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#DeleteCampaign": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#DeleteCampaignRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes a campaign from the specified Amazon Connect account.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}", + "method": "DELETE" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteCampaignChannelSubtypeConfig": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#DeleteCampaignChannelSubtypeConfigRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes the channel subtype config of a campaign. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/channel-subtype-config", + "method": "DELETE" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteCampaignChannelSubtypeConfigRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "channelSubtype": { + "target": "com.amazonaws.connectcampaignsv2#ChannelSubtype", + "traits": { + "smithy.api#httpQuery": "channelSubtype", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for DeleteCampaignChannelSubtypeConfig API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteCampaignCommunicationLimits": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#DeleteCampaignCommunicationLimitsRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes the communication limits config for a campaign. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/communication-limits", + "method": "DELETE" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteCampaignCommunicationLimitsRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "config": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationLimitsConfigType", + "traits": { + "smithy.api#httpQuery": "config", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for DeleteCampaignCommunicationLimits API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteCampaignCommunicationTime": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#DeleteCampaignCommunicationTimeRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes the communication time config for a campaign. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/communication-time", + "method": "DELETE" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteCampaignCommunicationTimeRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "config": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationTimeConfigType", + "traits": { + "smithy.api#httpQuery": "config", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for DeleteCampaignCommunicationTime API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteCampaignRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for DeleteCampaign API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteConnectInstanceConfig": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#DeleteConnectInstanceConfigRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes a connect instance config from the specified AWS account.", + "smithy.api#http": { + "uri": "/v2/connect-instance/{connectInstanceId}/config", + "method": "DELETE" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteConnectInstanceConfigRequest": { + "type": "structure", + "members": { + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "campaignDeletionPolicy": { + "target": "com.amazonaws.connectcampaignsv2#CampaignDeletionPolicy", + "traits": { + "smithy.api#httpQuery": "campaignDeletionPolicy" + } + } + }, + "traits": { + "smithy.api#documentation": "The request for DeleteConnectInstanceConfig API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteConnectInstanceIntegration": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#DeleteConnectInstanceIntegrationRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Delete the integration for the specified Amazon Connect instance.", + "smithy.api#http": { + "uri": "/v2/connect-instance/{connectInstanceId}/integrations/delete", + "method": "POST" + } + } + }, + "com.amazonaws.connectcampaignsv2#DeleteConnectInstanceIntegrationRequest": { + "type": "structure", + "members": { + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "integrationIdentifier": { + "target": "com.amazonaws.connectcampaignsv2#IntegrationIdentifier", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for DeleteConnectInstanceIntegration API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteInstanceOnboardingJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#DeleteInstanceOnboardingJobRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.", + "smithy.api#http": { + "uri": "/v2/connect-instance/{connectInstanceId}/onboarding", + "method": "DELETE" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#DeleteInstanceOnboardingJobRequest": { + "type": "structure", + "members": { + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for DeleteInstanceOnboardingJob API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#DescribeCampaign": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#DescribeCampaignRequest" + }, + "output": { + "target": "com.amazonaws.connectcampaignsv2#DescribeCampaignResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Describes the specific campaign.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}", + "method": "GET" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcampaignsv2#DescribeCampaignRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for DescribeCampaign API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#DescribeCampaignResponse": { + "type": "structure", + "members": { + "campaign": { + "target": "com.amazonaws.connectcampaignsv2#Campaign" + } + }, + "traits": { + "smithy.api#documentation": "The response for DescribeCampaign API.", + "smithy.api#output": {} + } + }, + "com.amazonaws.connectcampaignsv2#DestinationPhoneNumber": { + "type": "string", + "traits": { + "smithy.api#documentation": "The phone number of the customer, in E.164 format.", + "smithy.api#length": { + "min": 0, + "max": 20 + }, + "smithy.api#pattern": "^[\\d\\-+]*$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.connectcampaignsv2#DialRequestId": { + "type": "string", + "traits": { + "smithy.api#documentation": "Identifier representing a Dial request", + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_\\-.]*$" + } + }, + "com.amazonaws.connectcampaignsv2#EmailAddress": { + "type": "string", + "traits": { + "smithy.api#documentation": "Source/Destination Email address used for Email messages", + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "[^\\s@]+@[^\\s@]+\\.[^\\s@]+", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.connectcampaignsv2#EmailChannelSubtypeConfig": { + "type": "structure", + "members": { + "capacity": { + "target": "com.amazonaws.connectcampaignsv2#Capacity" + }, + "outboundMode": { + "target": "com.amazonaws.connectcampaignsv2#EmailOutboundMode", + "traits": { + "smithy.api#required": {} + } + }, + "defaultOutboundConfig": { + "target": "com.amazonaws.connectcampaignsv2#EmailOutboundConfig", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Email Channel Subtype config" + } + }, + "com.amazonaws.connectcampaignsv2#EmailChannelSubtypeParameters": { + "type": "structure", + "members": { + "destinationEmailAddress": { + "target": "com.amazonaws.connectcampaignsv2#EmailAddress", + "traits": { + "smithy.api#required": {} + } + }, + "connectSourceEmailAddress": { + "target": "com.amazonaws.connectcampaignsv2#EmailAddress" + }, + "templateArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn" + }, + "templateParameters": { + "target": "com.amazonaws.connectcampaignsv2#Attributes", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Parameters for the Email Channel Subtype" + } + }, + "com.amazonaws.connectcampaignsv2#EmailDisplayName": { + "type": "string", + "traits": { + "smithy.api#documentation": "Display name for Email Address", + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.connectcampaignsv2#EmailOutboundConfig": { + "type": "structure", + "members": { + "connectSourceEmailAddress": { + "target": "com.amazonaws.connectcampaignsv2#EmailAddress", + "traits": { + "smithy.api#required": {} + } + }, + "sourceEmailAddressDisplayName": { + "target": "com.amazonaws.connectcampaignsv2#EmailDisplayName" + }, + "wisdomTemplateArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Default Email Outbound config" + } + }, + "com.amazonaws.connectcampaignsv2#EmailOutboundMode": { + "type": "union", + "members": { + "agentless": { + "target": "com.amazonaws.connectcampaignsv2#AgentlessConfig" + } + }, + "traits": { + "smithy.api#documentation": "Email Outbound Mode" + } + }, + "com.amazonaws.connectcampaignsv2#Enabled": { + "type": "boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "Boolean to indicate if custom encryption has been enabled." + } + }, + "com.amazonaws.connectcampaignsv2#EncryptionConfig": { + "type": "structure", + "members": { + "enabled": { + "target": "com.amazonaws.connectcampaignsv2#Enabled", + "traits": { + "smithy.api#default": false, + "smithy.api#required": {} + } + }, + "encryptionType": { + "target": "com.amazonaws.connectcampaignsv2#EncryptionType" + }, + "keyArn": { + "target": "com.amazonaws.connectcampaignsv2#EncryptionKey" + } + }, + "traits": { + "smithy.api#documentation": "Encryption config for Connect Instance. Note that sensitive data will always be encrypted.\nIf disabled, service will perform encryption with its own key.\nIf enabled, a KMS key id needs to be provided and KMS charges will apply.\nKMS is only type supported" + } + }, + "com.amazonaws.connectcampaignsv2#EncryptionKey": { + "type": "string", + "traits": { + "smithy.api#documentation": "KMS key id/arn for encryption config.", + "smithy.api#length": { + "max": 500 + } + } + }, + "com.amazonaws.connectcampaignsv2#EncryptionType": { + "type": "string", + "traits": { + "smithy.api#documentation": "Server-side encryption type.", + "smithy.api#enum": [ + { + "name": "KMS", + "value": "KMS" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#EventType": { + "type": "string", + "traits": { + "smithy.api#documentation": "Enumeration of Customer Profiles event type", + "smithy.api#enum": [ + { + "value": "Campaign-Email", + "name": "CAMPAIGN_EMAIL" + }, + { + "value": "Campaign-SMS", + "name": "CAMPAIGN_SMS" + }, + { + "value": "Campaign-Telephony", + "name": "CAMPAIGN_TELEPHONY" + }, + { + "value": "Campaign-Orchestration", + "name": "CAMPAIGN_ORCHESTRATION" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#FailedCampaignStateResponse": { + "type": "structure", + "members": { + "campaignId": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId" + }, + "failureCode": { + "target": "com.amazonaws.connectcampaignsv2#GetCampaignStateBatchFailureCode" + } + }, + "traits": { + "smithy.api#documentation": "Failed response of campaign state" + } + }, + "com.amazonaws.connectcampaignsv2#FailedCampaignStateResponseList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#FailedCampaignStateResponse" + }, + "traits": { + "smithy.api#documentation": "List of failed requests of campaign state", + "smithy.api#length": { + "min": 0, + "max": 25 + } + } + }, + "com.amazonaws.connectcampaignsv2#FailedRequest": { + "type": "structure", + "members": { + "clientToken": { + "target": "com.amazonaws.connectcampaignsv2#ClientToken" + }, + "id": { + "target": "com.amazonaws.connectcampaignsv2#DialRequestId" + }, + "failureCode": { + "target": "com.amazonaws.connectcampaignsv2#FailureCode" + } + }, + "traits": { + "smithy.api#documentation": "A failed request identified by the unique client token." + } + }, + "com.amazonaws.connectcampaignsv2#FailedRequestList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#FailedRequest" + }, + "traits": { + "smithy.api#documentation": "A list of failed requests.", + "smithy.api#length": { + "min": 0, + "max": 25 + } + } + }, + "com.amazonaws.connectcampaignsv2#FailureCode": { + "type": "string", + "traits": { + "smithy.api#documentation": "A predefined code indicating the error that caused the failure.", + "smithy.api#enum": [ + { + "value": "InvalidInput", + "name": "INVALID_INPUT", + "documentation": "The request failed to satisfy the constraints specified by the service" + }, + { + "value": "RequestThrottled", + "name": "REQUEST_THROTTLED", + "documentation": "The request was throttled due to excessive usage" + }, + { + "value": "UnknownError", + "name": "UNKNOWN_ERROR", + "documentation": "Unexpected error during processing of request" + }, + { + "value": "BufferLimitExceeded", + "name": "BUFFER_LIMIT_EXCEEDED", + "documentation": "Request throttled due to large number of pending dial requests" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#GetCampaignState": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#GetCampaignStateRequest" + }, + "output": { + "target": "com.amazonaws.connectcampaignsv2#GetCampaignStateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Get state of a campaign for the specified Amazon Connect account.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/state", + "method": "GET" + } + } + }, + "com.amazonaws.connectcampaignsv2#GetCampaignStateBatch": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#GetCampaignStateBatchRequest" + }, + "output": { + "target": "com.amazonaws.connectcampaignsv2#GetCampaignStateBatchResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Get state of campaigns for the specified Amazon Connect account.", + "smithy.api#http": { + "uri": "/v2/campaigns-state", + "method": "POST" + } + } + }, + "com.amazonaws.connectcampaignsv2#GetCampaignStateBatchFailureCode": { + "type": "string", + "traits": { + "smithy.api#documentation": "A predefined code indicating the error that caused the failure in getting state of campaigns", + "smithy.api#enum": [ + { + "value": "ResourceNotFound", + "name": "RESOURCE_NOT_FOUND", + "documentation": "The specified resource was not found" + }, + { + "value": "UnknownError", + "name": "UNKNOWN_ERROR", + "documentation": "Unexpected error during processing of request" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#GetCampaignStateBatchRequest": { + "type": "structure", + "members": { + "campaignIds": { + "target": "com.amazonaws.connectcampaignsv2#CampaignIdList", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 25 + }, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for GetCampaignStateBatch API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#GetCampaignStateBatchResponse": { + "type": "structure", + "members": { + "successfulRequests": { + "target": "com.amazonaws.connectcampaignsv2#SuccessfulCampaignStateResponseList" + }, + "failedRequests": { + "target": "com.amazonaws.connectcampaignsv2#FailedCampaignStateResponseList" + } + }, + "traits": { + "smithy.api#documentation": "The response for GetCampaignStateBatch API.", + "smithy.api#output": {} + } + }, + "com.amazonaws.connectcampaignsv2#GetCampaignStateRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for GetCampaignState API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#GetCampaignStateResponse": { + "type": "structure", + "members": { + "state": { + "target": "com.amazonaws.connectcampaignsv2#CampaignState" + } + }, + "traits": { + "smithy.api#documentation": "The response for GetCampaignState API.", + "smithy.api#output": {} + } + }, + "com.amazonaws.connectcampaignsv2#GetConnectInstanceConfig": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#GetConnectInstanceConfigRequest" + }, + "output": { + "target": "com.amazonaws.connectcampaignsv2#GetConnectInstanceConfigResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Get the specific Connect instance config.", + "smithy.api#http": { + "uri": "/v2/connect-instance/{connectInstanceId}/config", + "method": "GET" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcampaignsv2#GetConnectInstanceConfigRequest": { + "type": "structure", + "members": { + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for GetConnectInstanceConfig API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#GetConnectInstanceConfigResponse": { + "type": "structure", + "members": { + "connectInstanceConfig": { + "target": "com.amazonaws.connectcampaignsv2#InstanceConfig" + } + }, + "traits": { + "smithy.api#documentation": "The response for GetConnectInstanceConfig API.", + "smithy.api#output": {} + } + }, + "com.amazonaws.connectcampaignsv2#GetInstanceOnboardingJobStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#GetInstanceOnboardingJobStatusRequest" + }, + "output": { + "target": "com.amazonaws.connectcampaignsv2#GetInstanceOnboardingJobStatusResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Get the specific instance onboarding job status.", + "smithy.api#http": { + "uri": "/v2/connect-instance/{connectInstanceId}/onboarding", + "method": "GET" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcampaignsv2#GetInstanceOnboardingJobStatusRequest": { + "type": "structure", + "members": { + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for GetInstanceOnboardingJobStatus API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#GetInstanceOnboardingJobStatusResponse": { + "type": "structure", + "members": { + "connectInstanceOnboardingJobStatus": { + "target": "com.amazonaws.connectcampaignsv2#InstanceOnboardingJobStatus" + } + }, + "traits": { + "smithy.api#documentation": "The response for GetInstanceOnboardingJobStatus API.", + "smithy.api#output": {} + } + }, + "com.amazonaws.connectcampaignsv2#InstanceConfig": { + "type": "structure", + "members": { + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#required": {} + } + }, + "serviceLinkedRoleArn": { + "target": "com.amazonaws.connectcampaignsv2#ServiceLinkedRoleArn", + "traits": { + "smithy.api#required": {} + } + }, + "encryptionConfig": { + "target": "com.amazonaws.connectcampaignsv2#EncryptionConfig", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Instance config object" + } + }, + "com.amazonaws.connectcampaignsv2#InstanceId": { + "type": "string", + "traits": { + "smithy.api#documentation": "Amazon Connect Instance Id", + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_\\-.]*$" + } + }, + "com.amazonaws.connectcampaignsv2#InstanceIdFilter": { + "type": "structure", + "members": { + "value": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#required": {} + } + }, + "operator": { + "target": "com.amazonaws.connectcampaignsv2#InstanceIdFilterOperator", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Connect instance identifier filter" + } + }, + "com.amazonaws.connectcampaignsv2#InstanceIdFilterOperator": { + "type": "string", + "traits": { + "smithy.api#documentation": "Operators for Connect instance identifier filter", + "smithy.api#enum": [ + { + "name": "EQ", + "value": "Eq", + "documentation": "Equals operator" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#InstanceOnboardingJobFailureCode": { + "type": "string", + "traits": { + "smithy.api#documentation": "Enumeration of the possible failure codes for instance onboarding job", + "smithy.api#enum": [ + { + "value": "EVENT_BRIDGE_ACCESS_DENIED", + "name": "EVENT_BRIDGE_ACCESS_DENIED" + }, + { + "value": "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED", + "name": "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED" + }, + { + "value": "IAM_ACCESS_DENIED", + "name": "IAM_ACCESS_DENIED" + }, + { + "value": "KMS_ACCESS_DENIED", + "name": "KMS_ACCESS_DENIED" + }, + { + "value": "KMS_KEY_NOT_FOUND", + "name": "KMS_KEY_NOT_FOUND" + }, + { + "value": "INTERNAL_FAILURE", + "name": "INTERNAL_FAILURE" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#InstanceOnboardingJobStatus": { + "type": "structure", + "members": { + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.connectcampaignsv2#InstanceOnboardingJobStatusCode", + "traits": { + "smithy.api#required": {} + } + }, + "failureCode": { + "target": "com.amazonaws.connectcampaignsv2#InstanceOnboardingJobFailureCode" + } + }, + "traits": { + "smithy.api#documentation": "Instance onboarding job status object" + } + }, + "com.amazonaws.connectcampaignsv2#InstanceOnboardingJobStatusCode": { + "type": "string", + "traits": { + "smithy.api#documentation": "Enumeration of the possible states for instance onboarding job", + "smithy.api#enum": [ + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "SUCCEEDED", + "name": "SUCCEEDED" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#IntegrationConfig": { + "type": "union", + "members": { + "customerProfiles": { + "target": "com.amazonaws.connectcampaignsv2#CustomerProfilesIntegrationConfig" + }, + "qConnect": { + "target": "com.amazonaws.connectcampaignsv2#QConnectIntegrationConfig" + } + }, + "traits": { + "smithy.api#documentation": "Integration config for Connect Instance" + } + }, + "com.amazonaws.connectcampaignsv2#IntegrationIdentifier": { + "type": "union", + "members": { + "customerProfiles": { + "target": "com.amazonaws.connectcampaignsv2#CustomerProfilesIntegrationIdentifier" + }, + "qConnect": { + "target": "com.amazonaws.connectcampaignsv2#QConnectIntegrationIdentifier" + } + }, + "traits": { + "smithy.api#documentation": "Integration identifier for Connect instance" + } + }, + "com.amazonaws.connectcampaignsv2#IntegrationSummary": { + "type": "union", + "members": { + "customerProfiles": { + "target": "com.amazonaws.connectcampaignsv2#CustomerProfilesIntegrationSummary" + }, + "qConnect": { + "target": "com.amazonaws.connectcampaignsv2#QConnectIntegrationSummary" + } + }, + "traits": { + "smithy.api#documentation": "Integration summary for Connect instance." + } + }, + "com.amazonaws.connectcampaignsv2#IntegrationSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#IntegrationSummary" + }, + "traits": { + "smithy.api#documentation": "A list of Amazon Connect Instance Integrations." + } + }, + "com.amazonaws.connectcampaignsv2#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "xAmzErrorType": { + "target": "com.amazonaws.connectcampaignsv2#XAmazonErrorType", + "traits": { + "smithy.api#httpHeader": "x-amzn-ErrorType" + } + } + }, + "traits": { + "smithy.api#documentation": "Request processing failed because of an error or failure with the service.", + "smithy.api#error": "server", + "smithy.api#httpError": 500, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException": { + "type": "structure", + "members": { + "state": { + "target": "com.amazonaws.connectcampaignsv2#CampaignState", + "traits": { + "smithy.api#required": {} + } + }, + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "xAmzErrorType": { + "target": "com.amazonaws.connectcampaignsv2#XAmazonErrorType", + "traits": { + "smithy.api#httpHeader": "x-amzn-ErrorType" + } + } + }, + "traits": { + "smithy.api#documentation": "The request could not be processed because of conflict in the current state of the campaign.", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.connectcampaignsv2#InvalidStateException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "xAmzErrorType": { + "target": "com.amazonaws.connectcampaignsv2#XAmazonErrorType", + "traits": { + "smithy.api#httpHeader": "x-amzn-ErrorType" + } + } + }, + "traits": { + "smithy.api#documentation": "The request could not be processed because of conflict in the current state.", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.connectcampaignsv2#Iso8601Date": { + "type": "string", + "traits": { + "smithy.api#documentation": "Date in ISO 8601 format, e.g. 2024-01-01", + "smithy.api#pattern": "^\\d{4}-\\d{2}-\\d{2}$" + } + }, + "com.amazonaws.connectcampaignsv2#Iso8601Duration": { + "type": "string", + "traits": { + "smithy.api#documentation": "Time duration in ISO 8601 format", + "smithy.api#length": { + "min": 0, + "max": 50 + }, + "smithy.api#pattern": "^P(?:([-+]?[0-9]+)D)?(T(?:([-+]?[0-9]+)H)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)(?:[.,]([0-9]{0,9}))?S)?)?$" + } + }, + "com.amazonaws.connectcampaignsv2#Iso8601Time": { + "type": "string", + "traits": { + "smithy.api#documentation": "Time in ISO 8601 format, e.g. T23:11", + "smithy.api#pattern": "^T\\d{2}:\\d{2}$" + } + }, + "com.amazonaws.connectcampaignsv2#ListCampaigns": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#ListCampaignsRequest" + }, + "output": { + "target": "com.amazonaws.connectcampaignsv2#ListCampaignsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Provides summary information about the campaigns under the specified Amazon Connect account.", + "smithy.api#http": { + "uri": "/v2/campaigns-summary", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "campaignSummaryList" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcampaignsv2#ListCampaignsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.connectcampaignsv2#MaxResults" + }, + "nextToken": { + "target": "com.amazonaws.connectcampaignsv2#NextToken" + }, + "filters": { + "target": "com.amazonaws.connectcampaignsv2#CampaignFilters" + } + }, + "traits": { + "smithy.api#documentation": "The request for ListCampaigns API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#ListCampaignsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.connectcampaignsv2#NextToken" + }, + "campaignSummaryList": { + "target": "com.amazonaws.connectcampaignsv2#CampaignSummaryList" + } + }, + "traits": { + "smithy.api#documentation": "The response for ListCampaigns API.", + "smithy.api#output": {} + } + }, + "com.amazonaws.connectcampaignsv2#ListConnectInstanceIntegrations": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#ListConnectInstanceIntegrationsRequest" + }, + "output": { + "target": "com.amazonaws.connectcampaignsv2#ListConnectInstanceIntegrationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Provides summary information about the integration under the specified Connect instance.", + "smithy.api#http": { + "uri": "/v2/connect-instance/{connectInstanceId}/integrations", + "method": "GET" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "integrationSummaryList" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcampaignsv2#ListConnectInstanceIntegrationsRequest": { + "type": "structure", + "members": { + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.connectcampaignsv2#MaxResults", + "traits": { + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.connectcampaignsv2#NextToken", + "traits": { + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#documentation": "The request for ListConnectInstanceIntegrations API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#ListConnectInstanceIntegrationsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.connectcampaignsv2#NextToken" + }, + "integrationSummaryList": { + "target": "com.amazonaws.connectcampaignsv2#IntegrationSummaryList" + } + }, + "traits": { + "smithy.api#documentation": "The response for ListConnectInstanceIntegrations API.", + "smithy.api#output": {} + } + }, + "com.amazonaws.connectcampaignsv2#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.connectcampaignsv2#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "List tags for a resource.", + "smithy.api#http": { + "uri": "/v2/tags/{arn}", + "method": "GET" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcampaignsv2#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for ListTagsForResource API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.connectcampaignsv2#TagMap" + } + }, + "traits": { + "smithy.api#documentation": "The request for ListTagsForResource API.", + "smithy.api#output": {} + } + }, + "com.amazonaws.connectcampaignsv2#LocalTimeZoneConfig": { + "type": "structure", + "members": { + "defaultTimeZone": { + "target": "com.amazonaws.connectcampaignsv2#TimeZone" + }, + "localTimeZoneDetection": { + "target": "com.amazonaws.connectcampaignsv2#LocalTimeZoneDetection" + } + }, + "traits": { + "smithy.api#documentation": "Local time zone config" + } + }, + "com.amazonaws.connectcampaignsv2#LocalTimeZoneDetection": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#LocalTimeZoneDetectionType" + }, + "traits": { + "smithy.api#documentation": "Local TimeZone Detection method list", + "smithy.api#uniqueItems": {} + } + }, + "com.amazonaws.connectcampaignsv2#LocalTimeZoneDetectionType": { + "type": "string", + "traits": { + "smithy.api#documentation": "Local TimeZone Detection method.", + "smithy.api#enum": [ + { + "value": "ZIP_CODE", + "name": "ZIP_CODE" + }, + { + "value": "AREA_CODE", + "name": "AREA_CODE" + } + ] + } + }, + "com.amazonaws.connectcampaignsv2#MaxResults": { + "type": "integer", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.", + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.connectcampaignsv2#NextToken": { + "type": "string", + "traits": { + "smithy.api#documentation": "The token for the next set of results.", + "smithy.api#length": { + "max": 1000 + } + } + }, + "com.amazonaws.connectcampaignsv2#ObjectTypeName": { + "type": "string", + "traits": { + "smithy.api#documentation": "Object type name", + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.connectcampaignsv2#ObjectTypeNamesMap": { + "type": "map", + "key": { + "target": "com.amazonaws.connectcampaignsv2#EventType" + }, + "value": { + "target": "com.amazonaws.connectcampaignsv2#ObjectTypeName" + }, + "traits": { + "smithy.api#documentation": "Object type names map." + } + }, + "com.amazonaws.connectcampaignsv2#OpenHours": { + "type": "union", + "members": { + "dailyHours": { + "target": "com.amazonaws.connectcampaignsv2#DailyHours" + } + }, + "traits": { + "smithy.api#documentation": "Open Hours config" + } + }, + "com.amazonaws.connectcampaignsv2#OutboundRequest": { + "type": "structure", + "members": { + "clientToken": { + "target": "com.amazonaws.connectcampaignsv2#ClientToken", + "traits": { + "smithy.api#required": {} + } + }, + "expirationTime": { + "target": "com.amazonaws.connectcampaignsv2#TimeStamp", + "traits": { + "smithy.api#required": {} + } + }, + "channelSubtypeParameters": { + "target": "com.amazonaws.connectcampaignsv2#ChannelSubtypeParameters", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An outbound request for a campaign." + } + }, + "com.amazonaws.connectcampaignsv2#OutboundRequestList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#OutboundRequest" + }, + "traits": { + "smithy.api#documentation": "A list of outbound requests.", + "smithy.api#length": { + "min": 1, + "max": 25 + } + } + }, + "com.amazonaws.connectcampaignsv2#PauseCampaign": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#PauseCampaignRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Pauses a campaign for the specified Amazon Connect account.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/pause", + "method": "POST" + } + } + }, + "com.amazonaws.connectcampaignsv2#PauseCampaignRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for PauseCampaign API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#PredictiveConfig": { + "type": "structure", + "members": { + "bandwidthAllocation": { + "target": "com.amazonaws.connectcampaignsv2#BandwidthAllocation", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Predictive config" + } + }, + "com.amazonaws.connectcampaignsv2#ProgressiveConfig": { + "type": "structure", + "members": { + "bandwidthAllocation": { + "target": "com.amazonaws.connectcampaignsv2#BandwidthAllocation", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Progressive config" + } + }, + "com.amazonaws.connectcampaignsv2#PutConnectInstanceIntegration": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#PutConnectInstanceIntegrationRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Put or update the integration for the specified Amazon Connect instance.", + "smithy.api#http": { + "uri": "/v2/connect-instance/{connectInstanceId}/integrations", + "method": "PUT" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#PutConnectInstanceIntegrationRequest": { + "type": "structure", + "members": { + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "integrationConfig": { + "target": "com.amazonaws.connectcampaignsv2#IntegrationConfig", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for PutConnectInstanceIntegration API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#PutOutboundRequestBatch": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#PutOutboundRequestBatchRequest" + }, + "output": { + "target": "com.amazonaws.connectcampaignsv2#PutOutboundRequestBatchResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates outbound requests for the specified campaign Amazon Connect account. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/outbound-requests", + "method": "PUT" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#PutOutboundRequestBatchRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "outboundRequests": { + "target": "com.amazonaws.connectcampaignsv2#OutboundRequestList", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for PutOutboundRequestBatch API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#PutOutboundRequestBatchResponse": { + "type": "structure", + "members": { + "successfulRequests": { + "target": "com.amazonaws.connectcampaignsv2#SuccessfulRequestList" + }, + "failedRequests": { + "target": "com.amazonaws.connectcampaignsv2#FailedRequestList" + } + }, + "traits": { + "smithy.api#documentation": "The response for PutOutboundRequestBatch API.", + "smithy.api#output": {} + } + }, + "com.amazonaws.connectcampaignsv2#QConnectIntegrationConfig": { + "type": "structure", + "members": { + "knowledgeBaseArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Q Connect integration config" + } + }, + "com.amazonaws.connectcampaignsv2#QConnectIntegrationIdentifier": { + "type": "structure", + "members": { + "knowledgeBaseArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Q Connect integration identifier" + } + }, + "com.amazonaws.connectcampaignsv2#QConnectIntegrationSummary": { + "type": "structure", + "members": { + "knowledgeBaseArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Q Connect integration summary" + } + }, + "com.amazonaws.connectcampaignsv2#QueueId": { + "type": "string", + "traits": { + "smithy.api#documentation": "The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number.", + "smithy.api#length": { + "max": 500 + } + } + }, + "com.amazonaws.connectcampaignsv2#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "xAmzErrorType": { + "target": "com.amazonaws.connectcampaignsv2#XAmazonErrorType", + "traits": { + "smithy.api#httpHeader": "x-amzn-ErrorType" + } + } + }, + "traits": { + "smithy.api#documentation": "The specified resource was not found.", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.connectcampaignsv2#RestrictedPeriod": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.connectcampaignsv2#RestrictedPeriodName" + }, + "startDate": { + "target": "com.amazonaws.connectcampaignsv2#Iso8601Date", + "traits": { + "smithy.api#required": {} + } + }, + "endDate": { + "target": "com.amazonaws.connectcampaignsv2#Iso8601Date", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Restricted period" + } + }, + "com.amazonaws.connectcampaignsv2#RestrictedPeriodList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#RestrictedPeriod" + }, + "traits": { + "smithy.api#documentation": "List of restricted period" + } + }, + "com.amazonaws.connectcampaignsv2#RestrictedPeriodName": { + "type": "string", + "traits": { + "smithy.api#documentation": "The name of a restricted period.", + "smithy.api#length": { + "min": 1, + "max": 127 + } + } + }, + "com.amazonaws.connectcampaignsv2#RestrictedPeriods": { + "type": "union", + "members": { + "restrictedPeriodList": { + "target": "com.amazonaws.connectcampaignsv2#RestrictedPeriodList" + } + }, + "traits": { + "smithy.api#documentation": "Restricted period config" + } + }, + "com.amazonaws.connectcampaignsv2#ResumeCampaign": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#ResumeCampaignRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Stops a campaign for the specified Amazon Connect account.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/resume", + "method": "POST" + } + } + }, + "com.amazonaws.connectcampaignsv2#ResumeCampaignRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for ResumeCampaign API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#Schedule": { + "type": "structure", + "members": { + "startTime": { + "target": "com.amazonaws.connectcampaignsv2#TimeStamp", + "traits": { + "smithy.api#required": {} + } + }, + "endTime": { + "target": "com.amazonaws.connectcampaignsv2#TimeStamp", + "traits": { + "smithy.api#required": {} + } + }, + "refreshFrequency": { + "target": "com.amazonaws.connectcampaignsv2#Iso8601Duration" + } + }, + "traits": { + "smithy.api#documentation": "Campaign schedule" + } + }, + "com.amazonaws.connectcampaignsv2#ServiceLinkedRoleArn": { + "type": "string", + "traits": { + "smithy.api#documentation": "Service linked role arn", + "smithy.api#length": { + "max": 256 + } + } + }, + "com.amazonaws.connectcampaignsv2#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "xAmzErrorType": { + "target": "com.amazonaws.connectcampaignsv2#XAmazonErrorType", + "traits": { + "smithy.api#httpHeader": "x-amzn-ErrorType" + } + } + }, + "traits": { + "smithy.api#documentation": "Request would cause a service quota to be exceeded.", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.connectcampaignsv2#SmsChannelSubtypeConfig": { + "type": "structure", + "members": { + "capacity": { + "target": "com.amazonaws.connectcampaignsv2#Capacity" + }, + "outboundMode": { + "target": "com.amazonaws.connectcampaignsv2#SmsOutboundMode", + "traits": { + "smithy.api#required": {} + } + }, + "defaultOutboundConfig": { + "target": "com.amazonaws.connectcampaignsv2#SmsOutboundConfig", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "SMS Channel Subtype config" + } + }, + "com.amazonaws.connectcampaignsv2#SmsChannelSubtypeParameters": { + "type": "structure", + "members": { + "destinationPhoneNumber": { + "target": "com.amazonaws.connectcampaignsv2#DestinationPhoneNumber", + "traits": { + "smithy.api#required": {} + } + }, + "connectSourcePhoneNumberArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn" + }, + "templateArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn" + }, + "templateParameters": { + "target": "com.amazonaws.connectcampaignsv2#Attributes", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Parameters for the SMS Channel Subtype" + } + }, + "com.amazonaws.connectcampaignsv2#SmsOutboundConfig": { + "type": "structure", + "members": { + "connectSourcePhoneNumberArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#required": {} + } + }, + "wisdomTemplateArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Default SMS Outbound config" + } + }, + "com.amazonaws.connectcampaignsv2#SmsOutboundMode": { + "type": "union", + "members": { + "agentless": { + "target": "com.amazonaws.connectcampaignsv2#AgentlessConfig" + } + }, + "traits": { + "smithy.api#documentation": "SMS Outbound Mode" + } + }, + "com.amazonaws.connectcampaignsv2#Source": { + "type": "union", + "members": { + "customerProfilesSegmentArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn" + } + }, + "traits": { + "smithy.api#documentation": "Source of the campaign" + } + }, + "com.amazonaws.connectcampaignsv2#SourcePhoneNumber": { + "type": "string", + "traits": { + "smithy.api#documentation": "The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.", + "smithy.api#length": { + "max": 100 + } + } + }, + "com.amazonaws.connectcampaignsv2#StartCampaign": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#StartCampaignRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Starts a campaign for the specified Amazon Connect account.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/start", + "method": "POST" + } + } + }, + "com.amazonaws.connectcampaignsv2#StartCampaignRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for StartCampaign API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#StartInstanceOnboardingJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#StartInstanceOnboardingJobRequest" + }, + "output": { + "target": "com.amazonaws.connectcampaignsv2#StartInstanceOnboardingJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Onboard the specific Amazon Connect instance to Connect Campaigns.", + "smithy.api#http": { + "uri": "/v2/connect-instance/{connectInstanceId}/onboarding", + "method": "PUT" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#StartInstanceOnboardingJobRequest": { + "type": "structure", + "members": { + "connectInstanceId": { + "target": "com.amazonaws.connectcampaignsv2#InstanceId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "encryptionConfig": { + "target": "com.amazonaws.connectcampaignsv2#EncryptionConfig", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for StartInstanceOnboardingJob API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#StartInstanceOnboardingJobResponse": { + "type": "structure", + "members": { + "connectInstanceOnboardingJobStatus": { + "target": "com.amazonaws.connectcampaignsv2#InstanceOnboardingJobStatus" + } + }, + "traits": { + "smithy.api#documentation": "The response for StartInstanceOnboardingJob API.", + "smithy.api#output": {} + } + }, + "com.amazonaws.connectcampaignsv2#StopCampaign": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#StopCampaignRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Stops a campaign for the specified Amazon Connect account.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/stop", + "method": "POST" + } + } + }, + "com.amazonaws.connectcampaignsv2#StopCampaignRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for StopCampaign API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#SuccessfulCampaignStateResponse": { + "type": "structure", + "members": { + "campaignId": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId" + }, + "state": { + "target": "com.amazonaws.connectcampaignsv2#CampaignState" + } + }, + "traits": { + "smithy.api#documentation": "Successful response of campaign state" + } + }, + "com.amazonaws.connectcampaignsv2#SuccessfulCampaignStateResponseList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#SuccessfulCampaignStateResponse" + }, + "traits": { + "smithy.api#documentation": "List of successful response of campaign state", + "smithy.api#length": { + "min": 0, + "max": 25 + } + } + }, + "com.amazonaws.connectcampaignsv2#SuccessfulRequest": { + "type": "structure", + "members": { + "clientToken": { + "target": "com.amazonaws.connectcampaignsv2#ClientToken" + }, + "id": { + "target": "com.amazonaws.connectcampaignsv2#DialRequestId" + } + }, + "traits": { + "smithy.api#documentation": "A successful request identified by the unique client token." + } + }, + "com.amazonaws.connectcampaignsv2#SuccessfulRequestList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#SuccessfulRequest" + }, + "traits": { + "smithy.api#documentation": "A list of successful requests identified by the unique client token.", + "smithy.api#length": { + "min": 0, + "max": 25 + } + } + }, + "com.amazonaws.connectcampaignsv2#TagKey": { + "type": "string", + "traits": { + "smithy.api#documentation": "The key of tag.", + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" + } + }, + "com.amazonaws.connectcampaignsv2#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#TagKey" + }, + "traits": { + "smithy.api#documentation": "List of tag keys.", + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.connectcampaignsv2#TagMap": { + "type": "map", + "key": { + "target": "com.amazonaws.connectcampaignsv2#TagKey" + }, + "value": { + "target": "com.amazonaws.connectcampaignsv2#TagValue" + }, + "traits": { + "smithy.api#documentation": "Tag map with key and value." + } + }, + "com.amazonaws.connectcampaignsv2#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#TagResourceRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Tag a resource.", + "smithy.api#http": { + "uri": "/v2/tags/{arn}", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#TagResourceRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcampaignsv2#TagMap", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for TagResource API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#TagValue": { + "type": "string", + "traits": { + "smithy.api#documentation": "The value of tag.", + "smithy.api#length": { + "min": 0, + "max": 256 + } + } + }, + "com.amazonaws.connectcampaignsv2#TelephonyChannelSubtypeConfig": { + "type": "structure", + "members": { + "capacity": { + "target": "com.amazonaws.connectcampaignsv2#Capacity" + }, + "connectQueueId": { + "target": "com.amazonaws.connectcampaignsv2#QueueId" + }, + "outboundMode": { + "target": "com.amazonaws.connectcampaignsv2#TelephonyOutboundMode", + "traits": { + "smithy.api#required": {} + } + }, + "defaultOutboundConfig": { + "target": "com.amazonaws.connectcampaignsv2#TelephonyOutboundConfig", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Telephony Channel Subtype config" + } + }, + "com.amazonaws.connectcampaignsv2#TelephonyChannelSubtypeParameters": { + "type": "structure", + "members": { + "destinationPhoneNumber": { + "target": "com.amazonaws.connectcampaignsv2#DestinationPhoneNumber", + "traits": { + "smithy.api#required": {} + } + }, + "attributes": { + "target": "com.amazonaws.connectcampaignsv2#Attributes", + "traits": { + "smithy.api#required": {} + } + }, + "connectSourcePhoneNumber": { + "target": "com.amazonaws.connectcampaignsv2#SourcePhoneNumber" + }, + "answerMachineDetectionConfig": { + "target": "com.amazonaws.connectcampaignsv2#AnswerMachineDetectionConfig" + } + }, + "traits": { + "smithy.api#documentation": "Parameters for the Telephony Channel Subtype" + } + }, + "com.amazonaws.connectcampaignsv2#TelephonyOutboundConfig": { + "type": "structure", + "members": { + "connectContactFlowId": { + "target": "com.amazonaws.connectcampaignsv2#ContactFlowId", + "traits": { + "smithy.api#required": {} + } + }, + "connectSourcePhoneNumber": { + "target": "com.amazonaws.connectcampaignsv2#SourcePhoneNumber" + }, + "answerMachineDetectionConfig": { + "target": "com.amazonaws.connectcampaignsv2#AnswerMachineDetectionConfig" + } + }, + "traits": { + "smithy.api#documentation": "Default Telephony Outbound config" + } + }, + "com.amazonaws.connectcampaignsv2#TelephonyOutboundMode": { + "type": "union", + "members": { + "progressive": { + "target": "com.amazonaws.connectcampaignsv2#ProgressiveConfig" + }, + "predictive": { + "target": "com.amazonaws.connectcampaignsv2#PredictiveConfig" + }, + "agentless": { + "target": "com.amazonaws.connectcampaignsv2#AgentlessConfig" + } + }, + "traits": { + "smithy.api#documentation": "Telephony Outbound Mode" + } + }, + "com.amazonaws.connectcampaignsv2#ThrottlingException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "xAmzErrorType": { + "target": "com.amazonaws.connectcampaignsv2#XAmazonErrorType", + "traits": { + "smithy.api#httpHeader": "x-amzn-ErrorType" + } + } + }, + "traits": { + "smithy.api#documentation": "The request was denied due to request throttling.", + "smithy.api#error": "client", + "smithy.api#httpError": 429, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.connectcampaignsv2#TimeRange": { + "type": "structure", + "members": { + "startTime": { + "target": "com.amazonaws.connectcampaignsv2#Iso8601Time", + "traits": { + "smithy.api#required": {} + } + }, + "endTime": { + "target": "com.amazonaws.connectcampaignsv2#Iso8601Time", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Time range in 24 hour format" + } + }, + "com.amazonaws.connectcampaignsv2#TimeRangeList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcampaignsv2#TimeRange" + }, + "traits": { + "smithy.api#documentation": "List of time range" + } + }, + "com.amazonaws.connectcampaignsv2#TimeStamp": { + "type": "timestamp", + "traits": { + "smithy.api#documentation": "Timestamp with no UTC offset or timezone", + "smithy.api#timestampFormat": "date-time" + } + }, + "com.amazonaws.connectcampaignsv2#TimeWindow": { + "type": "structure", + "members": { + "openHours": { + "target": "com.amazonaws.connectcampaignsv2#OpenHours", + "traits": { + "smithy.api#required": {} + } + }, + "restrictedPeriods": { + "target": "com.amazonaws.connectcampaignsv2#RestrictedPeriods" + } + }, + "traits": { + "smithy.api#documentation": "Time window config" + } + }, + "com.amazonaws.connectcampaignsv2#TimeZone": { + "type": "string", + "traits": { + "smithy.api#documentation": "Time Zone Id in the IANA format", + "smithy.api#length": { + "min": 0, + "max": 50 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_\\-/]*$" + } + }, + "com.amazonaws.connectcampaignsv2#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#UntagResourceRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Untag a resource.", + "smithy.api#http": { + "uri": "/v2/tags/{arn}", + "method": "DELETE" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#UntagResourceRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.connectcampaignsv2#TagKeyList", + "traits": { + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for UntagResource API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignChannelSubtypeConfig": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignChannelSubtypeConfigRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the channel subtype config of a campaign. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/channel-subtype-config", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignChannelSubtypeConfigRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "channelSubtypeConfig": { + "target": "com.amazonaws.connectcampaignsv2#ChannelSubtypeConfig", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for UpdateCampaignChannelSubtypeConfig API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignCommunicationLimits": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignCommunicationLimitsRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the communication limits config for a campaign. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/communication-limits", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignCommunicationLimitsRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "communicationLimitsOverride": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationLimitsConfig", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for UpdateCampaignCommunicationLimits API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignCommunicationTime": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignCommunicationTimeRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the communication time config for a campaign. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/communication-time", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignCommunicationTimeRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "communicationTimeConfig": { + "target": "com.amazonaws.connectcampaignsv2#CommunicationTimeConfig", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for UpdateCampaignCommunicationTime API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignFlowAssociation": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignFlowAssociationRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the campaign flow associated with a campaign. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/flow", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignFlowAssociationRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "connectCampaignFlowArn": { + "target": "com.amazonaws.connectcampaignsv2#Arn", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for UpdateCampaignFlowAssociation API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignName": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignNameRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the name of a campaign. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/name", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignNameRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcampaignsv2#CampaignName", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for UpdateCampaignName API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignScheduleRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the schedule for a campaign. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/schedule", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignScheduleRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "schedule": { + "target": "com.amazonaws.connectcampaignsv2#Schedule", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for UpdateCampaignSchedule API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignSource": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcampaignsv2#UpdateCampaignSourceRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcampaignsv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ConflictException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InternalServerException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcampaignsv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the campaign source with a campaign. This API is idempotent.", + "smithy.api#http": { + "uri": "/v2/campaigns/{id}/source", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcampaignsv2#UpdateCampaignSourceRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcampaignsv2#CampaignId", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "source": { + "target": "com.amazonaws.connectcampaignsv2#Source", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request for UpdateCampaignSource API.", + "smithy.api#input": {} + } + }, + "com.amazonaws.connectcampaignsv2#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "xAmzErrorType": { + "target": "com.amazonaws.connectcampaignsv2#XAmazonErrorType", + "traits": { + "smithy.api#httpHeader": "x-amzn-ErrorType" + } + } + }, + "traits": { + "smithy.api#documentation": "The input fails to satisfy the constraints specified by an AWS service.", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.connectcampaignsv2#XAmazonErrorType": { + "type": "string", + "traits": { + "smithy.api#documentation": "A header that defines the error encountered while processing the request." + } + } + } +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/datasync.json b/codegen/sdk-codegen/aws-models/datasync.json index 8773a174609..4f914e33372 100644 --- a/codegen/sdk-codegen/aws-models/datasync.json +++ b/codegen/sdk-codegen/aws-models/datasync.json @@ -1572,7 +1572,7 @@ "TaskMode": { "target": "com.amazonaws.datasync#TaskMode", "traits": { - "smithy.api#documentation": "

Specifies one of the following task modes for your data transfer:

\n \n

For more information, see Understanding task mode differences.

" + "smithy.api#documentation": "

Specifies one of the following task modes for your data transfer:

\n \n

For more information, see Understanding task mode differences.

" } } }, @@ -3176,7 +3176,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides information about an execution of your DataSync task. You can\n use this operation to help monitor the progress of an ongoing data transfer or check the\n results of the transfer.

\n \n

Some DescribeTaskExecution response elements are only relevant to a\n specific task mode. For information, see Understanding task mode differences and Understanding data\n transfer performance metrics.

\n
" + "smithy.api#documentation": "

Provides information about an execution of your DataSync task. You can\n use this operation to help monitor the progress of an ongoing data transfer or check the\n results of the transfer.

\n \n

Some DescribeTaskExecution response elements are only relevant to a\n specific task mode. For information, see Understanding task mode differences and Understanding data\n transfer performance counters.

\n
" } }, "com.amazonaws.datasync#DescribeTaskExecutionRequest": { @@ -3241,7 +3241,7 @@ "target": "com.amazonaws.datasync#long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The number of files, objects, and directories that DataSync expects to\n transfer over the network. This value is calculated during the task execution's\n PREPARING\n step before the TRANSFERRING step.

\n

How this gets calculated depends primarily on your task’s transfer\n mode configuration:

\n " + "smithy.api#documentation": "

The number of files, objects, and directories that DataSync expects to\n transfer over the network. This value is calculated while DataSync prepares the transfer.

\n

How this gets calculated depends primarily on your task’s transfer\n mode configuration:

\n " } }, "EstimatedBytesToTransfer": { @@ -3255,7 +3255,7 @@ "target": "com.amazonaws.datasync#long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The number of files, objects, and directories that DataSync actually\n transfers over the network. This value is updated periodically during the task execution's\n TRANSFERRING\n step when something is read from the source and sent over the network.

\n

If DataSync fails to transfer something, this value can be less than\n EstimatedFilesToTransfer. In some cases, this value can also be greater than\n EstimatedFilesToTransfer. This element is implementation-specific for some\n location types, so don't use it as an exact indication of what's transferring or to monitor\n your task execution.

" + "smithy.api#documentation": "

The number of files, objects, and directories that DataSync actually\n transfers over the network. This value is updated periodically during your task execution when\n something is read from the source and sent over the network.

\n

If DataSync fails to transfer something, this value can be less than\n EstimatedFilesToTransfer. In some cases, this value can also be greater than\n EstimatedFilesToTransfer. This element is implementation-specific for some\n location types, so don't use it as an exact indication of what's transferring or to monitor\n your task execution.

" } }, "BytesWritten": { @@ -3276,7 +3276,7 @@ "target": "com.amazonaws.datasync#long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The number of physical bytes that DataSync transfers over the network after\n compression (if compression is possible). This number is typically less than BytesTransferred unless the data isn't compressible.

\n \n

Not currently supported with Enhanced mode\n tasks.

\n
" + "smithy.api#documentation": "

The number of physical bytes that DataSync transfers over the network after\n compression (if compression is possible). This number is typically less than BytesTransferred unless the data isn't compressible.

" } }, "Result": { @@ -3295,7 +3295,7 @@ "target": "com.amazonaws.datasync#long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The number of files, objects, and directories that DataSync actually deletes in\n your destination location. If you don't configure your task to\n delete data in the destination that isn't in the source, the value is always\n 0.

" + "smithy.api#documentation": "

The number of files, objects, and directories that DataSync actually deletes in\n your destination location. If you don't configure your task to delete data in the destination that\n isn't in the source, the value is always 0.

" } }, "FilesSkipped": { @@ -3322,7 +3322,7 @@ "target": "com.amazonaws.datasync#long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The number of files, objects, and directories that DataSync expects to delete in\n your destination location. If you don't configure your task to\n delete data in the destination that isn't in the source, the value is always\n 0.

" + "smithy.api#documentation": "

The number of files, objects, and directories that DataSync expects to delete in\n your destination location. If you don't configure your task to delete data in the destination that\n isn't in the source, the value is always 0.

" } }, "TaskMode": { @@ -3335,7 +3335,7 @@ "target": "com.amazonaws.datasync#long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The number of objects that DataSync will attempt to transfer after comparing\n your source and destination locations.

\n \n

Applies only to Enhanced mode\n tasks.

\n
\n

This metric isn't applicable if you configure your task to transfer all data. In that scenario, DataSync copies everything from the source to the destination without comparing differences between the locations.

" + "smithy.api#documentation": "

The number of objects that DataSync will attempt to transfer after comparing\n your source and destination locations.

\n \n

Applies only to Enhanced mode\n tasks.

\n
\n

This counter isn't applicable if you configure your task to transfer\n all data. In that scenario, DataSync copies everything from the source to\n the destination without comparing differences between the locations.

" } }, "FilesListed": { @@ -8523,7 +8523,7 @@ "target": "com.amazonaws.datasync#long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The number of objects that DataSync finds at your destination location. This metric is only applicable if you configure your task to delete data in the destination that isn't in the source.

" + "smithy.api#documentation": "

The number of objects that DataSync finds at your destination location. This counter is only applicable if you configure your task to delete data in the destination that isn't in the source.

" } } }, diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index d1f27623129..2c2430bf8a9 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -50744,18 +50744,6 @@ "traits": { "smithy.api#enumValue": "use-capacity-reservations-first" } - }, - "USE_CAPACITY_RESERVATIONS_ONLY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "use-capacity-reservations-only" - } - }, - "NONE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "none" - } } } }, diff --git a/codegen/sdk-codegen/aws-models/iot.json b/codegen/sdk-codegen/aws-models/iot.json index 08eca7377bf..d1f0d001641 100644 --- a/codegen/sdk-codegen/aws-models/iot.json +++ b/codegen/sdk-codegen/aws-models/iot.json @@ -570,6 +570,9 @@ { "target": "com.amazonaws.iot#ListPrincipalThings" }, + { + "target": "com.amazonaws.iot#ListPrincipalThingsV2" + }, { "target": "com.amazonaws.iot#ListProvisioningTemplates" }, @@ -615,6 +618,9 @@ { "target": "com.amazonaws.iot#ListThingPrincipals" }, + { + "target": "com.amazonaws.iot#ListThingPrincipalsV2" + }, { "target": "com.amazonaws.iot#ListThingRegistrationTaskReports" }, @@ -801,6 +807,9 @@ { "target": "com.amazonaws.iot#UpdateThingGroupsForThing" }, + { + "target": "com.amazonaws.iot#UpdateThingType" + }, { "target": "com.amazonaws.iot#UpdateTopicRuleDestination" }, @@ -3217,6 +3226,13 @@ "smithy.api#httpHeader": "x-amzn-principal", "smithy.api#required": {} } + }, + "thingPrincipalType": { + "target": "com.amazonaws.iot#ThingPrincipalType", + "traits": { + "smithy.api#documentation": "

The type of the relation you want to specify when you attach a principal to a thing.

\n \n ", + "smithy.api#httpQuery": "thingPrincipalType" + } } }, "traits": { @@ -3273,7 +3289,7 @@ "min": 0, "max": 800 }, - "smithy.api#pattern": "^[a-zA-Z0-9_.,@/:#-]*$" + "smithy.api#pattern": "^[a-zA-Z0-9_.,@/:#=\\[\\]-]*$" } }, "com.amazonaws.iot#Attributes": { @@ -6397,6 +6413,16 @@ "smithy.api#httpError": 409 } }, + "com.amazonaws.iot#ConnectionAttributeName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 128 + }, + "smithy.api#pattern": "^[a-zA-Z0-9:.]+$" + } + }, "com.amazonaws.iot#ConnectivityTimestamp": { "type": "long" }, @@ -15240,7 +15266,7 @@ "thingTypeProperties": { "target": "com.amazonaws.iot#ThingTypeProperties", "traits": { - "smithy.api#documentation": "

The ThingTypeProperties contains information about the thing type including\n\t\t\tdescription, and a list of searchable thing attribute names.

" + "smithy.api#documentation": "

The ThingTypeProperties contains information about the thing type including\n\t\t\tdescription, a list of searchable thing attribute names, and MQTT5 configuration.

" } }, "thingTypeMetadata": { @@ -23771,6 +23797,106 @@ "smithy.api#output": {} } }, + "com.amazonaws.iot#ListPrincipalThingsV2": { + "type": "operation", + "input": { + "target": "com.amazonaws.iot#ListPrincipalThingsV2Request" + }, + "output": { + "target": "com.amazonaws.iot#ListPrincipalThingsV2Response" + }, + "errors": [ + { + "target": "com.amazonaws.iot#InternalFailureException" + }, + { + "target": "com.amazonaws.iot#InvalidRequestException" + }, + { + "target": "com.amazonaws.iot#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.iot#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.iot#ThrottlingException" + }, + { + "target": "com.amazonaws.iot#UnauthorizedException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the things associated with the specified principal. A principal can be an X.509\n\t\t\tcertificate or an Amazon Cognito ID.

\n

Requires permission to access the ListPrincipalThings action.

", + "smithy.api#http": { + "method": "GET", + "uri": "/principals/things-v2", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "principalThingObjects", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.iot#ListPrincipalThingsV2Request": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.iot#NextToken", + "traits": { + "smithy.api#documentation": "

To retrieve the next set of results, the nextToken\n\t\t\t\tvalue from a previous response; otherwise null to receive\n\t\t\t\tthe first set of results.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.iot#RegistryMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in this operation.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "principal": { + "target": "com.amazonaws.iot#Principal", + "traits": { + "smithy.api#documentation": "

The principal. A principal can be an X.509 certificate or an Amazon Cognito ID.

", + "smithy.api#httpHeader": "x-amzn-principal", + "smithy.api#required": {} + } + }, + "thingPrincipalType": { + "target": "com.amazonaws.iot#ThingPrincipalType", + "traits": { + "smithy.api#documentation": "

The type of the relation you want to filter in the response. If no value is provided in\n\t\t\tthis field, the response will list all things, including both the\n\t\t\t\tEXCLUSIVE_THING and NON_EXCLUSIVE_THING attachment\n\t\t\ttypes.

\n \n ", + "smithy.api#httpQuery": "thingPrincipalType" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.iot#ListPrincipalThingsV2Response": { + "type": "structure", + "members": { + "principalThingObjects": { + "target": "com.amazonaws.iot#PrincipalThingObjects", + "traits": { + "smithy.api#documentation": "

A list of thingPrincipalObject that represents the principal and the type of relation it has with the thing.

" + } + }, + "nextToken": { + "target": "com.amazonaws.iot#NextToken", + "traits": { + "smithy.api#documentation": "

The token to use to get the next set of results, or null if there are no additional results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.iot#ListProvisioningTemplateVersions": { "type": "operation", "input": { @@ -25126,6 +25252,106 @@ "smithy.api#output": {} } }, + "com.amazonaws.iot#ListThingPrincipalsV2": { + "type": "operation", + "input": { + "target": "com.amazonaws.iot#ListThingPrincipalsV2Request" + }, + "output": { + "target": "com.amazonaws.iot#ListThingPrincipalsV2Response" + }, + "errors": [ + { + "target": "com.amazonaws.iot#InternalFailureException" + }, + { + "target": "com.amazonaws.iot#InvalidRequestException" + }, + { + "target": "com.amazonaws.iot#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.iot#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.iot#ThrottlingException" + }, + { + "target": "com.amazonaws.iot#UnauthorizedException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the principals associated with the specified thing. A principal can be an X.509\n\t\t\tcertificate or an Amazon Cognito ID.

\n

Requires permission to access the ListThingPrincipals action.

", + "smithy.api#http": { + "method": "GET", + "uri": "/things/{thingName}/principals-v2", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "thingPrincipalObjects", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.iot#ListThingPrincipalsV2Request": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.iot#NextToken", + "traits": { + "smithy.api#documentation": "

To retrieve the next set of results, the nextToken\n\t\t\t\tvalue from a previous response; otherwise null to receive\n\t\t\t\tthe first set of results.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.iot#RegistryMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in this operation.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "thingName": { + "target": "com.amazonaws.iot#ThingName", + "traits": { + "smithy.api#documentation": "

The name of the thing.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "thingPrincipalType": { + "target": "com.amazonaws.iot#ThingPrincipalType", + "traits": { + "smithy.api#documentation": "

The type of the relation you want to filter in the response. If no value is provided in\n\t\t\tthis field, the response will list all principals, including both the\n\t\t\t\tEXCLUSIVE_THING and NON_EXCLUSIVE_THING attachment\n\t\t\ttypes.

\n \n ", + "smithy.api#httpQuery": "thingPrincipalType" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.iot#ListThingPrincipalsV2Response": { + "type": "structure", + "members": { + "thingPrincipalObjects": { + "target": "com.amazonaws.iot#ThingPrincipalObjects", + "traits": { + "smithy.api#documentation": "

A list of thingPrincipalObject that represents the principal and the type of relation it has \n\t\t\t\twith the thing.

" + } + }, + "nextToken": { + "target": "com.amazonaws.iot#NextToken", + "traits": { + "smithy.api#documentation": "

The token to use to get the next set of results, or null if there are no additional results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.iot#ListThingRegistrationTaskReports": { "type": "operation", "input": { @@ -26906,6 +27132,20 @@ } } }, + "com.amazonaws.iot#Mqtt5Configuration": { + "type": "structure", + "members": { + "propagatingAttributes": { + "target": "com.amazonaws.iot#PropagatingAttributeList", + "traits": { + "smithy.api#documentation": "

An object that represents the propagating thing attributes and the connection attributes.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration to add user-defined properties to enrich MQTT 5 messages.

" + } + }, "com.amazonaws.iot#MqttClientId": { "type": "string", "traits": { @@ -27123,6 +27363,15 @@ } } }, + "com.amazonaws.iot#OCSPLambdaArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 140 + } + } + }, "com.amazonaws.iot#OTAUpdateArn": { "type": "string" }, @@ -28015,6 +28264,33 @@ "smithy.api#pattern": "^[a-zA-Z0-9]+$" } }, + "com.amazonaws.iot#PrincipalThingObject": { + "type": "structure", + "members": { + "thingName": { + "target": "com.amazonaws.iot#ThingName", + "traits": { + "smithy.api#documentation": "

The name of the thing.

", + "smithy.api#required": {} + } + }, + "thingPrincipalType": { + "target": "com.amazonaws.iot#ThingPrincipalType", + "traits": { + "smithy.api#documentation": "

The type of the relation you want to specify when you attach a principal to a thing.\n\t\t\t\tThe value defaults to NON_EXCLUSIVE_THING.

\n \n " + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that represents the thing and the type of relation it has with the principal.

" + } + }, + "com.amazonaws.iot#PrincipalThingObjects": { + "type": "list", + "member": { + "target": "com.amazonaws.iot#PrincipalThingObject" + } + }, "com.amazonaws.iot#Principals": { "type": "list", "member": { @@ -28039,6 +28315,38 @@ "target": "com.amazonaws.iot#ProcessingTargetName" } }, + "com.amazonaws.iot#PropagatingAttribute": { + "type": "structure", + "members": { + "userPropertyKey": { + "target": "com.amazonaws.iot#UserPropertyKeyName", + "traits": { + "smithy.api#documentation": "

The key of the user property key-value pair.

" + } + }, + "thingAttribute": { + "target": "com.amazonaws.iot#AttributeName", + "traits": { + "smithy.api#documentation": "

The user-defined thing attribute that is propagating for MQTT 5 message enrichment.

" + } + }, + "connectionAttribute": { + "target": "com.amazonaws.iot#ConnectionAttributeName", + "traits": { + "smithy.api#documentation": "

The attribute associated with the connection between a device and Amazon Web Services IoT Core.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that represents the connection attribute, thing attribute, and the user property key.

" + } + }, + "com.amazonaws.iot#PropagatingAttributeList": { + "type": "list", + "member": { + "target": "com.amazonaws.iot#PropagatingAttribute" + } + }, "com.amazonaws.iot#Protocol": { "type": "enum", "members": { @@ -30388,7 +30696,19 @@ "enableOCSPCheck": { "target": "com.amazonaws.iot#EnableOCSPCheck", "traits": { - "smithy.api#documentation": "

A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server\n certificate check is enabled or not.

\n

For more information, see Configuring OCSP server-certificate stapling in domain\n configuration from Amazon Web Services IoT Core Developer Guide.

" + "smithy.api#documentation": "

A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server\n certificate check is enabled or not.

\n

For more information, see \n Server certificate configuration for OCSP stapling from Amazon Web Services IoT Core Developer Guide.

" + } + }, + "ocspLambdaArn": { + "target": "com.amazonaws.iot#OCSPLambdaArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for a Lambda function that acts as a Request for Comments\n (RFC) 6960-compliant Online Certificate Status Protocol (OCSP) responder, supporting basic\n OCSP responses. The Lambda function accepts a JSON string that's Base64-encoded.\n Therefore, you must convert your OCSP response, which is typically in the Distinguished\n Encoding Rules (DER) format, into a JSON string that's Base64-encoded. The Lambda\n function's response is also a Base64-encoded JSON string and the response payload must not\n exceed 8 kilobytes (KiB) in size. The Lambda function must be in the same Amazon Web Services region and\n account as the domain configuration.

" + } + }, + "ocspAuthorizedResponderArn": { + "target": "com.amazonaws.iot#AcmCertificateArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for an X.509 certificate stored in Amazon Web Services Certificate Manager (ACM). \n If provided, Amazon Web Services IoT Core will use this certificate to validate the signature of the received OCSP response. \n The OCSP responder must sign responses using either this authorized responder certificate or the issuing certificate, \n depending on whether the ARN is provided or not. The certificate must be in the same Amazon Web Services region and account as the domain configuration.\n

" } } }, @@ -32869,6 +33189,50 @@ "target": "com.amazonaws.iot#ThingName" } }, + "com.amazonaws.iot#ThingPrincipalObject": { + "type": "structure", + "members": { + "principal": { + "target": "com.amazonaws.iot#Principal", + "traits": { + "smithy.api#documentation": "

The principal of the thing principal object.

", + "smithy.api#required": {} + } + }, + "thingPrincipalType": { + "target": "com.amazonaws.iot#ThingPrincipalType", + "traits": { + "smithy.api#documentation": "

The type of the relation you want to specify when you attach a principal to a thing.\n\t\t\t\tThe value defaults to NON_EXCLUSIVE_THING.

\n \n " + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that represents the principal and the type of relation it has with the thing.

" + } + }, + "com.amazonaws.iot#ThingPrincipalObjects": { + "type": "list", + "member": { + "target": "com.amazonaws.iot#ThingPrincipalObject" + } + }, + "com.amazonaws.iot#ThingPrincipalType": { + "type": "enum", + "members": { + "EXCLUSIVE_THING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXCLUSIVE_THING" + } + }, + "NON_EXCLUSIVE_THING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NON_EXCLUSIVE_THING" + } + } + } + }, "com.amazonaws.iot#ThingTypeArn": { "type": "string" }, @@ -32974,6 +33338,12 @@ "traits": { "smithy.api#documentation": "

A list of searchable thing attribute names.

" } + }, + "mqtt5Configuration": { + "target": "com.amazonaws.iot#Mqtt5Configuration", + "traits": { + "smithy.api#documentation": "

The configuration to add user-defined properties to enrich MQTT 5 messages.

" + } } }, "traits": { @@ -36251,6 +36621,69 @@ "smithy.api#output": {} } }, + "com.amazonaws.iot#UpdateThingType": { + "type": "operation", + "input": { + "target": "com.amazonaws.iot#UpdateThingTypeRequest" + }, + "output": { + "target": "com.amazonaws.iot#UpdateThingTypeResponse" + }, + "errors": [ + { + "target": "com.amazonaws.iot#InternalFailureException" + }, + { + "target": "com.amazonaws.iot#InvalidRequestException" + }, + { + "target": "com.amazonaws.iot#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.iot#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.iot#ThrottlingException" + }, + { + "target": "com.amazonaws.iot#UnauthorizedException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates a thing type.

", + "smithy.api#http": { + "method": "PATCH", + "uri": "/thing-types/{thingTypeName}", + "code": 200 + } + } + }, + "com.amazonaws.iot#UpdateThingTypeRequest": { + "type": "structure", + "members": { + "thingTypeName": { + "target": "com.amazonaws.iot#ThingTypeName", + "traits": { + "smithy.api#documentation": "

The name of a thing type.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "thingTypeProperties": { + "target": "com.amazonaws.iot#ThingTypeProperties" + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.iot#UpdateThingTypeResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.iot#UpdateTopicRuleDestination": { "type": "operation", "input": { @@ -36369,6 +36802,16 @@ } } }, + "com.amazonaws.iot#UserPropertyKeyName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 128 + }, + "smithy.api#pattern": "^[a-zA-Z0-9:$.]+$" + } + }, "com.amazonaws.iot#UserPropertyValue": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/outposts.json b/codegen/sdk-codegen/aws-models/outposts.json index 969a1dcc393..93969fca116 100644 --- a/codegen/sdk-codegen/aws-models/outposts.json +++ b/codegen/sdk-codegen/aws-models/outposts.json @@ -5148,6 +5148,12 @@ "traits": { "smithy.api#enumValue": "ONE_YEAR" } + }, + "FIVE_YEARS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIVE_YEARS" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json index e07d0fd225c..f18ad8aeb9f 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json +++ b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json @@ -500,6 +500,10 @@ "value": "default-sender-id", "name": "DEFAULT_SENDER_ID" }, + { + "value": "default-message-feedback-enabled", + "name": "DEFAULT_MESSAGE_FEEDBACK_ENABLED" + }, { "value": "protect-configuration-id", "name": "PROTECT_CONFIGURATION_ID" @@ -543,6 +547,12 @@ "smithy.api#documentation": "

The default sender ID used by the ConfigurationSet.

" } }, + "DefaultMessageFeedbackEnabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

True if message feedback is enabled.

" + } + }, "CreatedTimestamp": { "target": "smithy.api#Timestamp", "traits": { @@ -771,6 +781,10 @@ { "value": "DESTINATION_COUNTRY_BLOCKED_BY_PROTECT_CONFIGURATION", "name": "DESTINATION_COUNTRY_BLOCKED_BY_PROTECT_CONFIGURATION" + }, + { + "value": "DESTINATION_PHONE_NUMBER_BLOCKED_BY_PROTECT_NUMBER_OVERRIDE", + "name": "DESTINATION_PHONE_NUMBER_BLOCKED_BY_PROTECT_NUMBER_OVERRIDE" } ] } @@ -2073,6 +2087,12 @@ "smithy.api#documentation": "

The default Sender ID of the configuration set that was deleted.

" } }, + "DefaultMessageFeedbackEnabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

True if the configuration set has message feedback enabled. By default this is set to false.

" + } + }, "CreatedTimestamp": { "target": "smithy.api#Timestamp", "traits": { @@ -2822,6 +2842,112 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfigurationRuleSetNumberOverride": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfigurationRuleSetNumberOverrideRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfigurationRuleSetNumberOverrideResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Permanently delete the protect configuration rule set number override.

" + } + }, + "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfigurationRuleSetNumberOverrideRequest": { + "type": "structure", + "members": { + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "

The unique identifier for the protect configuration.

", + "smithy.api#required": {} + } + }, + "DestinationPhoneNumber": { + "target": "com.amazonaws.pinpointsmsvoicev2#PhoneNumber", + "traits": { + "smithy.api#documentation": "

The destination phone number in E.164 format.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfigurationRuleSetNumberOverrideResult": { + "type": "structure", + "members": { + "ProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the protect configuration.

", + "smithy.api#required": {} + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the protect configuration.

", + "smithy.api#required": {} + } + }, + "DestinationPhoneNumber": { + "target": "com.amazonaws.pinpointsmsvoicev2#PhoneNumber", + "traits": { + "smithy.api#documentation": "

The destination phone number in E.164 format.

", + "smithy.api#required": {} + } + }, + "CreatedTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the rule was created, in UNIX epoch time format.

", + "smithy.api#required": {} + } + }, + "Action": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleOverrideAction", + "traits": { + "smithy.api#documentation": "

The action associated with the rule.

", + "smithy.api#required": {} + } + }, + "IsoCountryCode": { + "target": "com.amazonaws.pinpointsmsvoicev2#IsoCountryCode", + "traits": { + "smithy.api#documentation": "

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

" + } + }, + "ExpirationTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the resource-based policy was created, in UNIX epoch time format.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#DeleteRegistration": { "type": "operation", "input": { @@ -5015,7 +5141,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the specified verified destiona numbers.

", + "smithy.api#documentation": "

Retrieves the specified verified destination numbers.

", "smithy.api#paginated": { "items": "VerifiedDestinationNumbers" } @@ -5027,7 +5153,7 @@ "VerifiedDestinationNumberIds": { "target": "com.amazonaws.pinpointsmsvoicev2#VerifiedDestinationNumberIdList", "traits": { - "smithy.api#documentation": "

An array of VerifiedDestinationNumberid to retreive.

" + "smithy.api#documentation": "

An array of VerifiedDestinationNumberid to retrieve.

" } }, "DestinationPhoneNumbers": { @@ -5547,6 +5673,10 @@ "value": "TEXT_TTL_EXPIRED", "name": "TEXT_TTL_EXPIRED" }, + { + "value": "TEXT_PROTECT_BLOCKED", + "name": "TEXT_PROTECT_BLOCKED" + }, { "value": "VOICE_ALL", "name": "VOICE_ALL" @@ -5732,7 +5862,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "^[/\\.:A-Za-z0-9_-]+$" + "smithy.api#pattern": "^[/\\.:A-Za-z0-9+_-]+$" } }, "com.amazonaws.pinpointsmsvoicev2#FilterValueList": { @@ -6250,6 +6380,117 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#ListProtectConfigurationRuleSetNumberOverrideFilter": { + "type": "list", + "member": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleSetNumberOverrideFilterItem" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.pinpointsmsvoicev2#ListProtectConfigurationRuleSetNumberOverrides": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#ListProtectConfigurationRuleSetNumberOverridesRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#ListProtectConfigurationRuleSetNumberOverridesResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieve all of the protect configuration rule set number overrides that match the filters.

", + "smithy.api#paginated": { + "items": "RuleSetNumberOverrides" + } + } + }, + "com.amazonaws.pinpointsmsvoicev2#ListProtectConfigurationRuleSetNumberOverridesRequest": { + "type": "structure", + "members": { + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "

The unique identifier for the protect configuration.

", + "smithy.api#required": {} + } + }, + "Filters": { + "target": "com.amazonaws.pinpointsmsvoicev2#ListProtectConfigurationRuleSetNumberOverrideFilter", + "traits": { + "smithy.api#documentation": "

An array of ProtectConfigurationRuleSetNumberOverrideFilterItem objects to filter the results.

" + } + }, + "NextToken": { + "target": "com.amazonaws.pinpointsmsvoicev2#NextToken", + "traits": { + "smithy.api#documentation": "

The token to be used for the next set of paginated results. You don't need to supply a\n value for this field in the initial request.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.pinpointsmsvoicev2#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return per each request.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#ListProtectConfigurationRuleSetNumberOverridesResult": { + "type": "structure", + "members": { + "ProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the protect configuration.

", + "smithy.api#required": {} + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the protect configuration.

", + "smithy.api#required": {} + } + }, + "RuleSetNumberOverrides": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleSetNumberOverrideList", + "traits": { + "smithy.api#documentation": "

An array of RuleSetNumberOverrides objects.

" + } + }, + "NextToken": { + "target": "com.amazonaws.pinpointsmsvoicev2#NextToken", + "traits": { + "smithy.api#documentation": "

The token to be used for the next set of paginated results. You don't need to supply a\n value for this field in the initial request.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#ListRegistrationAssociations": { "type": "operation", "input": { @@ -6276,7 +6517,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retreive all of the origination identies that are associated with a registration.

", + "smithy.api#documentation": "

Retrieve all of the origination identities that are associated with a registration.

", "smithy.api#paginated": { "items": "RegistrationAssociations" } @@ -6482,6 +6723,31 @@ "smithy.api#pattern": "^s3://([a-z0-9\\.-]{3,63})/(.+)$" } }, + "com.amazonaws.pinpointsmsvoicev2#MessageFeedbackStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "RECEIVED", + "name": "RECEIVED" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] + } + }, + "com.amazonaws.pinpointsmsvoicev2#MessageId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[A-Za-z0-9_:/-]+$" + } + }, "com.amazonaws.pinpointsmsvoicev2#MessageType": { "type": "string", "traits": { @@ -7186,6 +7452,9 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfiguration" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#DeleteProtectConfigurationRuleSetNumberOverride" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#DeleteRegistration" }, @@ -7282,6 +7551,9 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#ListPoolOriginationIdentities" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ListProtectConfigurationRuleSetNumberOverrides" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#ListRegistrationAssociations" }, @@ -7291,9 +7563,15 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#PutKeyword" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#PutMessageFeedback" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#PutOptedOutNumber" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#PutProtectConfigurationRuleSetNumberOverride" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#PutRegistrationFieldValue" }, @@ -7327,6 +7605,9 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#SetAccountDefaultProtectConfiguration" }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#SetDefaultMessageFeedbackEnabled" + }, { "target": "com.amazonaws.pinpointsmsvoicev2#SetDefaultMessageType" }, @@ -8586,7 +8867,7 @@ } } }, - "com.amazonaws.pinpointsmsvoicev2#ProtectStatus": { + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleOverrideAction": { "type": "string", "traits": { "smithy.api#enum": [ @@ -8601,19 +8882,144 @@ ] } }, - "com.amazonaws.pinpointsmsvoicev2#PutKeyword": { - "type": "operation", - "input": { - "target": "com.amazonaws.pinpointsmsvoicev2#PutKeywordRequest" - }, - "output": { - "target": "com.amazonaws.pinpointsmsvoicev2#PutKeywordResult" - }, - "errors": [ - { - "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleSetNumberOverride": { + "type": "structure", + "members": { + "DestinationPhoneNumber": { + "target": "com.amazonaws.pinpointsmsvoicev2#PhoneNumber", + "traits": { + "smithy.api#documentation": "

The destination phone number in E.164 format.

", + "smithy.api#required": {} + } }, - { + "CreatedTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the rule was created, in UNIX epoch time format.

", + "smithy.api#required": {} + } + }, + "Action": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleOverrideAction", + "traits": { + "smithy.api#documentation": "

The action for the rule to perform of either blocking or allowing messages to the destination phone number.

", + "smithy.api#required": {} + } + }, + "IsoCountryCode": { + "target": "com.amazonaws.pinpointsmsvoicev2#IsoCountryCode", + "traits": { + "smithy.api#documentation": "

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

" + } + }, + "ExpirationTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time the rule will expire at. If ExpirationTimestamp is not set then the rule will not expire.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides details on a RuleSetNumberOverride.

" + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleSetNumberOverrideFilterItem": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleSetNumberOverrideFilterName", + "traits": { + "smithy.api#documentation": "

The name of the attribute to filter on.

", + "smithy.api#required": {} + } + }, + "Values": { + "target": "com.amazonaws.pinpointsmsvoicev2#FilterValueList", + "traits": { + "smithy.api#documentation": "

An array values to filter for.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The information for a protect configuration rule set number override that meets a specified criteria.

" + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleSetNumberOverrideFilterName": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "iso-country-code", + "name": "ISO_COUNTRY_CODE" + }, + { + "value": "destination-phone-number-begins-with", + "name": "DESTINATION_PHONE_NUMBER_BEGINS_WITH" + }, + { + "value": "action", + "name": "ACTION" + }, + { + "value": "expires-before", + "name": "EXPIRES_BEFORE" + }, + { + "value": "expires-after", + "name": "EXPIRES_AFTER" + }, + { + "value": "created-before", + "name": "CREATED_BEFORE" + }, + { + "value": "created-after", + "name": "CREATED_AFTER" + } + ] + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleSetNumberOverrideList": { + "type": "list", + "member": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleSetNumberOverride" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.pinpointsmsvoicev2#ProtectStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ALLOW", + "name": "ALLOW" + }, + { + "value": "BLOCK", + "name": "BLOCK" + } + ] + } + }, + "com.amazonaws.pinpointsmsvoicev2#PutKeyword": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#PutKeywordRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#PutKeywordResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { "target": "com.amazonaws.pinpointsmsvoicev2#ConflictException" }, { @@ -8709,6 +9115,79 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#PutMessageFeedback": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#PutMessageFeedbackRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#PutMessageFeedbackResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Set the MessageFeedbackStatus as RECEIVED or FAILED for the\n passed in MessageId.

\n

If you use message feedback then you must update message feedback record. When you receive a signal that a user has received the message you must use\n PutMessageFeedback to set the message feedback record as\n RECEIVED; Otherwise, an hour after the message feedback record is set\n to FAILED.

" + } + }, + "com.amazonaws.pinpointsmsvoicev2#PutMessageFeedbackRequest": { + "type": "structure", + "members": { + "MessageId": { + "target": "com.amazonaws.pinpointsmsvoicev2#MessageId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the message.

", + "smithy.api#required": {} + } + }, + "MessageFeedbackStatus": { + "target": "com.amazonaws.pinpointsmsvoicev2#MessageFeedbackStatus", + "traits": { + "smithy.api#documentation": "

Set the message feedback to be either RECEIVED or FAILED.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#PutMessageFeedbackResult": { + "type": "structure", + "members": { + "MessageId": { + "target": "com.amazonaws.pinpointsmsvoicev2#MessageId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the message.

", + "smithy.api#required": {} + } + }, + "MessageFeedbackStatus": { + "target": "com.amazonaws.pinpointsmsvoicev2#MessageFeedbackStatus", + "traits": { + "smithy.api#documentation": "

The current status of the message.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#PutOptedOutNumber": { "type": "operation", "input": { @@ -8799,6 +9278,135 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#PutProtectConfigurationRuleSetNumberOverride": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#PutProtectConfigurationRuleSetNumberOverrideRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#PutProtectConfigurationRuleSetNumberOverrideResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ConflictException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Create or update a RuleSetNumberOverride and associate it with a protect configuration.

" + } + }, + "com.amazonaws.pinpointsmsvoicev2#PutProtectConfigurationRuleSetNumberOverrideRequest": { + "type": "structure", + "members": { + "ClientToken": { + "target": "com.amazonaws.pinpointsmsvoicev2#ClientToken", + "traits": { + "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don't specify a client token, a randomly generated token is used for the\n request to ensure idempotency.

", + "smithy.api#idempotencyToken": {} + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationIdOrArn", + "traits": { + "smithy.api#documentation": "

The unique identifier for the protect configuration.

", + "smithy.api#required": {} + } + }, + "DestinationPhoneNumber": { + "target": "com.amazonaws.pinpointsmsvoicev2#PhoneNumber", + "traits": { + "smithy.api#documentation": "

The destination phone number in E.164 format.

", + "smithy.api#required": {} + } + }, + "Action": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleOverrideAction", + "traits": { + "smithy.api#documentation": "

The action for the rule to either block or allow messages to the destination phone number.

", + "smithy.api#required": {} + } + }, + "ExpirationTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time the rule will expire at. If ExpirationTimestamp is not set then the rule does not expire.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#PutProtectConfigurationRuleSetNumberOverrideResult": { + "type": "structure", + "members": { + "ProtectConfigurationArn": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the protect configuration.

", + "smithy.api#required": {} + } + }, + "ProtectConfigurationId": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the protect configuration.

", + "smithy.api#required": {} + } + }, + "DestinationPhoneNumber": { + "target": "com.amazonaws.pinpointsmsvoicev2#PhoneNumber", + "traits": { + "smithy.api#documentation": "

The destination phone number in E.164 format.

", + "smithy.api#required": {} + } + }, + "CreatedTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the rule was created, in UNIX epoch time format.

", + "smithy.api#required": {} + } + }, + "Action": { + "target": "com.amazonaws.pinpointsmsvoicev2#ProtectConfigurationRuleOverrideAction", + "traits": { + "smithy.api#documentation": "

The action for the rule to take.

", + "smithy.api#required": {} + } + }, + "IsoCountryCode": { + "target": "com.amazonaws.pinpointsmsvoicev2#IsoCountryCode", + "traits": { + "smithy.api#documentation": "

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

" + } + }, + "ExpirationTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time the rule will expire at.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#PutRegistrationFieldValue": { "type": "operation", "input": { @@ -10831,6 +11439,10 @@ { "value": "policy", "name": "POLICY" + }, + { + "value": "message", + "name": "MESSAGE" } ] } @@ -11119,7 +11731,7 @@ "TimeToLive": { "target": "com.amazonaws.pinpointsmsvoicev2#TimeToLive", "traits": { - "smithy.api#documentation": "

How long the text message is valid for. By default this is 72 hours.

" + "smithy.api#documentation": "

How long the media message is valid for. By default this is 72 hours.

" } }, "Context": { @@ -11140,6 +11752,12 @@ "traits": { "smithy.api#documentation": "

The unique identifier of the protect configuration to use.

" } + }, + "MessageFeedbackEnabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.

" + } } }, "traits": { @@ -11271,6 +11889,12 @@ "traits": { "smithy.api#documentation": "

The unique identifier for the protect configuration.

" } + }, + "MessageFeedbackEnabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.

" + } } }, "traits": { @@ -11397,6 +12021,12 @@ "traits": { "smithy.api#documentation": "

The unique identifier for the protect configuration.

" } + }, + "MessageFeedbackEnabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.

" + } } }, "traits": { @@ -11784,6 +12414,83 @@ "smithy.api#output": {} } }, + "com.amazonaws.pinpointsmsvoicev2#SetDefaultMessageFeedbackEnabled": { + "type": "operation", + "input": { + "target": "com.amazonaws.pinpointsmsvoicev2#SetDefaultMessageFeedbackEnabledRequest" + }, + "output": { + "target": "com.amazonaws.pinpointsmsvoicev2#SetDefaultMessageFeedbackEnabledResult" + }, + "errors": [ + { + "target": "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#InternalServerException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ThrottlingException" + }, + { + "target": "com.amazonaws.pinpointsmsvoicev2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Sets a configuration set's default for message feedback.

" + } + }, + "com.amazonaws.pinpointsmsvoicev2#SetDefaultMessageFeedbackEnabledRequest": { + "type": "structure", + "members": { + "ConfigurationSetName": { + "target": "com.amazonaws.pinpointsmsvoicev2#ConfigurationSetNameOrArn", + "traits": { + "smithy.api#documentation": "

The name of the configuration set to use. This can be either the ConfigurationSetName\n or ConfigurationSetArn.

", + "smithy.api#required": {} + } + }, + "MessageFeedbackEnabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Set to true to enable message feedback.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.pinpointsmsvoicev2#SetDefaultMessageFeedbackEnabledResult": { + "type": "structure", + "members": { + "ConfigurationSetArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The arn of the configuration set.

" + } + }, + "ConfigurationSetName": { + "target": "com.amazonaws.pinpointsmsvoicev2#ConfigurationSetName", + "traits": { + "smithy.api#documentation": "

The name of the configuration.

" + } + }, + "MessageFeedbackEnabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

True if message feedback is enabled.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.pinpointsmsvoicev2#SetDefaultMessageType": { "type": "operation", "input": { diff --git a/codegen/sdk-codegen/aws-models/polly.json b/codegen/sdk-codegen/aws-models/polly.json index c5ade3bce3f..d7148ba01e3 100644 --- a/codegen/sdk-codegen/aws-models/polly.json +++ b/codegen/sdk-codegen/aws-models/polly.json @@ -2246,7 +2246,7 @@ "documentation": "Stores a pronunciation lexicon in an AWS Region.", "input": { "Name": "W3C", - "Content": "file://example.pls" + "Content": "" }, "output": {} } diff --git a/codegen/sdk-codegen/aws-models/route53resolver.json b/codegen/sdk-codegen/aws-models/route53resolver.json index 531e53abe8d..2701e9de7ba 100644 --- a/codegen/sdk-codegen/aws-models/route53resolver.json +++ b/codegen/sdk-codegen/aws-models/route53resolver.json @@ -493,6 +493,29 @@ "smithy.api#default": false } }, + "com.amazonaws.route53resolver#ConfidenceThreshold": { + "type": "enum", + "members": { + "LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOW" + } + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEDIUM" + } + }, + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIGH" + } + } + } + }, "com.amazonaws.route53resolver#ConflictException": { "type": "structure", "members": { @@ -708,8 +731,7 @@ "FirewallDomainListId": { "target": "com.amazonaws.route53resolver#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the domain list that you want to use in the rule.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The ID of the domain list that you want to use in the rule. Can't be used together with DnsThreatProtecton.

" } }, "Priority": { @@ -722,7 +744,7 @@ "Action": { "target": "com.amazonaws.route53resolver#Action", "traits": { - "smithy.api#documentation": "

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list:

\n ", + "smithy.api#documentation": "

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule:

\n ", "smithy.api#required": {} } }, @@ -760,7 +782,7 @@ "FirewallDomainRedirectionAction": { "target": "com.amazonaws.route53resolver#FirewallDomainRedirectionAction", "traits": { - "smithy.api#documentation": "

\n\t\t\tHow you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. \n\t\t

\n

\n Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be \n\t\t\tadded to the domain list.

\n

\n Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to \n\t\t\tthe domain list.

" + "smithy.api#documentation": "

\n\t\t\tHow you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. \n\t\t

\n

\n INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be \n\t\t\tadded to the domain list.

\n

\n TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to \n\t\t\tthe domain list.

" } }, "Qtype": { @@ -768,6 +790,18 @@ "traits": { "smithy.api#documentation": "

\n\t\t\tThe DNS query type you want the rule to evaluate. Allowed values are;\n\t\t

\n " } + }, + "DnsThreatProtection": { + "target": "com.amazonaws.route53resolver#DnsThreatProtection", + "traits": { + "smithy.api#documentation": "

\n\t\t\tUse to create a DNS Firewall Advanced rule.\n\t\t

" + } + }, + "ConfidenceThreshold": { + "target": "com.amazonaws.route53resolver#ConfidenceThreshold", + "traits": { + "smithy.api#documentation": "

\n\t\t\tThe confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence\n\t\t\tlevel values mean:\n\t\t

\n " + } } }, "traits": { @@ -1288,6 +1322,9 @@ }, { "target": "com.amazonaws.route53resolver#ThrottlingException" + }, + { + "target": "com.amazonaws.route53resolver#ValidationException" } ], "traits": { @@ -1368,8 +1405,13 @@ "FirewallDomainListId": { "target": "com.amazonaws.route53resolver#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the domain list that's used in the rule.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The ID of the domain list that's used in the rule.

" + } + }, + "FirewallThreatProtectionId": { + "target": "com.amazonaws.route53resolver#ResourceId", + "traits": { + "smithy.api#documentation": "

\n\t\t\tThe ID that is created for a DNS Firewall Advanced rule.\n\t\t

" } }, "Qtype": { @@ -1903,6 +1945,23 @@ "smithy.api#output": {} } }, + "com.amazonaws.route53resolver#DnsThreatProtection": { + "type": "enum", + "members": { + "DGA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DGA" + } + }, + "DNS_TUNNELING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DNS_TUNNELING" + } + } + } + }, "com.amazonaws.route53resolver#DomainListFileUrl": { "type": "string", "traits": { @@ -2254,7 +2313,7 @@ "FirewallRuleGroupId": { "target": "com.amazonaws.route53resolver#ResourceId", "traits": { - "smithy.api#documentation": "

The unique identifier of the firewall rule group of the rule.

" + "smithy.api#documentation": "

The unique identifier of the Firewall rule group of the rule.

" } }, "FirewallDomainListId": { @@ -2263,6 +2322,12 @@ "smithy.api#documentation": "

The ID of the domain list that's used in the rule.

" } }, + "FirewallThreatProtectionId": { + "target": "com.amazonaws.route53resolver#ResourceId", + "traits": { + "smithy.api#documentation": "

\n\t\t\tID of the DNS Firewall Advanced rule.\n\t\t

" + } + }, "Name": { "target": "com.amazonaws.route53resolver#Name", "traits": { @@ -2278,7 +2343,7 @@ "Action": { "target": "com.amazonaws.route53resolver#Action", "traits": { - "smithy.api#documentation": "

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list:

\n " + "smithy.api#documentation": "

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule:

\n " } }, "BlockResponse": { @@ -2326,7 +2391,7 @@ "FirewallDomainRedirectionAction": { "target": "com.amazonaws.route53resolver#FirewallDomainRedirectionAction", "traits": { - "smithy.api#documentation": "

\n\t\t\tHow you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. \n\t\t

\n

\n Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be \n\t\t\tadded to the domain list.

\n

\n Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to \n\t\t\tthe domain list.

" + "smithy.api#documentation": "

\n\t\t\tHow you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. \n\t\t

\n

\n INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be \n\t\t\tadded to the domain list.

\n

\n TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to \n\t\t\tthe domain list.

" } }, "Qtype": { @@ -2334,6 +2399,18 @@ "traits": { "smithy.api#documentation": "

\n\t\t\tThe DNS query type you want the rule to evaluate. Allowed values are;\n\t\t

\n " } + }, + "DnsThreatProtection": { + "target": "com.amazonaws.route53resolver#DnsThreatProtection", + "traits": { + "smithy.api#documentation": "

\n\t\t\tThe type of the DNS Firewall Advanced rule. Valid values are:\n\t\t

\n " + } + }, + "ConfidenceThreshold": { + "target": "com.amazonaws.route53resolver#ConfidenceThreshold", + "traits": { + "smithy.api#documentation": "

\n\t\t\tThe confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence\n\t\t\tlevel values mean:\n\t\t

\n " + } } }, "traits": { @@ -4373,7 +4450,7 @@ "Action": { "target": "com.amazonaws.route53resolver#Action", "traits": { - "smithy.api#documentation": "

Optional additional filter for the rules to retrieve.

\n

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list:

\n " + "smithy.api#documentation": "

Optional additional filter for the rules to retrieve.

\n

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule:

\n " } }, "MaxResults": { @@ -6239,7 +6316,7 @@ "Status": { "target": "com.amazonaws.route53resolver#ResolverQueryLogConfigAssociationStatus", "traits": { - "smithy.api#documentation": "

The status of the specified query logging association. Valid values include the following:

\n " + "smithy.api#documentation": "

The status of the specified query logging association. Valid values include the following:

\n " } }, "Error": { @@ -8213,7 +8290,7 @@ "Protocol": { "target": "com.amazonaws.route53resolver#Protocol", "traits": { - "smithy.api#documentation": "

\n\t\t\tThe protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.\n\t\t\t\n\t\t

\n

For an inbound endpoint you can apply the protocols as follows:

\n \n

For an outbound endpoint you can apply the protocols as follows:

\n " + "smithy.api#documentation": "

\n\t\t\tThe protocols for the target address. The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule.

" } }, "ServerNameIndication": { @@ -8608,8 +8685,13 @@ "FirewallDomainListId": { "target": "com.amazonaws.route53resolver#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the domain list to use in the rule.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The ID of the domain list to use in the rule.

" + } + }, + "FirewallThreatProtectionId": { + "target": "com.amazonaws.route53resolver#ResourceId", + "traits": { + "smithy.api#documentation": "

\n\t\t\tThe DNS Firewall Advanced rule ID.\n\t\t

" } }, "Priority": { @@ -8621,7 +8703,7 @@ "Action": { "target": "com.amazonaws.route53resolver#Action", "traits": { - "smithy.api#documentation": "

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list:

\n " + "smithy.api#documentation": "

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule:

\n " } }, "BlockResponse": { @@ -8657,7 +8739,7 @@ "FirewallDomainRedirectionAction": { "target": "com.amazonaws.route53resolver#FirewallDomainRedirectionAction", "traits": { - "smithy.api#documentation": "

\n\t\t\tHow you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. \n\t\t

\n

\n Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be \n\t\t\tadded to the domain list.

\n

\n Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to \n\t\t\tthe domain list.

" + "smithy.api#documentation": "

\n\t\t\tHow you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. \n\t\t

\n

\n INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be \n\t\t\tadded to the domain list.

\n

\n TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to \n\t\t\tthe domain list.

" } }, "Qtype": { @@ -8665,6 +8747,18 @@ "traits": { "smithy.api#documentation": "

\n\t\t\tThe DNS query type you want the rule to evaluate. Allowed values are;\n\t\t

\n " } + }, + "DnsThreatProtection": { + "target": "com.amazonaws.route53resolver#DnsThreatProtection", + "traits": { + "smithy.api#documentation": "

\n\t\t\tThe type of the DNS Firewall Advanced rule. Valid values are:\n\t\t

\n " + } + }, + "ConfidenceThreshold": { + "target": "com.amazonaws.route53resolver#ConfidenceThreshold", + "traits": { + "smithy.api#documentation": "

\n\t\t\tThe confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence\n\t\t\tlevel values mean:\n\t\t

\n " + } } }, "traits": { From d192e9ce88c59f6b572a61767e7a1377f7acde2f Mon Sep 17 00:00:00 2001 From: AWS SDK Swift Automation Date: Fri, 15 Nov 2024 19:03:26 +0000 Subject: [PATCH 2/3] Update endpoints model --- codegen/sdk-codegen/sdk-endpoints.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codegen/sdk-codegen/sdk-endpoints.json b/codegen/sdk-codegen/sdk-endpoints.json index cb6ce9d8f90..02b08efd46a 100644 --- a/codegen/sdk-codegen/sdk-endpoints.json +++ b/codegen/sdk-codegen/sdk-endpoints.json @@ -8125,6 +8125,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -8177,6 +8178,7 @@ "deprecated" : true, "hostname" : "emr-containers-fips.us-west-2.amazonaws.com" }, + "il-central-1" : { }, "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, @@ -21253,6 +21255,7 @@ "ap-southeast-2" : { }, "ap-southeast-3" : { }, "ap-southeast-4" : { }, + "ap-southeast-5" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "transfer-fips.ca-central-1.amazonaws.com", From 3dc79b293a1475eeca420c59257756f540ec230d Mon Sep 17 00:00:00 2001 From: AWS SDK Swift Automation Date: Fri, 15 Nov 2024 19:53:48 +0000 Subject: [PATCH 3/3] chore: Updates version to 1.0.42 --- Package.swift | 1 + Package.version | 2 +- Package.version.next | 2 +- .../Documentation.docc/AWSSDKForSwift.md | 2 + .../AWSACM/Sources/AWSACM/ACMClient.swift | 2 +- .../Sources/AWSACMPCA/ACMPCAClient.swift | 2 +- .../AWSAPIGateway/APIGatewayClient.swift | 2 +- .../ARCZonalShiftClient.swift | 2 +- .../AccessAnalyzerClient.swift | 2 +- .../Sources/AWSAccount/AccountClient.swift | 2 +- .../AWSAmp/Sources/AWSAmp/AmpClient.swift | 2 +- .../Sources/AWSAmplify/AmplifyClient.swift | 2 +- .../AmplifyBackendClient.swift | 2 +- .../AmplifyUIBuilderClient.swift | 2 +- .../ApiGatewayManagementApiClient.swift | 2 +- .../AWSApiGatewayV2/ApiGatewayV2Client.swift | 2 +- .../AWSAppConfig/AppConfigClient.swift | 2 +- .../AppConfigDataClient.swift | 2 +- .../AWSAppFabric/AppFabricClient.swift | 2 +- .../AppIntegrationsClient.swift | 2 +- .../Sources/AWSAppMesh/AppMeshClient.swift | 2 +- .../AWSAppRunner/AppRunnerClient.swift | 2 +- .../AWSAppStream/AppStreamClient.swift | 2 +- .../Sources/AWSAppSync/AppSyncClient.swift | 2 +- .../Sources/AWSAppTest/AppTestClient.swift | 2 +- .../Sources/AWSAppflow/AppflowClient.swift | 2 +- .../ApplicationAutoScalingClient.swift | 2 +- .../ApplicationCostProfilerClient.swift | 2 +- .../ApplicationDiscoveryClient.swift | 2 +- .../ApplicationInsightsClient.swift | 2 +- .../ApplicationSignalsClient.swift | 2 +- .../Sources/AWSArtifact/ArtifactClient.swift | 2 +- .../Sources/AWSAthena/AthenaClient.swift | 2 +- .../AWSAuditManager/AuditManagerClient.swift | 2 +- .../AWSAutoScaling/AutoScalingClient.swift | 2 +- .../AutoScalingPlansClient.swift | 2 +- .../AWSB2bi/Sources/AWSB2bi/B2biClient.swift | 2 +- .../BCMDataExportsClient.swift | 2 +- .../Sources/AWSBackup/BackupClient.swift | 2 +- .../BackupGatewayClient.swift | 2 +- .../Sources/AWSBatch/BatchClient.swift | 2 +- .../Sources/AWSBedrock/BedrockClient.swift | 2 +- .../AWSBedrockAgent/BedrockAgentClient.swift | 2 +- .../BedrockAgentRuntimeClient.swift | 2 +- .../BedrockRuntimeClient.swift | 2 +- .../Sources/AWSBilling/BillingClient.swift | 2 +- .../BillingconductorClient.swift | 2 +- .../Sources/AWSBraket/BraketClient.swift | 2 +- .../Sources/AWSBudgets/BudgetsClient.swift | 2 +- .../Sources/AWSChatbot/ChatbotClient.swift | 2 +- .../Sources/AWSChime/ChimeClient.swift | 2 +- .../ChimeSDKIdentityClient.swift | 2 +- .../ChimeSDKMediaPipelinesClient.swift | 2 +- .../ChimeSDKMeetingsClient.swift | 2 +- .../ChimeSDKMessagingClient.swift | 2 +- .../ChimeSDKVoiceClient.swift | 2 +- .../AWSCleanRooms/CleanRoomsClient.swift | 2 +- .../AWSCleanRoomsML/CleanRoomsMLClient.swift | 2 +- .../Sources/AWSCloud9/Cloud9Client.swift | 2 +- .../AWSCloudControl/CloudControlClient.swift | 2 +- .../CloudDirectoryClient.swift | 2 +- .../CloudFormationClient.swift | 2 +- .../AWSCloudFront/CloudFrontClient.swift | 2 +- .../CloudFrontKeyValueStoreClient.swift | 2 +- .../Sources/AWSCloudHSM/CloudHSMClient.swift | 2 +- .../AWSCloudHSMV2/CloudHSMV2Client.swift | 2 +- .../AWSCloudSearch/CloudSearchClient.swift | 2 +- .../CloudSearchDomainClient.swift | 2 +- .../AWSCloudTrail/CloudTrailClient.swift | 2 +- .../CloudTrailDataClient.swift | 2 +- .../AWSCloudWatch/CloudWatchClient.swift | 4 +- .../Sources/AWSCloudWatch/Models.swift | 261 +- .../CloudWatchEventsClient.swift | 2 +- .../CloudWatchLogsClient.swift | 2 +- .../AWSCodeBuild/CodeBuildClient.swift | 2 +- .../AWSCodeCatalyst/CodeCatalystClient.swift | 2 +- .../AWSCodeCommit/CodeCommitClient.swift | 2 +- .../CodeConnectionsClient.swift | 2 +- .../AWSCodeDeploy/CodeDeployClient.swift | 2 +- .../CodeGuruProfilerClient.swift | 2 +- .../CodeGuruReviewerClient.swift | 2 +- .../CodeGuruSecurityClient.swift | 2 +- .../AWSCodePipeline/CodePipelineClient.swift | 2 +- .../CodeStarconnectionsClient.swift | 2 +- .../AWSCodeartifact/CodeartifactClient.swift | 2 +- .../CodestarnotificationsClient.swift | 2 +- .../CognitoIdentityClient.swift | 2 +- .../CognitoIdentityProviderClient.swift | 2 +- .../AWSCognitoSync/CognitoSyncClient.swift | 2 +- .../AWSComprehend/ComprehendClient.swift | 2 +- .../ComprehendMedicalClient.swift | 2 +- .../ComputeOptimizerClient.swift | 2 +- .../AWSConfigService/ConfigClient.swift | 2 +- .../Sources/AWSConnect/ConnectClient.swift | 2 +- .../ConnectCampaignsClient.swift | 2 +- .../AWSConnectCampaignsV2/Package.swift.txt | 96 + .../AuthSchemeResolver.swift | 56 + .../ConnectCampaignsV2Client.swift | 2503 ++++++++ .../AWSConnectCampaignsV2/Endpoints.swift | 73 + .../AWSConnectCampaignsV2/Models.swift | 5146 +++++++++++++++++ .../AWSConnectCampaignsV2/Paginators.swift | 74 + .../AWSConnectCampaignsV2/Plugins.swift | 82 + .../EndpointResolverTest.swift | 516 ++ .../AWSConnectCases/ConnectCasesClient.swift | 2 +- .../ConnectContactLensClient.swift | 2 +- .../ConnectParticipantClient.swift | 2 +- .../ControlCatalogClient.swift | 2 +- .../AWSControlTower/ControlTowerClient.swift | 2 +- .../AWSCostExplorer/CostExplorerClient.swift | 2 +- .../CostOptimizationHubClient.swift | 2 +- .../CostandUsageReportClient.swift | 2 +- .../CustomerProfilesClient.swift | 2 +- .../AWSDAX/Sources/AWSDAX/DAXClient.swift | 2 +- .../AWSDLM/Sources/AWSDLM/DLMClient.swift | 2 +- .../Sources/AWSDataBrew/DataBrewClient.swift | 2 +- .../AWSDataExchange/DataExchangeClient.swift | 2 +- .../AWSDataPipeline/DataPipelineClient.swift | 2 +- .../Sources/AWSDataSync/DataSyncClient.swift | 4 +- .../Sources/AWSDataSync/Models.swift | 18 +- .../Sources/AWSDataZone/DataZoneClient.swift | 2 +- .../DatabaseMigrationClient.swift | 2 +- .../Sources/AWSDeadline/DeadlineClient.swift | 2 +- .../AWSDetective/DetectiveClient.swift | 2 +- .../AWSDevOpsGuru/DevOpsGuruClient.swift | 2 +- .../AWSDeviceFarm/DeviceFarmClient.swift | 2 +- .../DirectConnectClient.swift | 2 +- .../AWSDirectoryService/DirectoryClient.swift | 2 +- .../DirectoryServiceDataClient.swift | 2 +- .../Sources/AWSDocDB/DocDBClient.swift | 2 +- .../AWSDocDBElastic/DocDBElasticClient.swift | 2 +- .../AWSDrs/Sources/AWSDrs/DrsClient.swift | 2 +- .../Sources/AWSDynamoDB/DynamoDBClient.swift | 2 +- .../DynamoDBStreamsClient.swift | 2 +- .../AWSEBS/Sources/AWSEBS/EBSClient.swift | 2 +- .../AWSEC2/Sources/AWSEC2/EC2Client.swift | 2 +- .../AWSEC2/Sources/AWSEC2/Models.swift | 8 +- .../EC2InstanceConnectClient.swift | 2 +- .../AWSECR/Sources/AWSECR/ECRClient.swift | 2 +- .../AWSECRPUBLIC/ECRPUBLICClient.swift | 2 +- .../AWSECS/Sources/AWSECS/ECSClient.swift | 2 +- .../AWSEFS/Sources/AWSEFS/EFSClient.swift | 2 +- .../AWSEKS/Sources/AWSEKS/EKSClient.swift | 2 +- .../Sources/AWSEKSAuth/EKSAuthClient.swift | 2 +- .../AWSEMR/Sources/AWSEMR/EMRClient.swift | 2 +- .../EMRServerlessClient.swift | 2 +- .../EMRcontainersClient.swift | 2 +- .../AWSElastiCache/ElastiCacheClient.swift | 2 +- .../ElasticBeanstalkClient.swift | 2 +- .../ElasticInferenceClient.swift | 2 +- .../ElasticLoadBalancingClient.swift | 2 +- .../ElasticLoadBalancingv2Client.swift | 2 +- .../ElasticTranscoderClient.swift | 2 +- .../ElasticsearchClient.swift | 2 +- .../EntityResolutionClient.swift | 2 +- .../AWSEventBridge/EventBridgeClient.swift | 2 +- .../AWSEvidently/EvidentlyClient.swift | 2 +- .../AWSFMS/Sources/AWSFMS/FMSClient.swift | 2 +- .../AWSFSx/Sources/AWSFSx/FSxClient.swift | 2 +- .../Sources/AWSFinspace/FinspaceClient.swift | 2 +- .../AWSFinspacedata/FinspacedataClient.swift | 2 +- .../Sources/AWSFirehose/FirehoseClient.swift | 2 +- .../AWSFis/Sources/AWSFis/FisClient.swift | 2 +- .../Sources/AWSForecast/ForecastClient.swift | 2 +- .../ForecastqueryClient.swift | 2 +- .../FraudDetectorClient.swift | 2 +- .../Sources/AWSFreeTier/FreeTierClient.swift | 2 +- .../Sources/AWSGameLift/GameLiftClient.swift | 2 +- .../Sources/AWSGeoMaps/GeoMapsClient.swift | 2 +- .../AWSGeoPlaces/GeoPlacesClient.swift | 2 +- .../AWSGeoRoutes/GeoRoutesClient.swift | 2 +- .../Sources/AWSGlacier/GlacierClient.swift | 2 +- .../GlobalAcceleratorClient.swift | 2 +- .../AWSGlue/Sources/AWSGlue/GlueClient.swift | 2 +- .../Sources/AWSGrafana/GrafanaClient.swift | 2 +- .../AWSGreengrass/GreengrassClient.swift | 2 +- .../AWSGreengrassV2/GreengrassV2Client.swift | 2 +- .../GroundStationClient.swift | 2 +- .../AWSGuardDuty/GuardDutyClient.swift | 2 +- .../Sources/AWSHealth/HealthClient.swift | 2 +- .../AWSHealthLake/HealthLakeClient.swift | 2 +- .../AWSIAM/Sources/AWSIAM/IAMClient.swift | 2 +- .../AWSIVSRealTime/IVSRealTimeClient.swift | 2 +- .../IdentitystoreClient.swift | 2 +- .../AWSImagebuilder/ImagebuilderClient.swift | 2 +- .../AWSInspector/InspectorClient.swift | 2 +- .../AWSInspector2/Inspector2Client.swift | 2 +- .../InspectorScanClient.swift | 2 +- .../InternetMonitorClient.swift | 2 +- .../AWSIoT/Sources/AWSIoT/IoTClient.swift | 222 +- .../AWSIoT/Sources/AWSIoT/Models.swift | 524 +- .../AWSIoT/Sources/AWSIoT/Paginators.swift | 64 + .../IoT1ClickDevicesClient.swift | 2 +- .../IoT1ClickProjectsClient.swift | 2 +- .../AWSIoTAnalytics/IoTAnalyticsClient.swift | 2 +- .../AWSIoTDataPlane/IoTDataPlaneClient.swift | 2 +- .../AWSIoTEvents/IoTEventsClient.swift | 2 +- .../IoTEventsDataClient.swift | 2 +- .../AWSIoTFleetHub/IoTFleetHubClient.swift | 2 +- .../AWSIoTFleetWise/IoTFleetWiseClient.swift | 2 +- .../IoTJobsDataPlaneClient.swift | 2 +- .../IoTSecureTunnelingClient.swift | 2 +- .../AWSIoTSiteWise/IoTSiteWiseClient.swift | 2 +- .../IoTThingsGraphClient.swift | 2 +- .../AWSIoTTwinMaker/IoTTwinMakerClient.swift | 2 +- .../AWSIoTWireless/IoTWirelessClient.swift | 2 +- .../IotDeviceAdvisorClient.swift | 2 +- .../AWSIvs/Sources/AWSIvs/IvsClient.swift | 2 +- .../Sources/AWSIvschat/IvschatClient.swift | 2 +- .../AWSKMS/Sources/AWSKMS/KMSClient.swift | 2 +- .../Sources/AWSKafka/KafkaClient.swift | 2 +- .../AWSKafkaConnect/KafkaConnectClient.swift | 2 +- .../Sources/AWSKendra/KendraClient.swift | 2 +- .../KendraRankingClient.swift | 2 +- .../AWSKeyspaces/KeyspacesClient.swift | 2 +- .../Sources/AWSKinesis/KinesisClient.swift | 2 +- .../KinesisAnalyticsClient.swift | 2 +- .../KinesisAnalyticsV2Client.swift | 2 +- .../AWSKinesisVideo/KinesisVideoClient.swift | 2 +- .../KinesisVideoArchivedMediaClient.swift | 2 +- .../KinesisVideoMediaClient.swift | 2 +- .../KinesisVideoSignalingClient.swift | 2 +- .../KinesisVideoWebRTCStorageClient.swift | 2 +- .../LakeFormationClient.swift | 2 +- .../Sources/AWSLambda/LambdaClient.swift | 2 +- .../AWSLaunchWizard/LaunchWizardClient.swift | 2 +- .../LexModelBuildingClient.swift | 2 +- .../AWSLexModelsV2/LexModelsV2Client.swift | 2 +- .../LexRuntimeClient.swift | 2 +- .../AWSLexRuntimeV2/LexRuntimeV2Client.swift | 2 +- .../LicenseManagerClient.swift | 2 +- ...censeManagerLinuxSubscriptionsClient.swift | 2 +- ...icenseManagerUserSubscriptionsClient.swift | 2 +- .../AWSLightsail/LightsailClient.swift | 2 +- .../Sources/AWSLocation/LocationClient.swift | 2 +- .../LookoutEquipmentClient.swift | 2 +- .../LookoutMetricsClient.swift | 2 +- .../LookoutVisionClient.swift | 2 +- .../AWSM2/Sources/AWSM2/M2Client.swift | 2 +- .../Sources/AWSMTurk/MTurkClient.swift | 2 +- .../AWSMWAA/Sources/AWSMWAA/MWAAClient.swift | 2 +- .../MachineLearningClient.swift | 2 +- .../Sources/AWSMacie2/Macie2Client.swift | 2 +- .../AWSMailManager/MailManagerClient.swift | 2 +- .../ManagedBlockchainClient.swift | 2 +- .../ManagedBlockchainQueryClient.swift | 2 +- .../MarketplaceAgreementClient.swift | 2 +- .../MarketplaceCatalogClient.swift | 2 +- .../MarketplaceCommerceAnalyticsClient.swift | 2 +- .../MarketplaceDeploymentClient.swift | 2 +- .../MarketplaceEntitlementClient.swift | 2 +- .../MarketplaceMeteringClient.swift | 2 +- .../MarketplaceReportingClient.swift | 2 +- .../AWSMediaConnect/MediaConnectClient.swift | 2 +- .../AWSMediaConvert/MediaConvertClient.swift | 2 +- .../AWSMediaLive/MediaLiveClient.swift | 2 +- .../AWSMediaPackage/MediaPackageClient.swift | 2 +- .../MediaPackageV2Client.swift | 2 +- .../MediaPackageVodClient.swift | 2 +- .../AWSMediaStore/MediaStoreClient.swift | 2 +- .../MediaStoreDataClient.swift | 2 +- .../AWSMediaTailor/MediaTailorClient.swift | 2 +- .../MedicalImagingClient.swift | 2 +- .../Sources/AWSMemoryDB/MemoryDBClient.swift | 2 +- .../AWSMgn/Sources/AWSMgn/MgnClient.swift | 2 +- .../AWSMigrationHub/MigrationHubClient.swift | 2 +- .../MigrationHubConfigClient.swift | 2 +- .../MigrationHubOrchestratorClient.swift | 2 +- .../MigrationHubRefactorSpacesClient.swift | 2 +- .../MigrationHubStrategyClient.swift | 2 +- .../AWSMq/Sources/AWSMq/MqClient.swift | 2 +- .../Sources/AWSNeptune/NeptuneClient.swift | 2 +- .../AWSNeptuneGraph/NeptuneGraphClient.swift | 2 +- .../AWSNeptunedata/NeptunedataClient.swift | 2 +- .../NetworkFirewallClient.swift | 2 +- .../NetworkManagerClient.swift | 2 +- .../NetworkMonitorClient.swift | 2 +- .../AWSOAM/Sources/AWSOAM/OAMClient.swift | 2 +- .../AWSOSIS/Sources/AWSOSIS/OSISClient.swift | 2 +- .../Sources/AWSOmics/OmicsClient.swift | 2 +- .../AWSOpenSearch/OpenSearchClient.swift | 2 +- .../OpenSearchServerlessClient.swift | 2 +- .../Sources/AWSOpsWorks/OpsWorksClient.swift | 2 +- .../AWSOpsWorksCM/OpsWorksCMClient.swift | 2 +- .../OrganizationsClient.swift | 2 +- .../Sources/AWSOutposts/Models.swift | 3 + .../Sources/AWSOutposts/OutpostsClient.swift | 2 +- .../AWSPCS/Sources/AWSPCS/PCSClient.swift | 2 +- .../AWSPI/Sources/AWSPI/PIClient.swift | 2 +- .../Sources/AWSPanorama/PanoramaClient.swift | 2 +- .../PartnerCentralSellingClient.swift | 2 +- .../PaymentCryptographyClient.swift | 2 +- .../PaymentCryptographyDataClient.swift | 2 +- .../PcaConnectorAdClient.swift | 2 +- .../PcaConnectorScepClient.swift | 2 +- .../AWSPersonalize/PersonalizeClient.swift | 2 +- .../PersonalizeEventsClient.swift | 2 +- .../PersonalizeRuntimeClient.swift | 2 +- .../Sources/AWSPinpoint/PinpointClient.swift | 2 +- .../PinpointEmailClient.swift | 2 +- .../PinpointSMSVoiceClient.swift | 2 +- .../AWSPinpointSMSVoiceV2/Models.swift | 743 ++- .../AWSPinpointSMSVoiceV2/Paginators.swift | 32 + .../PinpointSMSVoiceV2Client.swift | 378 +- .../Sources/AWSPipes/PipesClient.swift | 2 +- .../Sources/AWSPolly/PollyClient.swift | 2 +- .../Sources/AWSPricing/PricingClient.swift | 2 +- .../PrivateNetworksClient.swift | 2 +- .../Sources/AWSProton/ProtonClient.swift | 2 +- .../Sources/AWSQApps/QAppsClient.swift | 2 +- .../AWSQBusiness/QBusinessClient.swift | 2 +- .../Sources/AWSQConnect/QConnectClient.swift | 2 +- .../AWSQLDB/Sources/AWSQLDB/QLDBClient.swift | 2 +- .../AWSQLDBSession/QLDBSessionClient.swift | 2 +- .../AWSQuickSight/QuickSightClient.swift | 2 +- .../AWSRAM/Sources/AWSRAM/RAMClient.swift | 2 +- .../AWSRDS/Sources/AWSRDS/RDSClient.swift | 2 +- .../Sources/AWSRDSData/RDSDataClient.swift | 2 +- .../AWSRUM/Sources/AWSRUM/RUMClient.swift | 2 +- .../AWSRbin/Sources/AWSRbin/RbinClient.swift | 2 +- .../Sources/AWSRedshift/RedshiftClient.swift | 2 +- .../AWSRedshiftData/RedshiftDataClient.swift | 2 +- .../RedshiftServerlessClient.swift | 2 +- .../AWSRekognition/RekognitionClient.swift | 2 +- .../AWSRepostspace/RepostspaceClient.swift | 2 +- .../ResiliencehubClient.swift | 2 +- .../ResourceExplorer2Client.swift | 2 +- .../ResourceGroupsClient.swift | 2 +- .../ResourceGroupsTaggingAPIClient.swift | 2 +- .../AWSRoboMaker/RoboMakerClient.swift | 2 +- .../RolesAnywhereClient.swift | 2 +- .../Sources/AWSRoute53/Route53Client.swift | 2 +- .../Route53DomainsClient.swift | 2 +- .../Route53ProfilesClient.swift | 2 +- .../Route53RecoveryClusterClient.swift | 2 +- .../Route53RecoveryControlConfigClient.swift | 2 +- .../Route53RecoveryReadinessClient.swift | 2 +- .../Sources/AWSRoute53Resolver/Models.swift | 189 +- .../Route53ResolverClient.swift | 3 +- .../AWSS3/Sources/AWSS3/S3Client.swift | 2 +- .../AWSS3Control/S3ControlClient.swift | 2 +- .../AWSS3Outposts/S3OutpostsClient.swift | 2 +- .../AWSSES/Sources/AWSSES/SESClient.swift | 2 +- .../Sources/AWSSESv2/SESv2Client.swift | 2 +- .../AWSSFN/Sources/AWSSFN/SFNClient.swift | 2 +- .../AWSSMS/Sources/AWSSMS/SMSClient.swift | 2 +- .../AWSSNS/Sources/AWSSNS/SNSClient.swift | 2 +- .../AWSSQS/Sources/AWSSQS/SQSClient.swift | 2 +- .../AWSSSM/Sources/AWSSSM/SSMClient.swift | 2 +- .../AWSSSMContacts/SSMContactsClient.swift | 2 +- .../AWSSSMIncidents/SSMIncidentsClient.swift | 2 +- .../SSMQuickSetupClient.swift | 2 +- .../AWSSSO/Sources/AWSSSO/SSOClient.swift | 2 +- .../Sources/AWSSSOAdmin/SSOAdminClient.swift | 2 +- .../Sources/AWSSSOOIDC/SSOOIDCClient.swift | 2 +- .../AWSSTS/Sources/AWSSTS/STSClient.swift | 2 +- .../AWSSWF/Sources/AWSSWF/SWFClient.swift | 2 +- .../AWSSageMaker/SageMakerClient.swift | 2 +- .../SageMakerA2IRuntimeClient.swift | 2 +- .../SageMakerFeatureStoreRuntimeClient.swift | 2 +- .../SageMakerGeospatialClient.swift | 2 +- .../SageMakerMetricsClient.swift | 2 +- .../SageMakerRuntimeClient.swift | 2 +- .../SagemakerEdgeClient.swift | 2 +- .../AWSSavingsplans/SavingsplansClient.swift | 2 +- .../AWSScheduler/SchedulerClient.swift | 2 +- .../Sources/AWSSchemas/SchemasClient.swift | 2 +- .../SecretsManagerClient.swift | 2 +- .../AWSSecurityHub/SecurityHubClient.swift | 2 +- .../AWSSecurityLake/SecurityLakeClient.swift | 2 +- ...erverlessApplicationRepositoryClient.swift | 2 +- .../ServiceCatalogClient.swift | 2 +- .../ServiceCatalogAppRegistryClient.swift | 2 +- .../ServiceDiscoveryClient.swift | 2 +- .../ServiceQuotasClient.swift | 2 +- .../Sources/AWSShield/ShieldClient.swift | 2 +- .../Sources/AWSSigner/SignerClient.swift | 2 +- .../SimSpaceWeaverClient.swift | 2 +- .../SnowDeviceManagementClient.swift | 2 +- .../Sources/AWSSnowball/SnowballClient.swift | 2 +- .../SocialMessagingClient.swift | 2 +- .../Sources/AWSSsmSap/SsmSapClient.swift | 2 +- .../StorageGatewayClient.swift | 2 +- .../AWSSupplyChain/SupplyChainClient.swift | 2 +- .../Sources/AWSSupport/SupportClient.swift | 2 +- .../AWSSupportApp/SupportAppClient.swift | 2 +- .../AWSSynthetics/SyntheticsClient.swift | 2 +- .../AWSTaxSettings/TaxSettingsClient.swift | 2 +- .../Sources/AWSTextract/TextractClient.swift | 2 +- .../TimestreamInfluxDBClient.swift | 2 +- .../TimestreamQueryClient.swift | 2 +- .../TimestreamWriteClient.swift | 2 +- .../AWSTnb/Sources/AWSTnb/TnbClient.swift | 2 +- .../AWSTranscribe/TranscribeClient.swift | 2 +- .../TranscribeStreamingClient.swift | 2 +- .../Sources/AWSTransfer/TransferClient.swift | 2 +- .../AWSTranslate/TranslateClient.swift | 2 +- .../TrustedAdvisorClient.swift | 2 +- .../AWSVPCLattice/VPCLatticeClient.swift | 2 +- .../VerifiedPermissionsClient.swift | 2 +- .../Sources/AWSVoiceID/VoiceIDClient.swift | 2 +- .../AWSWAF/Sources/AWSWAF/WAFClient.swift | 2 +- .../AWSWAFRegional/WAFRegionalClient.swift | 2 +- .../Sources/AWSWAFV2/WAFV2Client.swift | 2 +- .../WellArchitectedClient.swift | 2 +- .../Sources/AWSWisdom/WisdomClient.swift | 2 +- .../Sources/AWSWorkDocs/WorkDocsClient.swift | 2 +- .../Sources/AWSWorkMail/WorkMailClient.swift | 2 +- .../WorkMailMessageFlowClient.swift | 2 +- .../AWSWorkSpaces/WorkSpacesClient.swift | 2 +- .../WorkSpacesThinClientClient.swift | 2 +- .../WorkSpacesWebClient.swift | 2 +- .../AWSXRay/Sources/AWSXRay/XRayClient.swift | 2 +- 412 files changed, 11227 insertions(+), 551 deletions(-) create mode 100644 Sources/Services/AWSConnectCampaignsV2/Package.swift.txt create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/AuthSchemeResolver.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Endpoints.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Models.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Paginators.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Plugins.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Tests/AWSConnectCampaignsV2Tests/EndpointResolverTest.swift diff --git a/Package.swift b/Package.swift index 9ee50f65725..645b2a7b558 100644 --- a/Package.swift +++ b/Package.swift @@ -111,6 +111,7 @@ let serviceTargets: [String] = [ "AWSConfigService", "AWSConnect", "AWSConnectCampaigns", + "AWSConnectCampaignsV2", "AWSConnectCases", "AWSConnectContactLens", "AWSConnectParticipant", diff --git a/Package.version b/Package.version index 8ef09587927..61dbbb3ac31 100644 --- a/Package.version +++ b/Package.version @@ -1 +1 @@ -1.0.41 \ No newline at end of file +1.0.42 \ No newline at end of file diff --git a/Package.version.next b/Package.version.next index 61dbbb3ac31..693195bbe5c 100644 --- a/Package.version.next +++ b/Package.version.next @@ -1 +1 @@ -1.0.42 \ No newline at end of file +1.0.43 \ No newline at end of file diff --git a/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md b/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md index 8148eb8d133..265b414d4e9 100644 --- a/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md +++ b/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md @@ -253,6 +253,8 @@ This SDK is open-source. Code is available on Github [here](https://github.com/ [AWSConnectCampaigns](../../../../../swift/api/awsconnectcampaigns/latest) +[AWSConnectCampaignsV2](../../../../../swift/api/awsconnectcampaignsv2/latest) + [AWSConnectCases](../../../../../swift/api/awsconnectcases/latest) [AWSConnectContactLens](../../../../../swift/api/awsconnectcontactlens/latest) diff --git a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift index b3ad565fbc5..840dedecde9 100644 --- a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift +++ b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ACMClient: ClientRuntime.Client { public static let clientName = "ACMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ACMClient.ACMClientConfiguration let serviceName = "ACM" diff --git a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift index 8e3381249c4..84bbddee157 100644 --- a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift +++ b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ACMPCAClient: ClientRuntime.Client { public static let clientName = "ACMPCAClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ACMPCAClient.ACMPCAClientConfiguration let serviceName = "ACM PCA" diff --git a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift index a8a49093a1b..f805e5e9f08 100644 --- a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift +++ b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class APIGatewayClient: ClientRuntime.Client { public static let clientName = "APIGatewayClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: APIGatewayClient.APIGatewayClientConfiguration let serviceName = "API Gateway" diff --git a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift index de5d6cb471c..2025c3d1510 100644 --- a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift +++ b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ARCZonalShiftClient: ClientRuntime.Client { public static let clientName = "ARCZonalShiftClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ARCZonalShiftClient.ARCZonalShiftClientConfiguration let serviceName = "ARC Zonal Shift" diff --git a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift index 18c3f9b500e..db7ee382271 100644 --- a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift +++ b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AccessAnalyzerClient: ClientRuntime.Client { public static let clientName = "AccessAnalyzerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AccessAnalyzerClient.AccessAnalyzerClientConfiguration let serviceName = "AccessAnalyzer" diff --git a/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift b/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift index 82bb5283e0f..e0e78a2bcbc 100644 --- a/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift +++ b/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AccountClient: ClientRuntime.Client { public static let clientName = "AccountClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AccountClient.AccountClientConfiguration let serviceName = "Account" diff --git a/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift b/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift index 7f445a87f17..2a9c0f70e84 100644 --- a/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift +++ b/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmpClient: ClientRuntime.Client { public static let clientName = "AmpClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AmpClient.AmpClientConfiguration let serviceName = "amp" diff --git a/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift b/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift index c210d89f816..003324c9c1b 100644 --- a/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift +++ b/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyClient: ClientRuntime.Client { public static let clientName = "AmplifyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AmplifyClient.AmplifyClientConfiguration let serviceName = "Amplify" diff --git a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift index f9814a1517c..eb46679073c 100644 --- a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift +++ b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyBackendClient: ClientRuntime.Client { public static let clientName = "AmplifyBackendClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AmplifyBackendClient.AmplifyBackendClientConfiguration let serviceName = "AmplifyBackend" diff --git a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift index 270f721356b..5bdbc42bb4e 100644 --- a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift +++ b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyUIBuilderClient: ClientRuntime.Client { public static let clientName = "AmplifyUIBuilderClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AmplifyUIBuilderClient.AmplifyUIBuilderClientConfiguration let serviceName = "AmplifyUIBuilder" diff --git a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift index 6c860427b03..cdaeac40713 100644 --- a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift +++ b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApiGatewayManagementApiClient: ClientRuntime.Client { public static let clientName = "ApiGatewayManagementApiClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApiGatewayManagementApiClient.ApiGatewayManagementApiClientConfiguration let serviceName = "ApiGatewayManagementApi" diff --git a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift index 3833ca59ef6..33cb5eb5711 100644 --- a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift +++ b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApiGatewayV2Client: ClientRuntime.Client { public static let clientName = "ApiGatewayV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApiGatewayV2Client.ApiGatewayV2ClientConfiguration let serviceName = "ApiGatewayV2" diff --git a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift index 19f68f6cfed..ad054a38988 100644 --- a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift +++ b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppConfigClient: ClientRuntime.Client { public static let clientName = "AppConfigClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppConfigClient.AppConfigClientConfiguration let serviceName = "AppConfig" diff --git a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift index 676d9f5df0c..099806092d8 100644 --- a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift +++ b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppConfigDataClient: ClientRuntime.Client { public static let clientName = "AppConfigDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppConfigDataClient.AppConfigDataClientConfiguration let serviceName = "AppConfigData" diff --git a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift index 75cef1479b8..7c2b2d86920 100644 --- a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift +++ b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppFabricClient: ClientRuntime.Client { public static let clientName = "AppFabricClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppFabricClient.AppFabricClientConfiguration let serviceName = "AppFabric" diff --git a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift index 3a1375b3242..c9bb0d7baf1 100644 --- a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift +++ b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppIntegrationsClient: ClientRuntime.Client { public static let clientName = "AppIntegrationsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppIntegrationsClient.AppIntegrationsClientConfiguration let serviceName = "AppIntegrations" diff --git a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift index 56367a89054..fd9839204e8 100644 --- a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift +++ b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppMeshClient: ClientRuntime.Client { public static let clientName = "AppMeshClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppMeshClient.AppMeshClientConfiguration let serviceName = "App Mesh" diff --git a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift index d4b0b5c5e67..5606743d58d 100644 --- a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift +++ b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppRunnerClient: ClientRuntime.Client { public static let clientName = "AppRunnerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppRunnerClient.AppRunnerClientConfiguration let serviceName = "AppRunner" diff --git a/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift b/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift index 3b41a08cd91..3e93d2109b6 100644 --- a/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift +++ b/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppStreamClient: ClientRuntime.Client { public static let clientName = "AppStreamClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppStreamClient.AppStreamClientConfiguration let serviceName = "AppStream" diff --git a/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift b/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift index 7de1c3bda55..51c26d2ecfd 100644 --- a/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift +++ b/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppSyncClient: ClientRuntime.Client { public static let clientName = "AppSyncClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppSyncClient.AppSyncClientConfiguration let serviceName = "AppSync" diff --git a/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift b/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift index c15a3065af9..beb3553a96c 100644 --- a/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift +++ b/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppTestClient: ClientRuntime.Client { public static let clientName = "AppTestClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppTestClient.AppTestClientConfiguration let serviceName = "AppTest" diff --git a/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift b/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift index 3e6088ca8b5..8c35cf6d0cb 100644 --- a/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift +++ b/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppflowClient: ClientRuntime.Client { public static let clientName = "AppflowClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppflowClient.AppflowClientConfiguration let serviceName = "Appflow" diff --git a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift index 95a8194f44d..ac4f909566e 100644 --- a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift +++ b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationAutoScalingClient: ClientRuntime.Client { public static let clientName = "ApplicationAutoScalingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApplicationAutoScalingClient.ApplicationAutoScalingClientConfiguration let serviceName = "Application Auto Scaling" diff --git a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift index 85c0ba85394..39fc85ca5a7 100644 --- a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift +++ b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationCostProfilerClient: ClientRuntime.Client { public static let clientName = "ApplicationCostProfilerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApplicationCostProfilerClient.ApplicationCostProfilerClientConfiguration let serviceName = "ApplicationCostProfiler" diff --git a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift index ace12136806..3aec51fb702 100644 --- a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift +++ b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationDiscoveryClient: ClientRuntime.Client { public static let clientName = "ApplicationDiscoveryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApplicationDiscoveryClient.ApplicationDiscoveryClientConfiguration let serviceName = "Application Discovery" diff --git a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift index 99aa78007a1..4a56c25cb64 100644 --- a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift +++ b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationInsightsClient: ClientRuntime.Client { public static let clientName = "ApplicationInsightsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApplicationInsightsClient.ApplicationInsightsClientConfiguration let serviceName = "Application Insights" diff --git a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift index a972b84fc79..16ee126d711 100644 --- a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift +++ b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationSignalsClient: ClientRuntime.Client { public static let clientName = "ApplicationSignalsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApplicationSignalsClient.ApplicationSignalsClientConfiguration let serviceName = "Application Signals" diff --git a/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift b/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift index 7b3e324afbd..78f789eee1c 100644 --- a/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift +++ b/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ArtifactClient: ClientRuntime.Client { public static let clientName = "ArtifactClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ArtifactClient.ArtifactClientConfiguration let serviceName = "Artifact" diff --git a/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift b/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift index 897d6095b31..23ecb8c89c9 100644 --- a/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift +++ b/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AthenaClient: ClientRuntime.Client { public static let clientName = "AthenaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AthenaClient.AthenaClientConfiguration let serviceName = "Athena" diff --git a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift index 7a5b5692839..fab1de51be8 100644 --- a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift +++ b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AuditManagerClient: ClientRuntime.Client { public static let clientName = "AuditManagerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AuditManagerClient.AuditManagerClientConfiguration let serviceName = "AuditManager" diff --git a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift index 101c2fbdda9..4ae2b5cb11f 100644 --- a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift +++ b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AutoScalingClient: ClientRuntime.Client { public static let clientName = "AutoScalingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AutoScalingClient.AutoScalingClientConfiguration let serviceName = "Auto Scaling" diff --git a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift index b186b1323f5..37a82dd7d27 100644 --- a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift +++ b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AutoScalingPlansClient: ClientRuntime.Client { public static let clientName = "AutoScalingPlansClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AutoScalingPlansClient.AutoScalingPlansClientConfiguration let serviceName = "Auto Scaling Plans" diff --git a/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift b/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift index fa999c8ea06..59f59b2db1e 100644 --- a/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift +++ b/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class B2biClient: ClientRuntime.Client { public static let clientName = "B2biClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: B2biClient.B2biClientConfiguration let serviceName = "b2bi" diff --git a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift index df3723fd12e..7c62fdbc6e6 100644 --- a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift +++ b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BCMDataExportsClient: ClientRuntime.Client { public static let clientName = "BCMDataExportsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BCMDataExportsClient.BCMDataExportsClientConfiguration let serviceName = "BCM Data Exports" diff --git a/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift b/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift index 3e21dcb91d7..e3447ea6978 100644 --- a/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift +++ b/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BackupClient: ClientRuntime.Client { public static let clientName = "BackupClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BackupClient.BackupClientConfiguration let serviceName = "Backup" diff --git a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift index 1a829c1db88..1988d8b632a 100644 --- a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift +++ b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BackupGatewayClient: ClientRuntime.Client { public static let clientName = "BackupGatewayClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BackupGatewayClient.BackupGatewayClientConfiguration let serviceName = "Backup Gateway" diff --git a/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift b/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift index c879908fc4a..cca348e660c 100644 --- a/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift +++ b/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BatchClient: ClientRuntime.Client { public static let clientName = "BatchClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BatchClient.BatchClientConfiguration let serviceName = "Batch" diff --git a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift index 26d56813b1e..86550791f4a 100644 --- a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift +++ b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockClient: ClientRuntime.Client { public static let clientName = "BedrockClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BedrockClient.BedrockClientConfiguration let serviceName = "Bedrock" diff --git a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift index df3ecd7c5fc..66b7649a503 100644 --- a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift +++ b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockAgentClient: ClientRuntime.Client { public static let clientName = "BedrockAgentClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BedrockAgentClient.BedrockAgentClientConfiguration let serviceName = "Bedrock Agent" diff --git a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift index ccabe78ad6d..c917e2ff288 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift +++ b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockAgentRuntimeClient: ClientRuntime.Client { public static let clientName = "BedrockAgentRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BedrockAgentRuntimeClient.BedrockAgentRuntimeClientConfiguration let serviceName = "Bedrock Agent Runtime" diff --git a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift index 5f8e37fa2a7..b4596774bdd 100644 --- a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift +++ b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockRuntimeClient: ClientRuntime.Client { public static let clientName = "BedrockRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BedrockRuntimeClient.BedrockRuntimeClientConfiguration let serviceName = "Bedrock Runtime" diff --git a/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift b/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift index c72ee1c4964..44a21aa78d9 100644 --- a/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift +++ b/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BillingClient: ClientRuntime.Client { public static let clientName = "BillingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BillingClient.BillingClientConfiguration let serviceName = "Billing" diff --git a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift index 7c39d3aa7e1..71f921133bd 100644 --- a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift +++ b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BillingconductorClient: ClientRuntime.Client { public static let clientName = "BillingconductorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BillingconductorClient.BillingconductorClientConfiguration let serviceName = "billingconductor" diff --git a/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift b/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift index 0b9b2c06ad5..b810a1dd6d9 100644 --- a/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift +++ b/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BraketClient: ClientRuntime.Client { public static let clientName = "BraketClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BraketClient.BraketClientConfiguration let serviceName = "Braket" diff --git a/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift b/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift index 7e2a92dc9f5..1f585a06ff8 100644 --- a/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift +++ b/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BudgetsClient: ClientRuntime.Client { public static let clientName = "BudgetsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BudgetsClient.BudgetsClientConfiguration let serviceName = "Budgets" diff --git a/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift b/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift index 39f30b66ba5..f31c905f864 100644 --- a/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift +++ b/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChatbotClient: ClientRuntime.Client { public static let clientName = "ChatbotClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChatbotClient.ChatbotClientConfiguration let serviceName = "chatbot" diff --git a/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift b/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift index a62e8f9eaf1..793ce0aa2a9 100644 --- a/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift +++ b/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeClient: ClientRuntime.Client { public static let clientName = "ChimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeClient.ChimeClientConfiguration let serviceName = "Chime" diff --git a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift index a7c3b5ff35b..8bef9144f01 100644 --- a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift +++ b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKIdentityClient: ClientRuntime.Client { public static let clientName = "ChimeSDKIdentityClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKIdentityClient.ChimeSDKIdentityClientConfiguration let serviceName = "Chime SDK Identity" diff --git a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift index 790e277dc08..3fe2b7d69fb 100644 --- a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift +++ b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMediaPipelinesClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMediaPipelinesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMediaPipelinesClient.ChimeSDKMediaPipelinesClientConfiguration let serviceName = "Chime SDK Media Pipelines" diff --git a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift index 4e179df1635..a3d128b903b 100644 --- a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift +++ b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMeetingsClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMeetingsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMeetingsClient.ChimeSDKMeetingsClientConfiguration let serviceName = "Chime SDK Meetings" diff --git a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift index 527f001fa7a..05499ecd36d 100644 --- a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift +++ b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMessagingClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMessagingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMessagingClient.ChimeSDKMessagingClientConfiguration let serviceName = "Chime SDK Messaging" diff --git a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift index 0dbc05df6fa..11df9878f2f 100644 --- a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift +++ b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKVoiceClient: ClientRuntime.Client { public static let clientName = "ChimeSDKVoiceClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKVoiceClient.ChimeSDKVoiceClientConfiguration let serviceName = "Chime SDK Voice" diff --git a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift index b27e6c9c26f..058f162f356 100644 --- a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift +++ b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CleanRoomsClient: ClientRuntime.Client { public static let clientName = "CleanRoomsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CleanRoomsClient.CleanRoomsClientConfiguration let serviceName = "CleanRooms" diff --git a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift index 7acea8b59e5..6d51fe30584 100644 --- a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift +++ b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CleanRoomsMLClient: ClientRuntime.Client { public static let clientName = "CleanRoomsMLClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CleanRoomsMLClient.CleanRoomsMLClientConfiguration let serviceName = "CleanRoomsML" diff --git a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift index 48a6252fb4e..7c0d489f0a9 100644 --- a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift +++ b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Cloud9Client: ClientRuntime.Client { public static let clientName = "Cloud9Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Cloud9Client.Cloud9ClientConfiguration let serviceName = "Cloud9" diff --git a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift index ca647546884..462c38e72ed 100644 --- a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift +++ b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudControlClient: ClientRuntime.Client { public static let clientName = "CloudControlClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudControlClient.CloudControlClientConfiguration let serviceName = "CloudControl" diff --git a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift index ff1a98a1650..c1ae2358c63 100644 --- a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift +++ b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudDirectoryClient: ClientRuntime.Client { public static let clientName = "CloudDirectoryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudDirectoryClient.CloudDirectoryClientConfiguration let serviceName = "CloudDirectory" diff --git a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift index 1bed3744905..4c619ec6cee 100644 --- a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift +++ b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFormationClient: ClientRuntime.Client { public static let clientName = "CloudFormationClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudFormationClient.CloudFormationClientConfiguration let serviceName = "CloudFormation" diff --git a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift index 047111f4a77..a177a1e430c 100644 --- a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift +++ b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFrontClient: ClientRuntime.Client { public static let clientName = "CloudFrontClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudFrontClient.CloudFrontClientConfiguration let serviceName = "CloudFront" diff --git a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift index aded3a71012..b3025470eba 100644 --- a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift +++ b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFrontKeyValueStoreClient: ClientRuntime.Client { public static let clientName = "CloudFrontKeyValueStoreClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudFrontKeyValueStoreClient.CloudFrontKeyValueStoreClientConfiguration let serviceName = "CloudFront KeyValueStore" diff --git a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift index ac46bc8ef5b..4b1b0b704ef 100644 --- a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift +++ b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudHSMClient: ClientRuntime.Client { public static let clientName = "CloudHSMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudHSMClient.CloudHSMClientConfiguration let serviceName = "CloudHSM" diff --git a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift index 4b4bddba2f2..c9583f3a6ed 100644 --- a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift +++ b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudHSMV2Client: ClientRuntime.Client { public static let clientName = "CloudHSMV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudHSMV2Client.CloudHSMV2ClientConfiguration let serviceName = "CloudHSM V2" diff --git a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift index ffeb3af7410..451729e61b7 100644 --- a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift +++ b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudSearchClient: ClientRuntime.Client { public static let clientName = "CloudSearchClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudSearchClient.CloudSearchClientConfiguration let serviceName = "CloudSearch" diff --git a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift index 70e7cdf26f9..4359001cc75 100644 --- a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift +++ b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudSearchDomainClient: ClientRuntime.Client { public static let clientName = "CloudSearchDomainClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudSearchDomainClient.CloudSearchDomainClientConfiguration let serviceName = "CloudSearch Domain" diff --git a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift index 0b9a816bb78..5af650fde54 100644 --- a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift +++ b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudTrailClient: ClientRuntime.Client { public static let clientName = "CloudTrailClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudTrailClient.CloudTrailClientConfiguration let serviceName = "CloudTrail" diff --git a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift index 49b7550e93b..5a71a8e4842 100644 --- a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift +++ b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudTrailDataClient: ClientRuntime.Client { public static let clientName = "CloudTrailDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudTrailDataClient.CloudTrailDataClientConfiguration let serviceName = "CloudTrail Data" diff --git a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift index c50305faebf..e1b8fa125c6 100644 --- a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift +++ b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchClient: ClientRuntime.Client { public static let clientName = "CloudWatchClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudWatchClient.CloudWatchClientConfiguration let serviceName = "CloudWatch" @@ -2427,7 +2427,7 @@ extension CloudWatchClient { /// Performs the `PutMetricData` operation on the `GraniteServiceVersion20100801` service. /// - /// Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metric. If the specified metric does not exist, CloudWatch creates the metric. When CloudWatch creates a metric, it can take up to fifteen minutes for the metric to appear in calls to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html). You can publish either individual data points in the Value field, or arrays of values and the number of times each value occurred during the period by using the Values and Counts fields in the MetricData structure. Using the Values and Counts method enables you to publish up to 150 values per metric with one PutMetricData request, and supports retrieving percentile statistics on this data. Each PutMetricData request is limited to 1 MB in size for HTTP POST requests. You can send a payload compressed by gzip. Each request is also limited to no more than 1000 different metrics. Although the Value parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension consists of a Name and Value pair. For more information about specifying dimensions, see [Publishing Metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the Amazon CloudWatch User Guide. You specify the time stamp to be associated with each data point. You can specify time stamps that are as much as two weeks before the current date, and as much as 2 hours after the current day and time. Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for [GetMetricData](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html) or [GetMetricStatistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html) from the time they are submitted. Data points with time stamps between 3 and 24 hours ago can take as much as 2 hours to become available for for [GetMetricData](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html) or [GetMetricStatistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html). CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true: + /// Publishes metric data to Amazon CloudWatch. CloudWatch associates the data with the specified metric. If the specified metric does not exist, CloudWatch creates the metric. When CloudWatch creates a metric, it can take up to fifteen minutes for the metric to appear in calls to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html). You can publish metrics with associated entity data (so that related telemetry can be found and viewed together), or publish metric data by itself. To send entity data with your metrics, use the EntityMetricData parameter. To send metrics without entity data, use the MetricData parameter. The EntityMetricData structure includes MetricData structures for the metric data. You can publish either individual values in the Value field, or arrays of values and the number of times each value occurred during the period by using the Values and Counts fields in the MetricData structure. Using the Values and Counts method enables you to publish up to 150 values per metric with one PutMetricData request, and supports retrieving percentile statistics on this data. Each PutMetricData request is limited to 1 MB in size for HTTP POST requests. You can send a payload compressed by gzip. Each request is also limited to no more than 1000 different metrics (across both the MetricData and EntityMetricData properties). Although the Value parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension consists of a Name and Value pair. For more information about specifying dimensions, see [Publishing Metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the Amazon CloudWatch User Guide. You specify the time stamp to be associated with each data point. You can specify time stamps that are as much as two weeks before the current date, and as much as 2 hours after the current day and time. Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for [GetMetricData](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html) or [GetMetricStatistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html) from the time they are submitted. Data points with time stamps between 3 and 24 hours ago can take as much as 2 hours to become available for [GetMetricData](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html) or [GetMetricStatistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html). CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true: /// /// * The SampleCount value of the statistic set is 1 and Min, Max, and Sum are all equal. /// diff --git a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift index 9613cfc8d6c..a4cc426afb0 100644 --- a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift +++ b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift @@ -1948,6 +1948,127 @@ public struct EnableInsightRulesOutput: Swift.Sendable { } } +extension CloudWatchClientTypes { + + /// An entity associated with metrics, to allow for finding related telemetry. An entity is typically a resource or service within your system. For example, metrics from an Amazon EC2 instance could be associated with that instance as the entity. Similarly, metrics from a service that you own could be associated with that service as the entity. + public struct Entity: Swift.Sendable { + /// Additional attributes of the entity that are not used to specify the identity of the entity. A list of key-value pairs. For details about how to use the attributes, see [How to add related information to telemetry](https://docs.aws.amazon.com/adding-your-own-related-telemetry.html) in the CloudWatch User Guide. + public var attributes: [Swift.String: Swift.String]? + /// The attributes of the entity which identify the specific entity, as a list of key-value pairs. Entities with the same KeyAttributes are considered to be the same entity. For an entity to be valid, the KeyAttributes must exist and be formatted correctly. There are five allowed attributes (key names): Type, ResourceType, Identifier, Name, and Environment. For details about how to use the key attributes to specify an entity, see [How to add related information to telemetry](https://docs.aws.amazon.com/adding-your-own-related-telemetry.html) in the CloudWatch User Guide. + public var keyAttributes: [Swift.String: Swift.String]? + + public init( + attributes: [Swift.String: Swift.String]? = nil, + keyAttributes: [Swift.String: Swift.String]? = nil + ) + { + self.attributes = attributes + self.keyAttributes = keyAttributes + } + } +} + +extension CloudWatchClientTypes { + + /// Represents a set of statistics that describes a specific metric. + public struct StatisticSet: Swift.Sendable { + /// The maximum value of the sample set. + /// This member is required. + public var maximum: Swift.Double? + /// The minimum value of the sample set. + /// This member is required. + public var minimum: Swift.Double? + /// The number of samples used for the statistic set. + /// This member is required. + public var sampleCount: Swift.Double? + /// The sum of values for the sample set. + /// This member is required. + public var sum: Swift.Double? + + public init( + maximum: Swift.Double? = nil, + minimum: Swift.Double? = nil, + sampleCount: Swift.Double? = nil, + sum: Swift.Double? = nil + ) + { + self.maximum = maximum + self.minimum = minimum + self.sampleCount = sampleCount + self.sum = sum + } + } +} + +extension CloudWatchClientTypes { + + /// Encapsulates the information sent to either create a metric or add new values to be aggregated into an existing metric. + public struct MetricDatum: Swift.Sendable { + /// Array of numbers that is used along with the Values array. Each number in the Count array is the number of times the corresponding value in the Values array occurred during the period. If you omit the Counts array, the default of 1 is used as the value for each count. If you include a Counts array, it must include the same amount of values as the Values array. + public var counts: [Swift.Double]? + /// The dimensions associated with the metric. + public var dimensions: [CloudWatchClientTypes.Dimension]? + /// The name of the metric. + /// This member is required. + public var metricName: Swift.String? + /// The statistical values for the metric. + public var statisticValues: CloudWatchClientTypes.StatisticSet? + /// Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution down to one second. Setting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available only for custom metrics. For more information about high-resolution metrics, see [High-Resolution Metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html#high-resolution-metrics) in the Amazon CloudWatch User Guide. This field is optional, if you do not specify it the default of 60 is used. + public var storageResolution: Swift.Int? + /// The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. + public var timestamp: Foundation.Date? + /// When you are using a Put operation, this defines what unit you want to use when storing the metric. In a Get operation, this displays the unit that is used for the metric. + public var unit: CloudWatchClientTypes.StandardUnit? + /// The value for the metric. Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. + public var value: Swift.Double? + /// Array of numbers representing the values for the metric during the period. Each unique value is listed just once in this array, and the corresponding number in the Counts array specifies the number of times that value occurred during the period. You can include up to 150 unique values in each PutMetricData action that specifies a Values array. Although the Values array accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. + public var values: [Swift.Double]? + + public init( + counts: [Swift.Double]? = nil, + dimensions: [CloudWatchClientTypes.Dimension]? = nil, + metricName: Swift.String? = nil, + statisticValues: CloudWatchClientTypes.StatisticSet? = nil, + storageResolution: Swift.Int? = nil, + timestamp: Foundation.Date? = nil, + unit: CloudWatchClientTypes.StandardUnit? = nil, + value: Swift.Double? = nil, + values: [Swift.Double]? = nil + ) + { + self.counts = counts + self.dimensions = dimensions + self.metricName = metricName + self.statisticValues = statisticValues + self.storageResolution = storageResolution + self.timestamp = timestamp + self.unit = unit + self.value = value + self.values = values + } + } +} + +extension CloudWatchClientTypes { + + /// A set of metrics that are associated with an entity, such as a specific service or resource. Contains the entity and the list of metric data associated with it. + public struct EntityMetricData: Swift.Sendable { + /// The entity associated with the metrics. + public var entity: CloudWatchClientTypes.Entity? + /// The metric data. + public var metricData: [CloudWatchClientTypes.MetricDatum]? + + public init( + entity: CloudWatchClientTypes.Entity? = nil, + metricData: [CloudWatchClientTypes.MetricDatum]? = nil + ) + { + self.entity = entity + self.metricData = metricData + } + } +} + public struct GetDashboardInput: Swift.Sendable { /// The name of the dashboard to be described. /// This member is required. @@ -2788,7 +2909,7 @@ public struct ListMetricsInput: Swift.Sendable { public var nextToken: Swift.String? /// When you use this operation in a monitoring account, use this field to return metrics only from one source account. To do so, specify that source account ID in this field, and also specify true for IncludeLinkedAccounts. public var owningAccount: Swift.String? - /// To filter the results to show only metrics that have had data points published in the past three hours, specify this parameter with a value of PT3H. This is the only valid value for this parameter. The results that are returned are an approximation of the value you specify. There is a low probability that the returned results include metrics with last published data as much as 40 minutes more than the specified time interval. + /// To filter the results to show only metrics that have had data points published in the past three hours, specify this parameter with a value of PT3H. This is the only valid value for this parameter. The results that are returned are an approximation of the value you specify. There is a low probability that the returned results include metrics with last published data as much as 50 minutes more than the specified time interval. public var recentlyActive: CloudWatchClientTypes.RecentlyActive? public init( @@ -3448,7 +3569,7 @@ public struct PutMetricAlarmInput: Swift.Sendable { public var period: Swift.Int? /// The statistic for the metric specified in MetricName, other than percentile. For percentile statistics, use ExtendedStatistic. When you call PutMetricAlarm and specify a MetricName, you must specify either Statistic or ExtendedStatistic, but not both. public var statistic: CloudWatchClientTypes.Statistic? - /// A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the cloudwatch:TagResource permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. If you are using this operation to update an existing alarm, any tags you specify in this parameter are ignored. To change the tags of an existing alarm, use [TagResource](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html) or [UntagResource](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html). + /// A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the cloudwatch:TagResource permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. If you are using this operation to update an existing alarm, any tags you specify in this parameter are ignored. To change the tags of an existing alarm, use [TagResource](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html) or [UntagResource](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html). To use this field to set tags for an alarm when you create it, you must be signed on with both the cloudwatch:PutMetricAlarm and cloudwatch:TagResource permissions. public var tags: [CloudWatchClientTypes.Tag]? /// The value against which the specified statistic is compared. This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models. public var threshold: Swift.Double? @@ -3509,102 +3630,50 @@ public struct PutMetricAlarmInput: Swift.Sendable { } } -extension CloudWatchClientTypes { - - /// Represents a set of statistics that describes a specific metric. - public struct StatisticSet: Swift.Sendable { - /// The maximum value of the sample set. - /// This member is required. - public var maximum: Swift.Double? - /// The minimum value of the sample set. - /// This member is required. - public var minimum: Swift.Double? - /// The number of samples used for the statistic set. - /// This member is required. - public var sampleCount: Swift.Double? - /// The sum of values for the sample set. - /// This member is required. - public var sum: Swift.Double? - - public init( - maximum: Swift.Double? = nil, - minimum: Swift.Double? = nil, - sampleCount: Swift.Double? = nil, - sum: Swift.Double? = nil - ) - { - self.maximum = maximum - self.minimum = minimum - self.sampleCount = sampleCount - self.sum = sum - } - } -} - -extension CloudWatchClientTypes { - - /// Encapsulates the information sent to either create a metric or add new values to be aggregated into an existing metric. - public struct MetricDatum: Swift.Sendable { - /// Array of numbers that is used along with the Values array. Each number in the Count array is the number of times the corresponding value in the Values array occurred during the period. If you omit the Counts array, the default of 1 is used as the value for each count. If you include a Counts array, it must include the same amount of values as the Values array. - public var counts: [Swift.Double]? - /// The dimensions associated with the metric. - public var dimensions: [CloudWatchClientTypes.Dimension]? - /// The name of the metric. - /// This member is required. - public var metricName: Swift.String? - /// The statistical values for the metric. - public var statisticValues: CloudWatchClientTypes.StatisticSet? - /// Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution down to one second. Setting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available only for custom metrics. For more information about high-resolution metrics, see [High-Resolution Metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html#high-resolution-metrics) in the Amazon CloudWatch User Guide. This field is optional, if you do not specify it the default of 60 is used. - public var storageResolution: Swift.Int? - /// The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - public var timestamp: Foundation.Date? - /// When you are using a Put operation, this defines what unit you want to use when storing the metric. In a Get operation, this displays the unit that is used for the metric. - public var unit: CloudWatchClientTypes.StandardUnit? - /// The value for the metric. Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. - public var value: Swift.Double? - /// Array of numbers representing the values for the metric during the period. Each unique value is listed just once in this array, and the corresponding number in the Counts array specifies the number of times that value occurred during the period. You can include up to 150 unique values in each PutMetricData action that specifies a Values array. Although the Values array accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. - public var values: [Swift.Double]? - - public init( - counts: [Swift.Double]? = nil, - dimensions: [CloudWatchClientTypes.Dimension]? = nil, - metricName: Swift.String? = nil, - statisticValues: CloudWatchClientTypes.StatisticSet? = nil, - storageResolution: Swift.Int? = nil, - timestamp: Foundation.Date? = nil, - unit: CloudWatchClientTypes.StandardUnit? = nil, - value: Swift.Double? = nil, - values: [Swift.Double]? = nil - ) - { - self.counts = counts - self.dimensions = dimensions - self.metricName = metricName - self.statisticValues = statisticValues - self.storageResolution = storageResolution - self.timestamp = timestamp - self.unit = unit - self.value = value - self.values = values - } - } -} - public struct PutMetricDataInput: Swift.Sendable { - /// The data for the metric. The array can include no more than 1000 metrics per call. - /// This member is required. + /// Data for metrics that contain associated entity information. You can include up to two EntityMetricData objects, each of which can contain a single Entity and associated metrics. The limit of metrics allowed, 1000, is the sum of both EntityMetricData and MetricData metrics. + public var entityMetricData: [CloudWatchClientTypes.EntityMetricData]? + /// The data for the metrics. Use this parameter if your metrics do not contain associated entities. The array can include no more than 1000 metrics per call. The limit of metrics allowed, 1000, is the sum of both EntityMetricData and MetricData metrics. public var metricData: [CloudWatchClientTypes.MetricDatum]? /// The namespace for the metric data. You can use ASCII characters for the namespace, except for control characters which are not supported. To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that begins with AWS/ /// This member is required. public var namespace: Swift.String? + /// Whether to accept valid metric data when an invalid entity is sent. + /// + /// * When set to true: Any validation error (for entity or metric data) will fail the entire request, and no data will be ingested. The failed operation will return a 400 result with the error. + /// + /// * When set to false: Validation errors in the entity will not associate the metric with the entity, but the metric data will still be accepted and ingested. Validation errors in the metric data will fail the entire request, and no data will be ingested. In the case of an invalid entity, the operation will return a 200 status, but an additional response header will contain information about the validation errors. The new header, X-Amzn-Failure-Message is an enumeration of the following values: + /// + /// * InvalidEntity - The provided entity is invalid. + /// + /// * InvalidKeyAttributes - The provided KeyAttributes of an entity is invalid. + /// + /// * InvalidAttributes - The provided Attributes of an entity is invalid. + /// + /// * InvalidTypeValue - The provided Type in the KeyAttributes of an entity is invalid. + /// + /// * EntitySizeTooLarge - The number of EntityMetricData objects allowed is 2. + /// + /// * MissingRequiredFields - There are missing required fields in the KeyAttributes for the provided Type. + /// + /// + /// For details of the requirements for specifying an entity, see [How to add related information to telemetry](https://docs.aws.amazon.com/adding-your-own-related-telemetry.html) in the CloudWatch User Guide. + /// + /// + /// This parameter is required when EntityMetricData is included. + public var strictEntityValidation: Swift.Bool? public init( + entityMetricData: [CloudWatchClientTypes.EntityMetricData]? = nil, metricData: [CloudWatchClientTypes.MetricDatum]? = nil, - namespace: Swift.String? = nil + namespace: Swift.String? = nil, + strictEntityValidation: Swift.Bool? = nil ) { + self.entityMetricData = entityMetricData self.metricData = metricData self.namespace = namespace + self.strictEntityValidation = strictEntityValidation } } @@ -4491,8 +4560,10 @@ extension PutMetricDataInput { static func write(value: PutMetricDataInput?, to writer: SmithyFormURL.Writer) throws { guard let value else { return } + try writer["EntityMetricData"].writeList(value.entityMetricData, memberWritingClosure: CloudWatchClientTypes.EntityMetricData.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["MetricData"].writeList(value.metricData, memberWritingClosure: CloudWatchClientTypes.MetricDatum.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["Namespace"].write(value.namespace) + try writer["StrictEntityValidation"].write(value.strictEntityValidation) try writer["Action"].write("PutMetricData") try writer["Version"].write("2010-08-01") } @@ -6304,4 +6375,22 @@ extension CloudWatchClientTypes.StatisticSet { } } +extension CloudWatchClientTypes.EntityMetricData { + + static func write(value: CloudWatchClientTypes.EntityMetricData?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["Entity"].write(value.entity, with: CloudWatchClientTypes.Entity.write(value:to:)) + try writer["MetricData"].writeList(value.metricData, memberWritingClosure: CloudWatchClientTypes.MetricDatum.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension CloudWatchClientTypes.Entity { + + static func write(value: CloudWatchClientTypes.Entity?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["Attributes"].writeMap(value.attributes, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["KeyAttributes"].writeMap(value.keyAttributes, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + public enum CloudWatchClientTypes {} diff --git a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift index 61c2e882b2e..15bcfaf255a 100644 --- a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift +++ b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchEventsClient: ClientRuntime.Client { public static let clientName = "CloudWatchEventsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudWatchEventsClient.CloudWatchEventsClientConfiguration let serviceName = "CloudWatch Events" diff --git a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift index 94949f1e303..e540a802fe8 100644 --- a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift +++ b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchLogsClient: ClientRuntime.Client { public static let clientName = "CloudWatchLogsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudWatchLogsClient.CloudWatchLogsClientConfiguration let serviceName = "CloudWatch Logs" diff --git a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift index 0c5ceb40b83..d3d3aea6d1a 100644 --- a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift +++ b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeBuildClient: ClientRuntime.Client { public static let clientName = "CodeBuildClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeBuildClient.CodeBuildClientConfiguration let serviceName = "CodeBuild" diff --git a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift index 586bcc61f0b..a621efd6624 100644 --- a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift +++ b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeCatalystClient: ClientRuntime.Client { public static let clientName = "CodeCatalystClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeCatalystClient.CodeCatalystClientConfiguration let serviceName = "CodeCatalyst" diff --git a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift index 917ae0e8bb2..0c2089258c7 100644 --- a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift +++ b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeCommitClient: ClientRuntime.Client { public static let clientName = "CodeCommitClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeCommitClient.CodeCommitClientConfiguration let serviceName = "CodeCommit" diff --git a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift index f1e2a71fce3..640f8871024 100644 --- a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift +++ b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeConnectionsClient: ClientRuntime.Client { public static let clientName = "CodeConnectionsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeConnectionsClient.CodeConnectionsClientConfiguration let serviceName = "CodeConnections" diff --git a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift index c703ca34d41..4ac5033f4cc 100644 --- a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift +++ b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeDeployClient: ClientRuntime.Client { public static let clientName = "CodeDeployClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeDeployClient.CodeDeployClientConfiguration let serviceName = "CodeDeploy" diff --git a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift index e3bd96fee50..45579931967 100644 --- a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift +++ b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruProfilerClient: ClientRuntime.Client { public static let clientName = "CodeGuruProfilerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeGuruProfilerClient.CodeGuruProfilerClientConfiguration let serviceName = "CodeGuruProfiler" diff --git a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift index ddd3bb0354e..b989e3de744 100644 --- a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift +++ b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruReviewerClient: ClientRuntime.Client { public static let clientName = "CodeGuruReviewerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeGuruReviewerClient.CodeGuruReviewerClientConfiguration let serviceName = "CodeGuru Reviewer" diff --git a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift index 76b871526c1..82332159a5e 100644 --- a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift +++ b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruSecurityClient: ClientRuntime.Client { public static let clientName = "CodeGuruSecurityClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeGuruSecurityClient.CodeGuruSecurityClientConfiguration let serviceName = "CodeGuru Security" diff --git a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift index 5e5240e0835..70c35b8f6ee 100644 --- a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift +++ b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodePipelineClient: ClientRuntime.Client { public static let clientName = "CodePipelineClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodePipelineClient.CodePipelineClientConfiguration let serviceName = "CodePipeline" diff --git a/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift b/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift index 11394a4d387..ca6a3bfa4b1 100644 --- a/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift +++ b/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeStarconnectionsClient: ClientRuntime.Client { public static let clientName = "CodeStarconnectionsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeStarconnectionsClient.CodeStarconnectionsClientConfiguration let serviceName = "CodeStar connections" diff --git a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift index 17748ab324c..1af08683bd7 100644 --- a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift +++ b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeartifactClient: ClientRuntime.Client { public static let clientName = "CodeartifactClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeartifactClient.CodeartifactClientConfiguration let serviceName = "codeartifact" diff --git a/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift b/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift index 5066d0de20f..978d335f946 100644 --- a/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift +++ b/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodestarnotificationsClient: ClientRuntime.Client { public static let clientName = "CodestarnotificationsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodestarnotificationsClient.CodestarnotificationsClientConfiguration let serviceName = "codestar notifications" diff --git a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift index c0ee9c5a383..e1676c5c6e1 100644 --- a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift +++ b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoIdentityClient: ClientRuntime.Client { public static let clientName = "CognitoIdentityClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CognitoIdentityClient.CognitoIdentityClientConfiguration let serviceName = "Cognito Identity" diff --git a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift index b8297b8e12b..c0e85e780eb 100644 --- a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift +++ b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoIdentityProviderClient: ClientRuntime.Client { public static let clientName = "CognitoIdentityProviderClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CognitoIdentityProviderClient.CognitoIdentityProviderClientConfiguration let serviceName = "Cognito Identity Provider" diff --git a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift index 86dfe21fbc2..a903d895f0f 100644 --- a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift +++ b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoSyncClient: ClientRuntime.Client { public static let clientName = "CognitoSyncClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CognitoSyncClient.CognitoSyncClientConfiguration let serviceName = "Cognito Sync" diff --git a/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift b/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift index b8e05cece53..382805f3d42 100644 --- a/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift +++ b/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComprehendClient: ClientRuntime.Client { public static let clientName = "ComprehendClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ComprehendClient.ComprehendClientConfiguration let serviceName = "Comprehend" diff --git a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift index 3984f929acc..794fba7822f 100644 --- a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift +++ b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComprehendMedicalClient: ClientRuntime.Client { public static let clientName = "ComprehendMedicalClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ComprehendMedicalClient.ComprehendMedicalClientConfiguration let serviceName = "ComprehendMedical" diff --git a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift index a627a40f247..165bdde5901 100644 --- a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift +++ b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComputeOptimizerClient: ClientRuntime.Client { public static let clientName = "ComputeOptimizerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ComputeOptimizerClient.ComputeOptimizerClientConfiguration let serviceName = "Compute Optimizer" diff --git a/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift b/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift index 63e97720c5e..216d9d59ec7 100644 --- a/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift +++ b/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConfigClient: ClientRuntime.Client { public static let clientName = "ConfigClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConfigClient.ConfigClientConfiguration let serviceName = "Config" diff --git a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift index 9a1668a7154..f187fa34425 100644 --- a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift +++ b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectClient: ClientRuntime.Client { public static let clientName = "ConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConnectClient.ConnectClientConfiguration let serviceName = "Connect" diff --git a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift index 264f8c0c765..e533746db82 100644 --- a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift +++ b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectCampaignsClient: ClientRuntime.Client { public static let clientName = "ConnectCampaignsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConnectCampaignsClient.ConnectCampaignsClientConfiguration let serviceName = "ConnectCampaigns" diff --git a/Sources/Services/AWSConnectCampaignsV2/Package.swift.txt b/Sources/Services/AWSConnectCampaignsV2/Package.swift.txt new file mode 100644 index 00000000000..36f60142930 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Package.swift.txt @@ -0,0 +1,96 @@ +// swift-tools-version: 5.9.0 + +import PackageDescription + +let package = Package( + name: "AWSConnectCampaignsV2", + platforms: [ + .macOS(.v10_15), .iOS(.v13) + ], + products: [ + .library(name: "AWSConnectCampaignsV2", targets: ["AWSConnectCampaignsV2"]) + ], + dependencies: [ + .package( + id: "aws-sdk-swift.AWSClientRuntime", + exact: "0.0.1" + ), + .package( + id: "aws-sdk-swift.AWSSDKHTTPAuth", + exact: "0.0.1" + ), + .package( + url: "https://github.com/smithy-lang/smithy-swift", + exact: "0.0.1" + ), + ], + targets: [ + .target( + name: "AWSConnectCampaignsV2", + dependencies: [ + .product( + name: "AWSClientRuntime", + package: "aws-sdk-swift.AWSClientRuntime" + ), + .product( + name: "AWSSDKHTTPAuth", + package: "aws-sdk-swift.AWSSDKHTTPAuth" + ), + .product( + name: "SmithyHTTPAuthAPI", + package: "smithy-swift" + ), + .product( + name: "Smithy", + package: "smithy-swift" + ), + .product( + name: "ClientRuntime", + package: "smithy-swift" + ), + .product( + name: "SmithyIdentity", + package: "smithy-swift" + ), + .product( + name: "SmithyRetriesAPI", + package: "smithy-swift" + ), + .product( + name: "SmithyHTTPAPI", + package: "smithy-swift" + ), + .product( + name: "SmithyJSON", + package: "smithy-swift" + ), + .product( + name: "SmithyReadWrite", + package: "smithy-swift" + ), + .product( + name: "SmithyRetries", + package: "smithy-swift" + ), + .product( + name: "SmithyTimestamps", + package: "smithy-swift" + ), + .product( + name: "SmithyTestUtil", + package: "smithy-swift" + ), + ] + ), + .testTarget( + name: "AWSConnectCampaignsV2Tests", + dependencies: [ + "AWSConnectCampaignsV2", + .product( + name: "SmithyTestUtil", + package: "smithy-swift" + ), + ] + ) + ] +) diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/AuthSchemeResolver.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/AuthSchemeResolver.swift new file mode 100644 index 00000000000..ec04267a88e --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/AuthSchemeResolver.swift @@ -0,0 +1,56 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import class Smithy.Context +import enum Smithy.ClientError +import enum SmithyHTTPAuthAPI.SigningPropertyKeys +import protocol SmithyHTTPAuthAPI.AuthSchemeResolver +import protocol SmithyHTTPAuthAPI.AuthSchemeResolverParameters +import struct SmithyHTTPAuthAPI.AuthOption + +public struct ConnectCampaignsV2AuthSchemeResolverParameters: SmithyHTTPAuthAPI.AuthSchemeResolverParameters { + public let operation: Swift.String + // Region is used for SigV4 auth scheme + public let region: Swift.String? +} + +public protocol ConnectCampaignsV2AuthSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver { + // Intentionally empty. + // This is the parent protocol that all auth scheme resolver implementations of + // the service ConnectCampaignsV2 must conform to. +} + +public struct DefaultConnectCampaignsV2AuthSchemeResolver: ConnectCampaignsV2AuthSchemeResolver { + + public func resolveAuthScheme(params: SmithyHTTPAuthAPI.AuthSchemeResolverParameters) throws -> [SmithyHTTPAuthAPI.AuthOption] { + var validAuthOptions = [SmithyHTTPAuthAPI.AuthOption]() + guard let serviceParams = params as? ConnectCampaignsV2AuthSchemeResolverParameters else { + throw Smithy.ClientError.authError("Service specific auth scheme parameters type must be passed to auth scheme resolver.") + } + switch serviceParams.operation { + default: + var sigV4Option = SmithyHTTPAuthAPI.AuthOption(schemeID: "aws.auth#sigv4") + sigV4Option.signingProperties.set(key: SmithyHTTPAuthAPI.SigningPropertyKeys.signingName, value: "connect-campaigns") + guard let region = serviceParams.region else { + throw Smithy.ClientError.authError("Missing region in auth scheme parameters for SigV4 auth scheme.") + } + sigV4Option.signingProperties.set(key: SmithyHTTPAuthAPI.SigningPropertyKeys.signingRegion, value: region) + validAuthOptions.append(sigV4Option) + } + return validAuthOptions + } + + public func constructParameters(context: Smithy.Context) throws -> SmithyHTTPAuthAPI.AuthSchemeResolverParameters { + guard let opName = context.getOperation() else { + throw Smithy.ClientError.dataNotFound("Operation name not configured in middleware context for auth scheme resolver params construction.") + } + let opRegion = context.getRegion() + return ConnectCampaignsV2AuthSchemeResolverParameters(operation: opName, region: opRegion) + } +} diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift new file mode 100644 index 00000000000..399748feafa --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift @@ -0,0 +1,2503 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import class AWSClientRuntime.AWSClientConfigDefaultsProvider +import class AWSClientRuntime.AmzSdkRequestMiddleware +import class AWSClientRuntime.DefaultAWSClientPlugin +import class ClientRuntime.ClientBuilder +import class ClientRuntime.DefaultClientPlugin +import class ClientRuntime.HttpClientConfiguration +import class ClientRuntime.OrchestratorBuilder +import class ClientRuntime.OrchestratorTelemetry +import class ClientRuntime.SdkHttpClient +import class Smithy.ContextBuilder +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse +@_spi(SmithyReadWrite) import class SmithyJSON.Writer +import enum AWSClientRuntime.AWSRetryErrorInfoProvider +import enum AWSClientRuntime.AWSRetryMode +import enum ClientRuntime.ClientLogMode +import enum ClientRuntime.DefaultTelemetry +import enum ClientRuntime.OrchestratorMetricsAttributesKeys +import protocol AWSClientRuntime.AWSDefaultClientConfiguration +import protocol AWSClientRuntime.AWSRegionClientConfiguration +import protocol ClientRuntime.Client +import protocol ClientRuntime.DefaultClientConfiguration +import protocol ClientRuntime.DefaultHttpClientConfiguration +import protocol ClientRuntime.HttpInterceptorProvider +import protocol ClientRuntime.IdempotencyTokenGenerator +import protocol ClientRuntime.InterceptorProvider +import protocol ClientRuntime.TelemetryProvider +import protocol Smithy.LogAgent +import protocol SmithyHTTPAPI.HTTPClient +import protocol SmithyHTTPAuthAPI.AuthSchemeResolver +import protocol SmithyIdentity.AWSCredentialIdentityResolver +import protocol SmithyIdentity.BearerTokenIdentityResolver +@_spi(SmithyReadWrite) import protocol SmithyReadWrite.SmithyWriter +import struct AWSClientRuntime.AmzSdkInvocationIdMiddleware +import struct AWSClientRuntime.EndpointResolverMiddleware +import struct AWSClientRuntime.UserAgentMiddleware +import struct AWSSDKHTTPAuth.SigV4AuthScheme +import struct ClientRuntime.AuthSchemeMiddleware +@_spi(SmithyReadWrite) import struct ClientRuntime.BodyMiddleware +import struct ClientRuntime.ContentLengthMiddleware +import struct ClientRuntime.ContentTypeMiddleware +@_spi(SmithyReadWrite) import struct ClientRuntime.DeserializeMiddleware +import struct ClientRuntime.LoggerMiddleware +import struct ClientRuntime.QueryItemMiddleware +import struct ClientRuntime.SignerMiddleware +import struct ClientRuntime.URLHostMiddleware +import struct ClientRuntime.URLPathMiddleware +import struct Smithy.Attributes +import struct SmithyIdentity.BearerTokenIdentity +import struct SmithyIdentity.StaticBearerTokenIdentityResolver +import struct SmithyRetries.DefaultRetryStrategy +import struct SmithyRetriesAPI.RetryStrategyOptions +import typealias SmithyHTTPAuthAPI.AuthSchemes + +public class ConnectCampaignsV2Client: ClientRuntime.Client { + public static let clientName = "ConnectCampaignsV2Client" + public static let version = "1.0.42" + let client: ClientRuntime.SdkHttpClient + let config: ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration + let serviceName = "ConnectCampaignsV2" + + public required init(config: ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration) { + client = ClientRuntime.SdkHttpClient(engine: config.httpClientEngine, config: config.httpClientConfiguration) + self.config = config + } + + public convenience init(region: Swift.String) throws { + let config = try ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration(region: region) + self.init(config: config) + } + + public convenience required init() async throws { + let config = try await ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration() + self.init(config: config) + } +} + +extension ConnectCampaignsV2Client { + public class ConnectCampaignsV2ClientConfiguration: AWSClientRuntime.AWSDefaultClientConfiguration & AWSClientRuntime.AWSRegionClientConfiguration & ClientRuntime.DefaultClientConfiguration & ClientRuntime.DefaultHttpClientConfiguration { + public var useFIPS: Swift.Bool? + + public var useDualStack: Swift.Bool? + + public var appID: Swift.String? + + public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver + + public var awsRetryMode: AWSClientRuntime.AWSRetryMode + + public var maxAttempts: Swift.Int? + + public var region: Swift.String? + + public var signingRegion: Swift.String? + + public var endpointResolver: EndpointResolver + + public var telemetryProvider: ClientRuntime.TelemetryProvider + + public var retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions + + public var clientLogMode: ClientRuntime.ClientLogMode + + public var endpoint: Swift.String? + + public var idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator + + public var httpClientEngine: SmithyHTTPAPI.HTTPClient + + public var httpClientConfiguration: ClientRuntime.HttpClientConfiguration + + public var authSchemes: SmithyHTTPAuthAPI.AuthSchemes? + + public var authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver + + public var bearerTokenIdentityResolver: any SmithyIdentity.BearerTokenIdentityResolver + + public private(set) var interceptorProviders: [ClientRuntime.InterceptorProvider] + + public private(set) var httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider] + + internal let logger: Smithy.LogAgent + + private init(_ useFIPS: Swift.Bool?, _ useDualStack: Swift.Bool?, _ appID: Swift.String?, _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, _ region: Swift.String?, _ signingRegion: Swift.String?, _ endpointResolver: EndpointResolver, _ telemetryProvider: ClientRuntime.TelemetryProvider, _ retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions, _ clientLogMode: ClientRuntime.ClientLogMode, _ endpoint: Swift.String?, _ idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator, _ httpClientEngine: SmithyHTTPAPI.HTTPClient, _ httpClientConfiguration: ClientRuntime.HttpClientConfiguration, _ authSchemes: SmithyHTTPAuthAPI.AuthSchemes?, _ authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver, _ bearerTokenIdentityResolver: any SmithyIdentity.BearerTokenIdentityResolver, _ interceptorProviders: [ClientRuntime.InterceptorProvider], _ httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider]) { + self.useFIPS = useFIPS + self.useDualStack = useDualStack + self.appID = appID + self.awsCredentialIdentityResolver = awsCredentialIdentityResolver + self.awsRetryMode = awsRetryMode + self.maxAttempts = maxAttempts + self.region = region + self.signingRegion = signingRegion + self.endpointResolver = endpointResolver + self.telemetryProvider = telemetryProvider + self.retryStrategyOptions = retryStrategyOptions + self.clientLogMode = clientLogMode + self.endpoint = endpoint + self.idempotencyTokenGenerator = idempotencyTokenGenerator + self.httpClientEngine = httpClientEngine + self.httpClientConfiguration = httpClientConfiguration + self.authSchemes = authSchemes + self.authSchemeResolver = authSchemeResolver + self.bearerTokenIdentityResolver = bearerTokenIdentityResolver + self.interceptorProviders = interceptorProviders + self.httpInterceptorProviders = httpInterceptorProviders + self.logger = telemetryProvider.loggerProvider.getLogger(name: ConnectCampaignsV2Client.clientName) + } + + public convenience init(useFIPS: Swift.Bool? = nil, useDualStack: Swift.Bool? = nil, appID: Swift.String? = nil, awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, endpointResolver: EndpointResolver? = nil, telemetryProvider: ClientRuntime.TelemetryProvider? = nil, retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions? = nil, clientLogMode: ClientRuntime.ClientLogMode? = nil, endpoint: Swift.String? = nil, idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator? = nil, httpClientEngine: SmithyHTTPAPI.HTTPClient? = nil, httpClientConfiguration: ClientRuntime.HttpClientConfiguration? = nil, authSchemes: SmithyHTTPAuthAPI.AuthSchemes? = nil, authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver? = nil, bearerTokenIdentityResolver: (any SmithyIdentity.BearerTokenIdentityResolver)? = nil, interceptorProviders: [ClientRuntime.InterceptorProvider]? = nil, httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider]? = nil) throws { + self.init(useFIPS, useDualStack, try appID ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.appID(), try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, region, signingRegion, try endpointResolver ?? DefaultEndpointResolver(), telemetryProvider ?? ClientRuntime.DefaultTelemetry.provider, try retryStrategyOptions ?? AWSClientConfigDefaultsProvider.retryStrategyOptions(awsRetryMode, maxAttempts), clientLogMode ?? AWSClientConfigDefaultsProvider.clientLogMode(), endpoint, idempotencyTokenGenerator ?? AWSClientConfigDefaultsProvider.idempotencyTokenGenerator(), httpClientEngine ?? AWSClientConfigDefaultsProvider.httpClientEngine(), httpClientConfiguration ?? AWSClientConfigDefaultsProvider.httpClientConfiguration(), authSchemes ?? [AWSSDKHTTPAuth.SigV4AuthScheme()], authSchemeResolver ?? DefaultConnectCampaignsV2AuthSchemeResolver(), bearerTokenIdentityResolver ?? SmithyIdentity.StaticBearerTokenIdentityResolver(token: SmithyIdentity.BearerTokenIdentity(token: "")), interceptorProviders ?? [], httpInterceptorProviders ?? []) + } + + public convenience init(useFIPS: Swift.Bool? = nil, useDualStack: Swift.Bool? = nil, appID: Swift.String? = nil, awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, endpointResolver: EndpointResolver? = nil, telemetryProvider: ClientRuntime.TelemetryProvider? = nil, retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions? = nil, clientLogMode: ClientRuntime.ClientLogMode? = nil, endpoint: Swift.String? = nil, idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator? = nil, httpClientEngine: SmithyHTTPAPI.HTTPClient? = nil, httpClientConfiguration: ClientRuntime.HttpClientConfiguration? = nil, authSchemes: SmithyHTTPAuthAPI.AuthSchemes? = nil, authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver? = nil, bearerTokenIdentityResolver: (any SmithyIdentity.BearerTokenIdentityResolver)? = nil, interceptorProviders: [ClientRuntime.InterceptorProvider]? = nil, httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider]? = nil) async throws { + self.init(useFIPS, useDualStack, try appID ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.appID(), try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try endpointResolver ?? DefaultEndpointResolver(), telemetryProvider ?? ClientRuntime.DefaultTelemetry.provider, try retryStrategyOptions ?? AWSClientConfigDefaultsProvider.retryStrategyOptions(awsRetryMode, maxAttempts), clientLogMode ?? AWSClientConfigDefaultsProvider.clientLogMode(), endpoint, idempotencyTokenGenerator ?? AWSClientConfigDefaultsProvider.idempotencyTokenGenerator(), httpClientEngine ?? AWSClientConfigDefaultsProvider.httpClientEngine(), httpClientConfiguration ?? AWSClientConfigDefaultsProvider.httpClientConfiguration(), authSchemes ?? [AWSSDKHTTPAuth.SigV4AuthScheme()], authSchemeResolver ?? DefaultConnectCampaignsV2AuthSchemeResolver(), bearerTokenIdentityResolver ?? SmithyIdentity.StaticBearerTokenIdentityResolver(token: SmithyIdentity.BearerTokenIdentity(token: "")), interceptorProviders ?? [], httpInterceptorProviders ?? []) + } + + public convenience required init() async throws { + try await self.init(useFIPS: nil, useDualStack: nil, appID: nil, awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, region: nil, signingRegion: nil, endpointResolver: nil, telemetryProvider: nil, retryStrategyOptions: nil, clientLogMode: nil, endpoint: nil, idempotencyTokenGenerator: nil, httpClientEngine: nil, httpClientConfiguration: nil, authSchemes: nil, authSchemeResolver: nil, bearerTokenIdentityResolver: nil, interceptorProviders: nil, httpInterceptorProviders: nil) + } + + public convenience init(region: String) throws { + self.init(nil, nil, try AWSClientRuntime.AWSClientConfigDefaultsProvider.appID(), try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, region, region, try DefaultEndpointResolver(), ClientRuntime.DefaultTelemetry.provider, try AWSClientConfigDefaultsProvider.retryStrategyOptions(), AWSClientConfigDefaultsProvider.clientLogMode(), nil, AWSClientConfigDefaultsProvider.idempotencyTokenGenerator(), AWSClientConfigDefaultsProvider.httpClientEngine(), AWSClientConfigDefaultsProvider.httpClientConfiguration(), [AWSSDKHTTPAuth.SigV4AuthScheme()], DefaultConnectCampaignsV2AuthSchemeResolver(), SmithyIdentity.StaticBearerTokenIdentityResolver(token: SmithyIdentity.BearerTokenIdentity(token: "")), [], []) + } + + public var partitionID: String? { + return "\(ConnectCampaignsV2Client.clientName) - \(region ?? "")" + } + public func addInterceptorProvider(_ provider: ClientRuntime.InterceptorProvider) { + self.interceptorProviders.append(provider) + } + + public func addInterceptorProvider(_ provider: ClientRuntime.HttpInterceptorProvider) { + self.httpInterceptorProviders.append(provider) + } + + } + + public static func builder() -> ClientRuntime.ClientBuilder { + return ClientRuntime.ClientBuilder(defaultPlugins: [ + ClientRuntime.DefaultClientPlugin(), + AWSClientRuntime.DefaultAWSClientPlugin(clientName: self.clientName), + DefaultAWSAuthSchemePlugin() + ]) + } +} + +extension ConnectCampaignsV2Client { + /// Performs the `CreateCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Creates a campaign for the specified Amazon Connect account. This API is idempotent. + /// + /// - Parameter CreateCampaignInput : The request for CreateCampaign API. + /// + /// - Returns: `CreateCampaignOutput` : The response for Create Campaign API + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ServiceQuotaExceededException` : Request would cause a service quota to be exceeded. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func createCampaign(input: CreateCampaignInput) async throws -> CreateCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "createCampaign") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateCampaignInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateCampaignOutput.httpOutput(from:), CreateCampaignOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateCampaign") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Deletes a campaign from the specified Amazon Connect account. + /// + /// - Parameter DeleteCampaignInput : The request for DeleteCampaign API. + /// + /// - Returns: `DeleteCampaignOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteCampaign(input: DeleteCampaignInput) async throws -> DeleteCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteCampaign") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteCampaignOutput.httpOutput(from:), DeleteCampaignOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteCampaign") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteCampaignChannelSubtypeConfig` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Deletes the channel subtype config of a campaign. This API is idempotent. + /// + /// - Parameter DeleteCampaignChannelSubtypeConfigInput : The request for DeleteCampaignChannelSubtypeConfig API. + /// + /// - Returns: `DeleteCampaignChannelSubtypeConfigOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteCampaignChannelSubtypeConfig(input: DeleteCampaignChannelSubtypeConfigInput) async throws -> DeleteCampaignChannelSubtypeConfigOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteCampaignChannelSubtypeConfig") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCampaignChannelSubtypeConfigInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(DeleteCampaignChannelSubtypeConfigInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteCampaignChannelSubtypeConfigOutput.httpOutput(from:), DeleteCampaignChannelSubtypeConfigOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteCampaignChannelSubtypeConfig") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteCampaignCommunicationLimits` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Deletes the communication limits config for a campaign. This API is idempotent. + /// + /// - Parameter DeleteCampaignCommunicationLimitsInput : The request for DeleteCampaignCommunicationLimits API. + /// + /// - Returns: `DeleteCampaignCommunicationLimitsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteCampaignCommunicationLimits(input: DeleteCampaignCommunicationLimitsInput) async throws -> DeleteCampaignCommunicationLimitsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteCampaignCommunicationLimits") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCampaignCommunicationLimitsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(DeleteCampaignCommunicationLimitsInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteCampaignCommunicationLimitsOutput.httpOutput(from:), DeleteCampaignCommunicationLimitsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteCampaignCommunicationLimits") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteCampaignCommunicationTime` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Deletes the communication time config for a campaign. This API is idempotent. + /// + /// - Parameter DeleteCampaignCommunicationTimeInput : The request for DeleteCampaignCommunicationTime API. + /// + /// - Returns: `DeleteCampaignCommunicationTimeOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteCampaignCommunicationTime(input: DeleteCampaignCommunicationTimeInput) async throws -> DeleteCampaignCommunicationTimeOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteCampaignCommunicationTime") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteCampaignCommunicationTimeInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(DeleteCampaignCommunicationTimeInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteCampaignCommunicationTimeOutput.httpOutput(from:), DeleteCampaignCommunicationTimeOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteCampaignCommunicationTime") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteConnectInstanceConfig` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Deletes a connect instance config from the specified AWS account. + /// + /// - Parameter DeleteConnectInstanceConfigInput : The request for DeleteConnectInstanceConfig API. + /// + /// - Returns: `DeleteConnectInstanceConfigOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidStateException` : The request could not be processed because of conflict in the current state. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteConnectInstanceConfig(input: DeleteConnectInstanceConfigInput) async throws -> DeleteConnectInstanceConfigOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteConnectInstanceConfig") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectInstanceConfigInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(DeleteConnectInstanceConfigInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteConnectInstanceConfigOutput.httpOutput(from:), DeleteConnectInstanceConfigOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteConnectInstanceConfig") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteConnectInstanceIntegration` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Delete the integration for the specified Amazon Connect instance. + /// + /// - Parameter DeleteConnectInstanceIntegrationInput : The request for DeleteConnectInstanceIntegration API. + /// + /// - Returns: `DeleteConnectInstanceIntegrationOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteConnectInstanceIntegration(input: DeleteConnectInstanceIntegrationInput) async throws -> DeleteConnectInstanceIntegrationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "deleteConnectInstanceIntegration") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteConnectInstanceIntegrationInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DeleteConnectInstanceIntegrationInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteConnectInstanceIntegrationOutput.httpOutput(from:), DeleteConnectInstanceIntegrationOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteConnectInstanceIntegration") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DeleteInstanceOnboardingJob` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance. + /// + /// - Parameter DeleteInstanceOnboardingJobInput : The request for DeleteInstanceOnboardingJob API. + /// + /// - Returns: `DeleteInstanceOnboardingJobOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidStateException` : The request could not be processed because of conflict in the current state. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteInstanceOnboardingJob(input: DeleteInstanceOnboardingJobInput) async throws -> DeleteInstanceOnboardingJobOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteInstanceOnboardingJob") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteInstanceOnboardingJobInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteInstanceOnboardingJobOutput.httpOutput(from:), DeleteInstanceOnboardingJobOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteInstanceOnboardingJob") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `DescribeCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Describes the specific campaign. + /// + /// - Parameter DescribeCampaignInput : The request for DescribeCampaign API. + /// + /// - Returns: `DescribeCampaignOutput` : The response for DescribeCampaign API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func describeCampaign(input: DescribeCampaignInput) async throws -> DescribeCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "describeCampaign") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DescribeCampaignOutput.httpOutput(from:), DescribeCampaignOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DescribeCampaign") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `GetCampaignState` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Get state of a campaign for the specified Amazon Connect account. + /// + /// - Parameter GetCampaignStateInput : The request for GetCampaignState API. + /// + /// - Returns: `GetCampaignStateOutput` : The response for GetCampaignState API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func getCampaignState(input: GetCampaignStateInput) async throws -> GetCampaignStateOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getCampaignState") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCampaignStateInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetCampaignStateOutput.httpOutput(from:), GetCampaignStateOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetCampaignState") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `GetCampaignStateBatch` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Get state of campaigns for the specified Amazon Connect account. + /// + /// - Parameter GetCampaignStateBatchInput : The request for GetCampaignStateBatch API. + /// + /// - Returns: `GetCampaignStateBatchOutput` : The response for GetCampaignStateBatch API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func getCampaignStateBatch(input: GetCampaignStateBatchInput) async throws -> GetCampaignStateBatchOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "getCampaignStateBatch") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetCampaignStateBatchInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: GetCampaignStateBatchInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetCampaignStateBatchOutput.httpOutput(from:), GetCampaignStateBatchOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetCampaignStateBatch") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `GetConnectInstanceConfig` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Get the specific Connect instance config. + /// + /// - Parameter GetConnectInstanceConfigInput : The request for GetConnectInstanceConfig API. + /// + /// - Returns: `GetConnectInstanceConfigOutput` : The response for GetConnectInstanceConfig API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func getConnectInstanceConfig(input: GetConnectInstanceConfigInput) async throws -> GetConnectInstanceConfigOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getConnectInstanceConfig") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetConnectInstanceConfigInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetConnectInstanceConfigOutput.httpOutput(from:), GetConnectInstanceConfigOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetConnectInstanceConfig") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `GetInstanceOnboardingJobStatus` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Get the specific instance onboarding job status. + /// + /// - Parameter GetInstanceOnboardingJobStatusInput : The request for GetInstanceOnboardingJobStatus API. + /// + /// - Returns: `GetInstanceOnboardingJobStatusOutput` : The response for GetInstanceOnboardingJobStatus API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func getInstanceOnboardingJobStatus(input: GetInstanceOnboardingJobStatusInput) async throws -> GetInstanceOnboardingJobStatusOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getInstanceOnboardingJobStatus") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetInstanceOnboardingJobStatusInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetInstanceOnboardingJobStatusOutput.httpOutput(from:), GetInstanceOnboardingJobStatusOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetInstanceOnboardingJobStatus") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `ListCampaigns` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Provides summary information about the campaigns under the specified Amazon Connect account. + /// + /// - Parameter ListCampaignsInput : The request for ListCampaigns API. + /// + /// - Returns: `ListCampaignsOutput` : The response for ListCampaigns API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func listCampaigns(input: ListCampaignsInput) async throws -> ListCampaignsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listCampaigns") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListCampaignsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListCampaignsInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListCampaignsOutput.httpOutput(from:), ListCampaignsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListCampaigns") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `ListConnectInstanceIntegrations` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Provides summary information about the integration under the specified Connect instance. + /// + /// - Parameter ListConnectInstanceIntegrationsInput : The request for ListConnectInstanceIntegrations API. + /// + /// - Returns: `ListConnectInstanceIntegrationsOutput` : The response for ListConnectInstanceIntegrations API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func listConnectInstanceIntegrations(input: ListConnectInstanceIntegrationsInput) async throws -> ListConnectInstanceIntegrationsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listConnectInstanceIntegrations") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListConnectInstanceIntegrationsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListConnectInstanceIntegrationsInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListConnectInstanceIntegrationsOutput.httpOutput(from:), ListConnectInstanceIntegrationsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListConnectInstanceIntegrations") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `ListTagsForResource` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// List tags for a resource. + /// + /// - Parameter ListTagsForResourceInput : The request for ListTagsForResource API. + /// + /// - Returns: `ListTagsForResourceOutput` : The request for ListTagsForResource API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func listTagsForResource(input: ListTagsForResourceInput) async throws -> ListTagsForResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listTagsForResource") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListTagsForResourceOutput.httpOutput(from:), ListTagsForResourceOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListTagsForResource") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `PauseCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Pauses a campaign for the specified Amazon Connect account. + /// + /// - Parameter PauseCampaignInput : The request for PauseCampaign API. + /// + /// - Returns: `PauseCampaignOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func pauseCampaign(input: PauseCampaignInput) async throws -> PauseCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "pauseCampaign") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(PauseCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(PauseCampaignOutput.httpOutput(from:), PauseCampaignOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "PauseCampaign") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `PutConnectInstanceIntegration` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Put or update the integration for the specified Amazon Connect instance. + /// + /// - Parameter PutConnectInstanceIntegrationInput : The request for PutConnectInstanceIntegration API. + /// + /// - Returns: `PutConnectInstanceIntegrationOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func putConnectInstanceIntegration(input: PutConnectInstanceIntegrationInput) async throws -> PutConnectInstanceIntegrationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "putConnectInstanceIntegration") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutConnectInstanceIntegrationInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PutConnectInstanceIntegrationInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(PutConnectInstanceIntegrationOutput.httpOutput(from:), PutConnectInstanceIntegrationOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "PutConnectInstanceIntegration") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `PutOutboundRequestBatch` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Creates outbound requests for the specified campaign Amazon Connect account. This API is idempotent. + /// + /// - Parameter PutOutboundRequestBatchInput : The request for PutOutboundRequestBatch API. + /// + /// - Returns: `PutOutboundRequestBatchOutput` : The response for PutOutboundRequestBatch API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func putOutboundRequestBatch(input: PutOutboundRequestBatchInput) async throws -> PutOutboundRequestBatchOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "putOutboundRequestBatch") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutOutboundRequestBatchInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PutOutboundRequestBatchInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(PutOutboundRequestBatchOutput.httpOutput(from:), PutOutboundRequestBatchOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "PutOutboundRequestBatch") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `ResumeCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Stops a campaign for the specified Amazon Connect account. + /// + /// - Parameter ResumeCampaignInput : The request for ResumeCampaign API. + /// + /// - Returns: `ResumeCampaignOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func resumeCampaign(input: ResumeCampaignInput) async throws -> ResumeCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "resumeCampaign") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ResumeCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ResumeCampaignOutput.httpOutput(from:), ResumeCampaignOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ResumeCampaign") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `StartCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Starts a campaign for the specified Amazon Connect account. + /// + /// - Parameter StartCampaignInput : The request for StartCampaign API. + /// + /// - Returns: `StartCampaignOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func startCampaign(input: StartCampaignInput) async throws -> StartCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "startCampaign") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(StartCampaignOutput.httpOutput(from:), StartCampaignOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "StartCampaign") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `StartInstanceOnboardingJob` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Onboard the specific Amazon Connect instance to Connect Campaigns. + /// + /// - Parameter StartInstanceOnboardingJobInput : The request for StartInstanceOnboardingJob API. + /// + /// - Returns: `StartInstanceOnboardingJobOutput` : The response for StartInstanceOnboardingJob API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func startInstanceOnboardingJob(input: StartInstanceOnboardingJobInput) async throws -> StartInstanceOnboardingJobOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "startInstanceOnboardingJob") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(StartInstanceOnboardingJobInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: StartInstanceOnboardingJobInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(StartInstanceOnboardingJobOutput.httpOutput(from:), StartInstanceOnboardingJobOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "StartInstanceOnboardingJob") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `StopCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Stops a campaign for the specified Amazon Connect account. + /// + /// - Parameter StopCampaignInput : The request for StopCampaign API. + /// + /// - Returns: `StopCampaignOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func stopCampaign(input: StopCampaignInput) async throws -> StopCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "stopCampaign") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(StopCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(StopCampaignOutput.httpOutput(from:), StopCampaignOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "StopCampaign") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `TagResource` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Tag a resource. + /// + /// - Parameter TagResourceInput : The request for TagResource API. + /// + /// - Returns: `TagResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func tagResource(input: TagResourceInput) async throws -> TagResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "tagResource") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: TagResourceInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(TagResourceOutput.httpOutput(from:), TagResourceOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "TagResource") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UntagResource` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Untag a resource. + /// + /// - Parameter UntagResourceInput : The request for UntagResource API. + /// + /// - Returns: `UntagResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func untagResource(input: UntagResourceInput) async throws -> UntagResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "untagResource") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(UntagResourceInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UntagResourceOutput.httpOutput(from:), UntagResourceOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UntagResource") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UpdateCampaignChannelSubtypeConfig` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the channel subtype config of a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignChannelSubtypeConfigInput : The request for UpdateCampaignChannelSubtypeConfig API. + /// + /// - Returns: `UpdateCampaignChannelSubtypeConfigOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignChannelSubtypeConfig(input: UpdateCampaignChannelSubtypeConfigInput) async throws -> UpdateCampaignChannelSubtypeConfigOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignChannelSubtypeConfig") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignChannelSubtypeConfigInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignChannelSubtypeConfigInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignChannelSubtypeConfigOutput.httpOutput(from:), UpdateCampaignChannelSubtypeConfigOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignChannelSubtypeConfig") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UpdateCampaignCommunicationLimits` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the communication limits config for a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignCommunicationLimitsInput : The request for UpdateCampaignCommunicationLimits API. + /// + /// - Returns: `UpdateCampaignCommunicationLimitsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignCommunicationLimits(input: UpdateCampaignCommunicationLimitsInput) async throws -> UpdateCampaignCommunicationLimitsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignCommunicationLimits") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignCommunicationLimitsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignCommunicationLimitsInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignCommunicationLimitsOutput.httpOutput(from:), UpdateCampaignCommunicationLimitsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignCommunicationLimits") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UpdateCampaignCommunicationTime` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the communication time config for a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignCommunicationTimeInput : The request for UpdateCampaignCommunicationTime API. + /// + /// - Returns: `UpdateCampaignCommunicationTimeOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignCommunicationTime(input: UpdateCampaignCommunicationTimeInput) async throws -> UpdateCampaignCommunicationTimeOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignCommunicationTime") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignCommunicationTimeInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignCommunicationTimeInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignCommunicationTimeOutput.httpOutput(from:), UpdateCampaignCommunicationTimeOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignCommunicationTime") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UpdateCampaignFlowAssociation` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the campaign flow associated with a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignFlowAssociationInput : The request for UpdateCampaignFlowAssociation API. + /// + /// - Returns: `UpdateCampaignFlowAssociationOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignFlowAssociation(input: UpdateCampaignFlowAssociationInput) async throws -> UpdateCampaignFlowAssociationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignFlowAssociation") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignFlowAssociationInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignFlowAssociationInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignFlowAssociationOutput.httpOutput(from:), UpdateCampaignFlowAssociationOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignFlowAssociation") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UpdateCampaignName` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the name of a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignNameInput : The request for UpdateCampaignName API. + /// + /// - Returns: `UpdateCampaignNameOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignName(input: UpdateCampaignNameInput) async throws -> UpdateCampaignNameOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignName") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignNameInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignNameInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignNameOutput.httpOutput(from:), UpdateCampaignNameOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignName") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UpdateCampaignSchedule` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the schedule for a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignScheduleInput : The request for UpdateCampaignSchedule API. + /// + /// - Returns: `UpdateCampaignScheduleOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignSchedule(input: UpdateCampaignScheduleInput) async throws -> UpdateCampaignScheduleOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignSchedule") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignScheduleInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignScheduleInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignScheduleOutput.httpOutput(from:), UpdateCampaignScheduleOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignSchedule") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UpdateCampaignSource` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the campaign source with a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignSourceInput : The request for UpdateCampaignSource API. + /// + /// - Returns: `UpdateCampaignSourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignSource(input: UpdateCampaignSourceInput) async throws -> UpdateCampaignSourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignSource") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect-campaigns") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateCampaignSourceInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignSourceInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignSourceOutput.httpOutput(from:), UpdateCampaignSourceOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ConnectCampaignsV2Client.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignSource") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + +} diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Endpoints.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Endpoints.swift new file mode 100644 index 00000000000..886eff1dcf3 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Endpoints.swift @@ -0,0 +1,73 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import class ClientRuntime.EndpointsRequestContext +import let AWSClientRuntime.awsPartitionJSON +import protocol ClientRuntime.EndpointsRequestContextProviding +import struct ClientRuntime.DefaultEndpointResolver +import struct ClientRuntime.StaticEndpointResolver +import struct SmithyHTTPAPI.Endpoint + +public struct EndpointParams { + /// Override the endpoint used to send this request + public let endpoint: Swift.String? + /// The AWS region used to dispatch the request. + public let region: Swift.String? + /// When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error. + public let useDualStack: Swift.Bool + /// When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error. + public let useFIPS: Swift.Bool + + public init( + endpoint: Swift.String? = nil, + region: Swift.String? = nil, + useDualStack: Swift.Bool = false, + useFIPS: Swift.Bool = false + ) + { + self.endpoint = endpoint + self.region = region + self.useDualStack = useDualStack + self.useFIPS = useFIPS + } +} + +extension EndpointParams: ClientRuntime.EndpointsRequestContextProviding { + + public var context: ClientRuntime.EndpointsRequestContext { + get throws { + let context = try ClientRuntime.EndpointsRequestContext() + try context.add(name: "Endpoint", value: self.endpoint) + try context.add(name: "Region", value: self.region) + try context.add(name: "UseDualStack", value: self.useDualStack) + try context.add(name: "UseFIPS", value: self.useFIPS) + return context + } + } +} + +public protocol EndpointResolver { + func resolve(params: EndpointParams) throws -> SmithyHTTPAPI.Endpoint +} + +typealias DefaultEndpointResolver = ClientRuntime.DefaultEndpointResolver + +extension DefaultEndpointResolver { + private static let ruleSet = "{\"version\":\"1.0\",\"parameters\":{\"Region\":{\"builtIn\":\"AWS::Region\",\"required\":false,\"documentation\":\"The AWS region used to dispatch the request.\",\"type\":\"String\"},\"UseDualStack\":{\"builtIn\":\"AWS::UseDualStack\",\"required\":true,\"default\":false,\"documentation\":\"When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.\",\"type\":\"Boolean\"},\"UseFIPS\":{\"builtIn\":\"AWS::UseFIPS\",\"required\":true,\"default\":false,\"documentation\":\"When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.\",\"type\":\"Boolean\"},\"Endpoint\":{\"builtIn\":\"SDK::Endpoint\",\"required\":false,\"documentation\":\"Override the endpoint used to send this request\",\"type\":\"String\"}},\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"error\":\"Invalid Configuration: FIPS and custom endpoint are not supported\",\"type\":\"error\"},{\"conditions\":[],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"Invalid Configuration: Dualstack and custom endpoint are not supported\",\"type\":\"error\"},{\"conditions\":[],\"endpoint\":{\"url\":{\"ref\":\"Endpoint\"},\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Region\"}]}],\"rules\":[{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"PartitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[true,{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsFIPS\"]}]},{\"fn\":\"booleanEquals\",\"argv\":[true,{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsDualStack\"]}]}],\"rules\":[{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"FIPS and DualStack are enabled, but this partition does not support one or both\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsFIPS\"]},true]}],\"rules\":[{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"FIPS is enabled but this partition does not support FIPS\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[true,{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsDualStack\"]}]}],\"rules\":[{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"DualStack is enabled but this partition does not support DualStack\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid Configuration: Missing Region\",\"type\":\"error\"}],\"type\":\"tree\"}]}" + + init() throws { + try self.init(partitions: AWSClientRuntime.awsPartitionJSON, ruleSet: Self.ruleSet) + } +} + +extension DefaultEndpointResolver: EndpointResolver {} + +typealias StaticEndpointResolver = ClientRuntime.StaticEndpointResolver + +extension StaticEndpointResolver: EndpointResolver {} diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Models.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Models.swift new file mode 100644 index 00000000000..e5174d197d4 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Models.swift @@ -0,0 +1,5146 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +@_spi(SmithyReadWrite) import ClientRuntime +import Foundation +import class SmithyHTTPAPI.HTTPResponse +@_spi(SmithyReadWrite) import class SmithyJSON.Reader +@_spi(SmithyReadWrite) import class SmithyJSON.Writer +import enum ClientRuntime.ErrorFault +import enum Smithy.ClientError +import enum SmithyReadWrite.ReaderError +@_spi(SmithyReadWrite) import enum SmithyReadWrite.ReadingClosures +@_spi(SmithyReadWrite) import enum SmithyReadWrite.WritingClosures +@_spi(SmithyTimestamps) import enum SmithyTimestamps.TimestampFormat +@_spi(SmithyReadWrite) import func SmithyReadWrite.listReadingClosure +@_spi(SmithyReadWrite) import func SmithyReadWrite.listWritingClosure +import protocol AWSClientRuntime.AWSServiceError +import protocol ClientRuntime.HTTPError +import protocol ClientRuntime.ModeledError +@_spi(SmithyReadWrite) import protocol SmithyReadWrite.SmithyReader +@_spi(SmithyReadWrite) import protocol SmithyReadWrite.SmithyWriter +@_spi(SmithyReadWrite) import struct AWSClientRuntime.RestJSONError +@_spi(UnknownAWSHTTPServiceError) import struct AWSClientRuntime.UnknownAWSHTTPServiceError +import struct Smithy.URIQueryItem +@_spi(SmithyReadWrite) import struct SmithyReadWrite.ReadingClosureBox +@_spi(SmithyReadWrite) import struct SmithyReadWrite.WritingClosureBox +@_spi(SmithyTimestamps) import struct SmithyTimestamps.TimestampFormatter + + +public struct DeleteCampaignChannelSubtypeConfigOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteCampaignCommunicationLimitsOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteCampaignCommunicationTimeOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteCampaignOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteConnectInstanceConfigOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteConnectInstanceIntegrationOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteInstanceOnboardingJobOutput: Swift.Sendable { + + public init() { } +} + +public struct PauseCampaignOutput: Swift.Sendable { + + public init() { } +} + +public struct PutConnectInstanceIntegrationOutput: Swift.Sendable { + + public init() { } +} + +public struct ResumeCampaignOutput: Swift.Sendable { + + public init() { } +} + +public struct StartCampaignOutput: Swift.Sendable { + + public init() { } +} + +public struct StopCampaignOutput: Swift.Sendable { + + public init() { } +} + +public struct TagResourceOutput: Swift.Sendable { + + public init() { } +} + +public struct UntagResourceOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignChannelSubtypeConfigOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignCommunicationLimitsOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignCommunicationTimeOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignFlowAssociationOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignNameOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignScheduleOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignSourceOutput: Swift.Sendable { + + public init() { } +} + +/// You do not have sufficient access to perform this action. +public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "AccessDeniedException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Agentless config + public struct AgentlessConfig: Swift.Sendable { + + public init() { } + } +} + +/// The request could not be processed because of conflict in the current state of the resource. +public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ConflictException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +/// Request processing failed because of an error or failure with the service. +public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "InternalServerException" } + public static var fault: ClientRuntime.ErrorFault { .server } + public static var isRetryable: Swift.Bool { true } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +/// The specified resource was not found. +public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ResourceNotFoundException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +/// Request would cause a service quota to be exceeded. +public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ServiceQuotaExceededException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +/// The request was denied due to request throttling. +public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ThrottlingException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { true } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +/// The input fails to satisfy the constraints specified by an AWS service. +public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ValidationException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Default Email Outbound config + public struct EmailOutboundConfig: Swift.Sendable { + /// Source/Destination Email address used for Email messages + /// This member is required. + public var connectSourceEmailAddress: Swift.String? + /// Display name for Email Address + public var sourceEmailAddressDisplayName: Swift.String? + /// Amazon Resource Names(ARN) + /// This member is required. + public var wisdomTemplateArn: Swift.String? + + public init( + connectSourceEmailAddress: Swift.String? = nil, + sourceEmailAddressDisplayName: Swift.String? = nil, + wisdomTemplateArn: Swift.String? = nil + ) + { + self.connectSourceEmailAddress = connectSourceEmailAddress + self.sourceEmailAddressDisplayName = sourceEmailAddressDisplayName + self.wisdomTemplateArn = wisdomTemplateArn + } + } +} + +extension ConnectCampaignsV2ClientTypes.EmailOutboundConfig: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "EmailOutboundConfig(wisdomTemplateArn: \(Swift.String(describing: wisdomTemplateArn)), connectSourceEmailAddress: \"CONTENT_REDACTED\", sourceEmailAddressDisplayName: \"CONTENT_REDACTED\")"} +} + +extension ConnectCampaignsV2ClientTypes { + + /// Email Outbound Mode + public enum EmailOutboundMode: Swift.Sendable { + /// Agentless config + case agentless(ConnectCampaignsV2ClientTypes.AgentlessConfig) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Email Channel Subtype config + public struct EmailChannelSubtypeConfig: Swift.Sendable { + /// Allocates outbound capacity for the specific channel subtype of this campaign between multiple active campaigns + public var capacity: Swift.Double? + /// Default Email Outbound config + /// This member is required. + public var defaultOutboundConfig: ConnectCampaignsV2ClientTypes.EmailOutboundConfig? + /// Email Outbound Mode + /// This member is required. + public var outboundMode: ConnectCampaignsV2ClientTypes.EmailOutboundMode? + + public init( + capacity: Swift.Double? = nil, + defaultOutboundConfig: ConnectCampaignsV2ClientTypes.EmailOutboundConfig? = nil, + outboundMode: ConnectCampaignsV2ClientTypes.EmailOutboundMode? = nil + ) + { + self.capacity = capacity + self.defaultOutboundConfig = defaultOutboundConfig + self.outboundMode = outboundMode + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Default SMS Outbound config + public struct SmsOutboundConfig: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var connectSourcePhoneNumberArn: Swift.String? + /// Amazon Resource Names(ARN) + /// This member is required. + public var wisdomTemplateArn: Swift.String? + + public init( + connectSourcePhoneNumberArn: Swift.String? = nil, + wisdomTemplateArn: Swift.String? = nil + ) + { + self.connectSourcePhoneNumberArn = connectSourcePhoneNumberArn + self.wisdomTemplateArn = wisdomTemplateArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// SMS Outbound Mode + public enum SmsOutboundMode: Swift.Sendable { + /// Agentless config + case agentless(ConnectCampaignsV2ClientTypes.AgentlessConfig) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// SMS Channel Subtype config + public struct SmsChannelSubtypeConfig: Swift.Sendable { + /// Allocates outbound capacity for the specific channel subtype of this campaign between multiple active campaigns + public var capacity: Swift.Double? + /// Default SMS Outbound config + /// This member is required. + public var defaultOutboundConfig: ConnectCampaignsV2ClientTypes.SmsOutboundConfig? + /// SMS Outbound Mode + /// This member is required. + public var outboundMode: ConnectCampaignsV2ClientTypes.SmsOutboundMode? + + public init( + capacity: Swift.Double? = nil, + defaultOutboundConfig: ConnectCampaignsV2ClientTypes.SmsOutboundConfig? = nil, + outboundMode: ConnectCampaignsV2ClientTypes.SmsOutboundMode? = nil + ) + { + self.capacity = capacity + self.defaultOutboundConfig = defaultOutboundConfig + self.outboundMode = outboundMode + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Answering Machine Detection config + public struct AnswerMachineDetectionConfig: Swift.Sendable { + /// Enable or disable await answer machine prompt + public var awaitAnswerMachinePrompt: Swift.Bool? + /// Enable or disable answering machine detection + /// This member is required. + public var enableAnswerMachineDetection: Swift.Bool? + + public init( + awaitAnswerMachinePrompt: Swift.Bool? = nil, + enableAnswerMachineDetection: Swift.Bool? = nil + ) + { + self.awaitAnswerMachinePrompt = awaitAnswerMachinePrompt + self.enableAnswerMachineDetection = enableAnswerMachineDetection + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Default Telephony Outbound config + public struct TelephonyOutboundConfig: Swift.Sendable { + /// Answering Machine Detection config + public var answerMachineDetectionConfig: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig? + /// The identifier of the contact flow for the outbound call. + /// This member is required. + public var connectContactFlowId: Swift.String? + /// The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue. + public var connectSourcePhoneNumber: Swift.String? + + public init( + answerMachineDetectionConfig: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig? = nil, + connectContactFlowId: Swift.String? = nil, + connectSourcePhoneNumber: Swift.String? = nil + ) + { + self.answerMachineDetectionConfig = answerMachineDetectionConfig + self.connectContactFlowId = connectContactFlowId + self.connectSourcePhoneNumber = connectSourcePhoneNumber + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Predictive config + public struct PredictiveConfig: Swift.Sendable { + /// The bandwidth allocation of a queue resource. + /// This member is required. + public var bandwidthAllocation: Swift.Double? + + public init( + bandwidthAllocation: Swift.Double? = nil + ) + { + self.bandwidthAllocation = bandwidthAllocation + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Progressive config + public struct ProgressiveConfig: Swift.Sendable { + /// The bandwidth allocation of a queue resource. + /// This member is required. + public var bandwidthAllocation: Swift.Double? + + public init( + bandwidthAllocation: Swift.Double? = nil + ) + { + self.bandwidthAllocation = bandwidthAllocation + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Telephony Outbound Mode + public enum TelephonyOutboundMode: Swift.Sendable { + /// Progressive config + case progressive(ConnectCampaignsV2ClientTypes.ProgressiveConfig) + /// Predictive config + case predictive(ConnectCampaignsV2ClientTypes.PredictiveConfig) + /// Agentless config + case agentless(ConnectCampaignsV2ClientTypes.AgentlessConfig) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Telephony Channel Subtype config + public struct TelephonyChannelSubtypeConfig: Swift.Sendable { + /// Allocates outbound capacity for the specific channel subtype of this campaign between multiple active campaigns + public var capacity: Swift.Double? + /// The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number. + public var connectQueueId: Swift.String? + /// Default Telephony Outbound config + /// This member is required. + public var defaultOutboundConfig: ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig? + /// Telephony Outbound Mode + /// This member is required. + public var outboundMode: ConnectCampaignsV2ClientTypes.TelephonyOutboundMode? + + public init( + capacity: Swift.Double? = nil, + connectQueueId: Swift.String? = nil, + defaultOutboundConfig: ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig? = nil, + outboundMode: ConnectCampaignsV2ClientTypes.TelephonyOutboundMode? = nil + ) + { + self.capacity = capacity + self.connectQueueId = connectQueueId + self.defaultOutboundConfig = defaultOutboundConfig + self.outboundMode = outboundMode + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Campaign Channel Subtype config + public struct ChannelSubtypeConfig: Swift.Sendable { + /// Email Channel Subtype config + public var email: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig? + /// SMS Channel Subtype config + public var sms: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig? + /// Telephony Channel Subtype config + public var telephony: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig? + + public init( + email: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig? = nil, + sms: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig? = nil, + telephony: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig? = nil + ) + { + self.email = email + self.sms = sms + self.telephony = telephony + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// The communication limit time unit. + public enum CommunicationLimitTimeUnit: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case day + case sdkUnknown(Swift.String) + + public static var allCases: [CommunicationLimitTimeUnit] { + return [ + .day + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .day: return "DAY" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Communication Limit + public struct CommunicationLimit: Swift.Sendable { + /// The number of days to consider with regards to this limit. + /// This member is required. + public var frequency: Swift.Int? + /// Maximum number of contacts allowed for a given target within the given frequency. + /// This member is required. + public var maxCountPerRecipient: Swift.Int? + /// The communication limit time unit. + /// This member is required. + public var unit: ConnectCampaignsV2ClientTypes.CommunicationLimitTimeUnit? + + public init( + frequency: Swift.Int? = nil, + maxCountPerRecipient: Swift.Int? = nil, + unit: ConnectCampaignsV2ClientTypes.CommunicationLimitTimeUnit? = nil + ) + { + self.frequency = frequency + self.maxCountPerRecipient = maxCountPerRecipient + self.unit = unit + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Communication limits + public enum CommunicationLimits: Swift.Sendable { + /// List of communication limit + case communicationlimitslist([ConnectCampaignsV2ClientTypes.CommunicationLimit]) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Communication limits config + public struct CommunicationLimitsConfig: Swift.Sendable { + /// Communication limits + public var allChannelSubtypes: ConnectCampaignsV2ClientTypes.CommunicationLimits? + + public init( + allChannelSubtypes: ConnectCampaignsV2ClientTypes.CommunicationLimits? = nil + ) + { + self.allChannelSubtypes = allChannelSubtypes + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Day of week enum + public enum DayOfWeek: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case friday + case monday + case saturday + case sunday + case thursday + case tuesday + case wednesday + case sdkUnknown(Swift.String) + + public static var allCases: [DayOfWeek] { + return [ + .friday, + .monday, + .saturday, + .sunday, + .thursday, + .tuesday, + .wednesday + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .friday: return "FRIDAY" + case .monday: return "MONDAY" + case .saturday: return "SATURDAY" + case .sunday: return "SUNDAY" + case .thursday: return "THURSDAY" + case .tuesday: return "TUESDAY" + case .wednesday: return "WEDNESDAY" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Time range in 24 hour format + public struct TimeRange: Swift.Sendable { + /// Time in ISO 8601 format, e.g. T23:11 + /// This member is required. + public var endTime: Swift.String? + /// Time in ISO 8601 format, e.g. T23:11 + /// This member is required. + public var startTime: Swift.String? + + public init( + endTime: Swift.String? = nil, + startTime: Swift.String? = nil + ) + { + self.endTime = endTime + self.startTime = startTime + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Open Hours config + public enum OpenHours: Swift.Sendable { + /// Daily Hours map + case dailyhours([Swift.String: [ConnectCampaignsV2ClientTypes.TimeRange]]) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Restricted period + public struct RestrictedPeriod: Swift.Sendable { + /// Date in ISO 8601 format, e.g. 2024-01-01 + /// This member is required. + public var endDate: Swift.String? + /// The name of a restricted period. + public var name: Swift.String? + /// Date in ISO 8601 format, e.g. 2024-01-01 + /// This member is required. + public var startDate: Swift.String? + + public init( + endDate: Swift.String? = nil, + name: Swift.String? = nil, + startDate: Swift.String? = nil + ) + { + self.endDate = endDate + self.name = name + self.startDate = startDate + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Restricted period config + public enum RestrictedPeriods: Swift.Sendable { + /// List of restricted period + case restrictedperiodlist([ConnectCampaignsV2ClientTypes.RestrictedPeriod]) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Time window config + public struct TimeWindow: Swift.Sendable { + /// Open Hours config + /// This member is required. + public var openHours: ConnectCampaignsV2ClientTypes.OpenHours? + /// Restricted period config + public var restrictedPeriods: ConnectCampaignsV2ClientTypes.RestrictedPeriods? + + public init( + openHours: ConnectCampaignsV2ClientTypes.OpenHours? = nil, + restrictedPeriods: ConnectCampaignsV2ClientTypes.RestrictedPeriods? = nil + ) + { + self.openHours = openHours + self.restrictedPeriods = restrictedPeriods + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Local TimeZone Detection method. + public enum LocalTimeZoneDetectionType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case areaCode + case zipCode + case sdkUnknown(Swift.String) + + public static var allCases: [LocalTimeZoneDetectionType] { + return [ + .areaCode, + .zipCode + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .areaCode: return "AREA_CODE" + case .zipCode: return "ZIP_CODE" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Local time zone config + public struct LocalTimeZoneConfig: Swift.Sendable { + /// Time Zone Id in the IANA format + public var defaultTimeZone: Swift.String? + /// Local TimeZone Detection method list + public var localTimeZoneDetection: [ConnectCampaignsV2ClientTypes.LocalTimeZoneDetectionType]? + + public init( + defaultTimeZone: Swift.String? = nil, + localTimeZoneDetection: [ConnectCampaignsV2ClientTypes.LocalTimeZoneDetectionType]? = nil + ) + { + self.defaultTimeZone = defaultTimeZone + self.localTimeZoneDetection = localTimeZoneDetection + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Campaign communication time config + public struct CommunicationTimeConfig: Swift.Sendable { + /// Time window config + public var email: ConnectCampaignsV2ClientTypes.TimeWindow? + /// Local time zone config + /// This member is required. + public var localTimeZoneConfig: ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig? + /// Time window config + public var sms: ConnectCampaignsV2ClientTypes.TimeWindow? + /// Time window config + public var telephony: ConnectCampaignsV2ClientTypes.TimeWindow? + + public init( + email: ConnectCampaignsV2ClientTypes.TimeWindow? = nil, + localTimeZoneConfig: ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig? = nil, + sms: ConnectCampaignsV2ClientTypes.TimeWindow? = nil, + telephony: ConnectCampaignsV2ClientTypes.TimeWindow? = nil + ) + { + self.email = email + self.localTimeZoneConfig = localTimeZoneConfig + self.sms = sms + self.telephony = telephony + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Campaign schedule + public struct Schedule: Swift.Sendable { + /// Timestamp with no UTC offset or timezone + /// This member is required. + public var endTime: Foundation.Date? + /// Time duration in ISO 8601 format + public var refreshFrequency: Swift.String? + /// Timestamp with no UTC offset or timezone + /// This member is required. + public var startTime: Foundation.Date? + + public init( + endTime: Foundation.Date? = nil, + refreshFrequency: Swift.String? = nil, + startTime: Foundation.Date? = nil + ) + { + self.endTime = endTime + self.refreshFrequency = refreshFrequency + self.startTime = startTime + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Source of the campaign + public enum Source: Swift.Sendable { + /// Amazon Resource Names(ARN) + case customerprofilessegmentarn(Swift.String) + case sdkUnknown(Swift.String) + } +} + +/// The request for CreateCampaign API. +public struct CreateCampaignInput: Swift.Sendable { + /// Campaign Channel Subtype config + /// This member is required. + public var channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? + /// Communication limits config + public var communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? + /// Campaign communication time config + public var communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? + /// Amazon Resource Names(ARN) + public var connectCampaignFlowArn: Swift.String? + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// The name of an Amazon Connect Campaign name. + /// This member is required. + public var name: Swift.String? + /// Campaign schedule + public var schedule: ConnectCampaignsV2ClientTypes.Schedule? + /// Source of the campaign + public var source: ConnectCampaignsV2ClientTypes.Source? + /// Tag map with key and value. + public var tags: [Swift.String: Swift.String]? + + public init( + channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? = nil, + communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? = nil, + communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? = nil, + connectCampaignFlowArn: Swift.String? = nil, + connectInstanceId: Swift.String? = nil, + name: Swift.String? = nil, + schedule: ConnectCampaignsV2ClientTypes.Schedule? = nil, + source: ConnectCampaignsV2ClientTypes.Source? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.channelSubtypeConfig = channelSubtypeConfig + self.communicationLimitsOverride = communicationLimitsOverride + self.communicationTimeConfig = communicationTimeConfig + self.connectCampaignFlowArn = connectCampaignFlowArn + self.connectInstanceId = connectInstanceId + self.name = name + self.schedule = schedule + self.source = source + self.tags = tags + } +} + +/// The response for Create Campaign API +public struct CreateCampaignOutput: Swift.Sendable { + /// The resource name of an Amazon Connect campaign. + public var arn: Swift.String? + /// Identifier representing a Campaign + public var id: Swift.String? + /// Tag map with key and value. + public var tags: [Swift.String: Swift.String]? + + public init( + arn: Swift.String? = nil, + id: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.arn = arn + self.id = id + self.tags = tags + } +} + +/// The request for DeleteCampaign API. +public struct DeleteCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// The type of campaign channel subtype. + public enum ChannelSubtype: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case email + case sms + case telephony + case sdkUnknown(Swift.String) + + public static var allCases: [ChannelSubtype] { + return [ + .email, + .sms, + .telephony + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .email: return "EMAIL" + case .sms: return "SMS" + case .telephony: return "TELEPHONY" + case let .sdkUnknown(s): return s + } + } + } +} + +/// The request for DeleteCampaignChannelSubtypeConfig API. +public struct DeleteCampaignChannelSubtypeConfigInput: Swift.Sendable { + /// The type of campaign channel subtype. + /// This member is required. + public var channelSubtype: ConnectCampaignsV2ClientTypes.ChannelSubtype? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + channelSubtype: ConnectCampaignsV2ClientTypes.ChannelSubtype? = nil, + id: Swift.String? = nil + ) + { + self.channelSubtype = channelSubtype + self.id = id + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// State of a campaign + public enum CampaignState: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + /// Campaign is in completed state + case completed + /// Campaign is in failed state + case failed + /// Campaign is in initialized state + case initialized + /// Campaign is in paused state + case paused + /// Campaign is in running state + case running + /// Campaign is in stopped state + case stopped + case sdkUnknown(Swift.String) + + public static var allCases: [CampaignState] { + return [ + .completed, + .failed, + .initialized, + .paused, + .running, + .stopped + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .completed: return "Completed" + case .failed: return "Failed" + case .initialized: return "Initialized" + case .paused: return "Paused" + case .running: return "Running" + case .stopped: return "Stopped" + case let .sdkUnknown(s): return s + } + } + } +} + +/// The request could not be processed because of conflict in the current state of the campaign. +public struct InvalidCampaignStateException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// State of a campaign + /// This member is required. + public internal(set) var state: ConnectCampaignsV2ClientTypes.CampaignState? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "InvalidCampaignStateException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + state: ConnectCampaignsV2ClientTypes.CampaignState? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.state = state + self.properties.xAmzErrorType = xAmzErrorType + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// The type of campaign communication limits config. + public enum CommunicationLimitsConfigType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case allChannelSubtypes + case sdkUnknown(Swift.String) + + public static var allCases: [CommunicationLimitsConfigType] { + return [ + .allChannelSubtypes + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .allChannelSubtypes: return "ALL_CHANNEL_SUBTYPES" + case let .sdkUnknown(s): return s + } + } + } +} + +/// The request for DeleteCampaignCommunicationLimits API. +public struct DeleteCampaignCommunicationLimitsInput: Swift.Sendable { + /// The type of campaign communication limits config. + /// This member is required. + public var config: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfigType? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + config: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfigType? = nil, + id: Swift.String? = nil + ) + { + self.config = config + self.id = id + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// The type of campaign communication time config + public enum CommunicationTimeConfigType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case email + case sms + case telephony + case sdkUnknown(Swift.String) + + public static var allCases: [CommunicationTimeConfigType] { + return [ + .email, + .sms, + .telephony + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .email: return "EMAIL" + case .sms: return "SMS" + case .telephony: return "TELEPHONY" + case let .sdkUnknown(s): return s + } + } + } +} + +/// The request for DeleteCampaignCommunicationTime API. +public struct DeleteCampaignCommunicationTimeInput: Swift.Sendable { + /// The type of campaign communication time config + /// This member is required. + public var config: ConnectCampaignsV2ClientTypes.CommunicationTimeConfigType? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + config: ConnectCampaignsV2ClientTypes.CommunicationTimeConfigType? = nil, + id: Swift.String? = nil + ) + { + self.config = config + self.id = id + } +} + +/// The request could not be processed because of conflict in the current state. +public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "InvalidStateException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Enumeration of the policies to enact on existing campaigns during instance config deletion + public enum CampaignDeletionPolicy: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case deleteAll + case retainAll + case sdkUnknown(Swift.String) + + public static var allCases: [CampaignDeletionPolicy] { + return [ + .deleteAll, + .retainAll + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .deleteAll: return "DELETE_ALL" + case .retainAll: return "RETAIN_ALL" + case let .sdkUnknown(s): return s + } + } + } +} + +/// The request for DeleteConnectInstanceConfig API. +public struct DeleteConnectInstanceConfigInput: Swift.Sendable { + /// Enumeration of the policies to enact on existing campaigns during instance config deletion + public var campaignDeletionPolicy: ConnectCampaignsV2ClientTypes.CampaignDeletionPolicy? + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + + public init( + campaignDeletionPolicy: ConnectCampaignsV2ClientTypes.CampaignDeletionPolicy? = nil, + connectInstanceId: Swift.String? = nil + ) + { + self.campaignDeletionPolicy = campaignDeletionPolicy + self.connectInstanceId = connectInstanceId + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Customer Profiles integration identifier + public struct CustomerProfilesIntegrationIdentifier: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var domainArn: Swift.String? + + public init( + domainArn: Swift.String? = nil + ) + { + self.domainArn = domainArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Q Connect integration identifier + public struct QConnectIntegrationIdentifier: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var knowledgeBaseArn: Swift.String? + + public init( + knowledgeBaseArn: Swift.String? = nil + ) + { + self.knowledgeBaseArn = knowledgeBaseArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Integration identifier for Connect instance + public enum IntegrationIdentifier: Swift.Sendable { + /// Customer Profiles integration identifier + case customerprofiles(ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationIdentifier) + /// Q Connect integration identifier + case qconnect(ConnectCampaignsV2ClientTypes.QConnectIntegrationIdentifier) + case sdkUnknown(Swift.String) + } +} + +/// The request for DeleteConnectInstanceIntegration API. +public struct DeleteConnectInstanceIntegrationInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Integration identifier for Connect instance + /// This member is required. + public var integrationIdentifier: ConnectCampaignsV2ClientTypes.IntegrationIdentifier? + + public init( + connectInstanceId: Swift.String? = nil, + integrationIdentifier: ConnectCampaignsV2ClientTypes.IntegrationIdentifier? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.integrationIdentifier = integrationIdentifier + } +} + +/// The request for DeleteInstanceOnboardingJob API. +public struct DeleteInstanceOnboardingJobInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + + public init( + connectInstanceId: Swift.String? = nil + ) + { + self.connectInstanceId = connectInstanceId + } +} + +/// The request for DescribeCampaign API. +public struct DescribeCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// An Amazon Connect campaign. + public struct Campaign: Swift.Sendable { + /// The resource name of an Amazon Connect campaign. + /// This member is required. + public var arn: Swift.String? + /// Campaign Channel Subtype config + /// This member is required. + public var channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? + /// Communication limits config + public var communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? + /// Campaign communication time config + public var communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? + /// Amazon Resource Names(ARN) + public var connectCampaignFlowArn: Swift.String? + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// The name of an Amazon Connect Campaign name. + /// This member is required. + public var name: Swift.String? + /// Campaign schedule + public var schedule: ConnectCampaignsV2ClientTypes.Schedule? + /// Source of the campaign + public var source: ConnectCampaignsV2ClientTypes.Source? + /// Tag map with key and value. + public var tags: [Swift.String: Swift.String]? + + public init( + arn: Swift.String? = nil, + channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? = nil, + communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? = nil, + communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? = nil, + connectCampaignFlowArn: Swift.String? = nil, + connectInstanceId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + schedule: ConnectCampaignsV2ClientTypes.Schedule? = nil, + source: ConnectCampaignsV2ClientTypes.Source? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.arn = arn + self.channelSubtypeConfig = channelSubtypeConfig + self.communicationLimitsOverride = communicationLimitsOverride + self.communicationTimeConfig = communicationTimeConfig + self.connectCampaignFlowArn = connectCampaignFlowArn + self.connectInstanceId = connectInstanceId + self.id = id + self.name = name + self.schedule = schedule + self.source = source + self.tags = tags + } + } +} + +/// The response for DescribeCampaign API. +public struct DescribeCampaignOutput: Swift.Sendable { + /// An Amazon Connect campaign. + public var campaign: ConnectCampaignsV2ClientTypes.Campaign? + + public init( + campaign: ConnectCampaignsV2ClientTypes.Campaign? = nil + ) + { + self.campaign = campaign + } +} + +/// The request for GetCampaignState API. +public struct GetCampaignStateInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +/// The response for GetCampaignState API. +public struct GetCampaignStateOutput: Swift.Sendable { + /// State of a campaign + public var state: ConnectCampaignsV2ClientTypes.CampaignState? + + public init( + state: ConnectCampaignsV2ClientTypes.CampaignState? = nil + ) + { + self.state = state + } +} + +/// The request for GetCampaignStateBatch API. +public struct GetCampaignStateBatchInput: Swift.Sendable { + /// List of CampaignId + /// This member is required. + public var campaignIds: [Swift.String]? + + public init( + campaignIds: [Swift.String]? = nil + ) + { + self.campaignIds = campaignIds + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// A predefined code indicating the error that caused the failure in getting state of campaigns + public enum GetCampaignStateBatchFailureCode: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + /// The specified resource was not found + case resourceNotFound + /// Unexpected error during processing of request + case unknownError + case sdkUnknown(Swift.String) + + public static var allCases: [GetCampaignStateBatchFailureCode] { + return [ + .resourceNotFound, + .unknownError + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .resourceNotFound: return "ResourceNotFound" + case .unknownError: return "UnknownError" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Failed response of campaign state + public struct FailedCampaignStateResponse: Swift.Sendable { + /// Identifier representing a Campaign + public var campaignId: Swift.String? + /// A predefined code indicating the error that caused the failure in getting state of campaigns + public var failureCode: ConnectCampaignsV2ClientTypes.GetCampaignStateBatchFailureCode? + + public init( + campaignId: Swift.String? = nil, + failureCode: ConnectCampaignsV2ClientTypes.GetCampaignStateBatchFailureCode? = nil + ) + { + self.campaignId = campaignId + self.failureCode = failureCode + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Successful response of campaign state + public struct SuccessfulCampaignStateResponse: Swift.Sendable { + /// Identifier representing a Campaign + public var campaignId: Swift.String? + /// State of a campaign + public var state: ConnectCampaignsV2ClientTypes.CampaignState? + + public init( + campaignId: Swift.String? = nil, + state: ConnectCampaignsV2ClientTypes.CampaignState? = nil + ) + { + self.campaignId = campaignId + self.state = state + } + } +} + +/// The response for GetCampaignStateBatch API. +public struct GetCampaignStateBatchOutput: Swift.Sendable { + /// List of failed requests of campaign state + public var failedRequests: [ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse]? + /// List of successful response of campaign state + public var successfulRequests: [ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse]? + + public init( + failedRequests: [ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse]? = nil, + successfulRequests: [ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse]? = nil + ) + { + self.failedRequests = failedRequests + self.successfulRequests = successfulRequests + } +} + +/// The request for GetConnectInstanceConfig API. +public struct GetConnectInstanceConfigInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + + public init( + connectInstanceId: Swift.String? = nil + ) + { + self.connectInstanceId = connectInstanceId + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Server-side encryption type. + public enum EncryptionType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case kms + case sdkUnknown(Swift.String) + + public static var allCases: [EncryptionType] { + return [ + .kms + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .kms: return "KMS" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Encryption config for Connect Instance. Note that sensitive data will always be encrypted. If disabled, service will perform encryption with its own key. If enabled, a KMS key id needs to be provided and KMS charges will apply. KMS is only type supported + public struct EncryptionConfig: Swift.Sendable { + /// Boolean to indicate if custom encryption has been enabled. + /// This member is required. + public var enabled: Swift.Bool + /// Server-side encryption type. + public var encryptionType: ConnectCampaignsV2ClientTypes.EncryptionType? + /// KMS key id/arn for encryption config. + public var keyArn: Swift.String? + + public init( + enabled: Swift.Bool = false, + encryptionType: ConnectCampaignsV2ClientTypes.EncryptionType? = nil, + keyArn: Swift.String? = nil + ) + { + self.enabled = enabled + self.encryptionType = encryptionType + self.keyArn = keyArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Instance config object + public struct InstanceConfig: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Encryption config for Connect Instance. Note that sensitive data will always be encrypted. If disabled, service will perform encryption with its own key. If enabled, a KMS key id needs to be provided and KMS charges will apply. KMS is only type supported + /// This member is required. + public var encryptionConfig: ConnectCampaignsV2ClientTypes.EncryptionConfig? + /// Service linked role arn + /// This member is required. + public var serviceLinkedRoleArn: Swift.String? + + public init( + connectInstanceId: Swift.String? = nil, + encryptionConfig: ConnectCampaignsV2ClientTypes.EncryptionConfig? = nil, + serviceLinkedRoleArn: Swift.String? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.encryptionConfig = encryptionConfig + self.serviceLinkedRoleArn = serviceLinkedRoleArn + } + } +} + +/// The response for GetConnectInstanceConfig API. +public struct GetConnectInstanceConfigOutput: Swift.Sendable { + /// Instance config object + public var connectInstanceConfig: ConnectCampaignsV2ClientTypes.InstanceConfig? + + public init( + connectInstanceConfig: ConnectCampaignsV2ClientTypes.InstanceConfig? = nil + ) + { + self.connectInstanceConfig = connectInstanceConfig + } +} + +/// The request for GetInstanceOnboardingJobStatus API. +public struct GetInstanceOnboardingJobStatusInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + + public init( + connectInstanceId: Swift.String? = nil + ) + { + self.connectInstanceId = connectInstanceId + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Enumeration of the possible failure codes for instance onboarding job + public enum InstanceOnboardingJobFailureCode: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case eventBridgeAccessDenied + case eventBridgeManagedRuleLimitExceeded + case iamAccessDenied + case internalFailure + case kmsAccessDenied + case kmsKeyNotFound + case sdkUnknown(Swift.String) + + public static var allCases: [InstanceOnboardingJobFailureCode] { + return [ + .eventBridgeAccessDenied, + .eventBridgeManagedRuleLimitExceeded, + .iamAccessDenied, + .internalFailure, + .kmsAccessDenied, + .kmsKeyNotFound + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .eventBridgeAccessDenied: return "EVENT_BRIDGE_ACCESS_DENIED" + case .eventBridgeManagedRuleLimitExceeded: return "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED" + case .iamAccessDenied: return "IAM_ACCESS_DENIED" + case .internalFailure: return "INTERNAL_FAILURE" + case .kmsAccessDenied: return "KMS_ACCESS_DENIED" + case .kmsKeyNotFound: return "KMS_KEY_NOT_FOUND" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Enumeration of the possible states for instance onboarding job + public enum InstanceOnboardingJobStatusCode: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case failed + case inProgress + case succeeded + case sdkUnknown(Swift.String) + + public static var allCases: [InstanceOnboardingJobStatusCode] { + return [ + .failed, + .inProgress, + .succeeded + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .failed: return "FAILED" + case .inProgress: return "IN_PROGRESS" + case .succeeded: return "SUCCEEDED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Instance onboarding job status object + public struct InstanceOnboardingJobStatus: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Enumeration of the possible failure codes for instance onboarding job + public var failureCode: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobFailureCode? + /// Enumeration of the possible states for instance onboarding job + /// This member is required. + public var status: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatusCode? + + public init( + connectInstanceId: Swift.String? = nil, + failureCode: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobFailureCode? = nil, + status: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatusCode? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.failureCode = failureCode + self.status = status + } + } +} + +/// The response for GetInstanceOnboardingJobStatus API. +public struct GetInstanceOnboardingJobStatusOutput: Swift.Sendable { + /// Instance onboarding job status object + public var connectInstanceOnboardingJobStatus: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus? + + public init( + connectInstanceOnboardingJobStatus: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus? = nil + ) + { + self.connectInstanceOnboardingJobStatus = connectInstanceOnboardingJobStatus + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Operators for Connect instance identifier filter + public enum InstanceIdFilterOperator: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + /// Equals operator + case eq + case sdkUnknown(Swift.String) + + public static var allCases: [InstanceIdFilterOperator] { + return [ + .eq + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .eq: return "Eq" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Connect instance identifier filter + public struct InstanceIdFilter: Swift.Sendable { + /// Operators for Connect instance identifier filter + /// This member is required. + public var `operator`: ConnectCampaignsV2ClientTypes.InstanceIdFilterOperator? + /// Amazon Connect Instance Id + /// This member is required. + public var value: Swift.String? + + public init( + `operator`: ConnectCampaignsV2ClientTypes.InstanceIdFilterOperator? = nil, + value: Swift.String? = nil + ) + { + self.`operator` = `operator` + self.value = value + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Filter model by type + public struct CampaignFilters: Swift.Sendable { + /// Connect instance identifier filter + public var instanceIdFilter: ConnectCampaignsV2ClientTypes.InstanceIdFilter? + + public init( + instanceIdFilter: ConnectCampaignsV2ClientTypes.InstanceIdFilter? = nil + ) + { + self.instanceIdFilter = instanceIdFilter + } + } +} + +/// The request for ListCampaigns API. +public struct ListCampaignsInput: Swift.Sendable { + /// Filter model by type + public var filters: ConnectCampaignsV2ClientTypes.CampaignFilters? + /// The maximum number of results to return per page. + public var maxResults: Swift.Int? + /// The token for the next set of results. + public var nextToken: Swift.String? + + public init( + filters: ConnectCampaignsV2ClientTypes.CampaignFilters? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.filters = filters + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// An Amazon Connect campaign summary. + public struct CampaignSummary: Swift.Sendable { + /// The resource name of an Amazon Connect campaign. + /// This member is required. + public var arn: Swift.String? + /// Channel subtype list + /// This member is required. + public var channelSubtypes: [ConnectCampaignsV2ClientTypes.ChannelSubtype]? + /// Amazon Resource Names(ARN) + public var connectCampaignFlowArn: Swift.String? + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// The name of an Amazon Connect Campaign name. + /// This member is required. + public var name: Swift.String? + /// Campaign schedule + public var schedule: ConnectCampaignsV2ClientTypes.Schedule? + + public init( + arn: Swift.String? = nil, + channelSubtypes: [ConnectCampaignsV2ClientTypes.ChannelSubtype]? = nil, + connectCampaignFlowArn: Swift.String? = nil, + connectInstanceId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + schedule: ConnectCampaignsV2ClientTypes.Schedule? = nil + ) + { + self.arn = arn + self.channelSubtypes = channelSubtypes + self.connectCampaignFlowArn = connectCampaignFlowArn + self.connectInstanceId = connectInstanceId + self.id = id + self.name = name + self.schedule = schedule + } + } +} + +/// The response for ListCampaigns API. +public struct ListCampaignsOutput: Swift.Sendable { + /// A list of Amazon Connect campaigns. + public var campaignSummaryList: [ConnectCampaignsV2ClientTypes.CampaignSummary]? + /// The token for the next set of results. + public var nextToken: Swift.String? + + public init( + campaignSummaryList: [ConnectCampaignsV2ClientTypes.CampaignSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.campaignSummaryList = campaignSummaryList + self.nextToken = nextToken + } +} + +/// The request for ListConnectInstanceIntegrations API. +public struct ListConnectInstanceIntegrationsInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// The maximum number of results to return per page. + public var maxResults: Swift.Int? + /// The token for the next set of results. + public var nextToken: Swift.String? + + public init( + connectInstanceId: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Enumeration of Customer Profiles event type + public enum EventType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case campaignEmail + case campaignOrchestration + case campaignSms + case campaignTelephony + case sdkUnknown(Swift.String) + + public static var allCases: [EventType] { + return [ + .campaignEmail, + .campaignOrchestration, + .campaignSms, + .campaignTelephony + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .campaignEmail: return "Campaign-Email" + case .campaignOrchestration: return "Campaign-Orchestration" + case .campaignSms: return "Campaign-SMS" + case .campaignTelephony: return "Campaign-Telephony" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Customer Profiles integration summary + public struct CustomerProfilesIntegrationSummary: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var domainArn: Swift.String? + /// Object type names map. + /// This member is required. + public var objectTypeNames: [Swift.String: Swift.String]? + + public init( + domainArn: Swift.String? = nil, + objectTypeNames: [Swift.String: Swift.String]? = nil + ) + { + self.domainArn = domainArn + self.objectTypeNames = objectTypeNames + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Q Connect integration summary + public struct QConnectIntegrationSummary: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var knowledgeBaseArn: Swift.String? + + public init( + knowledgeBaseArn: Swift.String? = nil + ) + { + self.knowledgeBaseArn = knowledgeBaseArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Integration summary for Connect instance. + public enum IntegrationSummary: Swift.Sendable { + /// Customer Profiles integration summary + case customerprofiles(ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationSummary) + /// Q Connect integration summary + case qconnect(ConnectCampaignsV2ClientTypes.QConnectIntegrationSummary) + case sdkUnknown(Swift.String) + } +} + +/// The response for ListConnectInstanceIntegrations API. +public struct ListConnectInstanceIntegrationsOutput: Swift.Sendable { + /// A list of Amazon Connect Instance Integrations. + public var integrationSummaryList: [ConnectCampaignsV2ClientTypes.IntegrationSummary]? + /// The token for the next set of results. + public var nextToken: Swift.String? + + public init( + integrationSummaryList: [ConnectCampaignsV2ClientTypes.IntegrationSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.integrationSummaryList = integrationSummaryList + self.nextToken = nextToken + } +} + +/// The request for ListTagsForResource API. +public struct ListTagsForResourceInput: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var arn: Swift.String? + + public init( + arn: Swift.String? = nil + ) + { + self.arn = arn + } +} + +/// The request for ListTagsForResource API. +public struct ListTagsForResourceOutput: Swift.Sendable { + /// Tag map with key and value. + public var tags: [Swift.String: Swift.String]? + + public init( + tags: [Swift.String: Swift.String]? = nil + ) + { + self.tags = tags + } +} + +/// The request for PauseCampaign API. +public struct PauseCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Customer Profiles integration config + public struct CustomerProfilesIntegrationConfig: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var domainArn: Swift.String? + /// Object type names map. + /// This member is required. + public var objectTypeNames: [Swift.String: Swift.String]? + + public init( + domainArn: Swift.String? = nil, + objectTypeNames: [Swift.String: Swift.String]? = nil + ) + { + self.domainArn = domainArn + self.objectTypeNames = objectTypeNames + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Q Connect integration config + public struct QConnectIntegrationConfig: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var knowledgeBaseArn: Swift.String? + + public init( + knowledgeBaseArn: Swift.String? = nil + ) + { + self.knowledgeBaseArn = knowledgeBaseArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Integration config for Connect Instance + public enum IntegrationConfig: Swift.Sendable { + /// Customer Profiles integration config + case customerprofiles(ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationConfig) + /// Q Connect integration config + case qconnect(ConnectCampaignsV2ClientTypes.QConnectIntegrationConfig) + case sdkUnknown(Swift.String) + } +} + +/// The request for PutConnectInstanceIntegration API. +public struct PutConnectInstanceIntegrationInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Integration config for Connect Instance + /// This member is required. + public var integrationConfig: ConnectCampaignsV2ClientTypes.IntegrationConfig? + + public init( + connectInstanceId: Swift.String? = nil, + integrationConfig: ConnectCampaignsV2ClientTypes.IntegrationConfig? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.integrationConfig = integrationConfig + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Parameters for the Email Channel Subtype + public struct EmailChannelSubtypeParameters: Swift.Sendable { + /// Source/Destination Email address used for Email messages + public var connectSourceEmailAddress: Swift.String? + /// Source/Destination Email address used for Email messages + /// This member is required. + public var destinationEmailAddress: Swift.String? + /// Amazon Resource Names(ARN) + public var templateArn: Swift.String? + /// A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes. + /// This member is required. + public var templateParameters: [Swift.String: Swift.String]? + + public init( + connectSourceEmailAddress: Swift.String? = nil, + destinationEmailAddress: Swift.String? = nil, + templateArn: Swift.String? = nil, + templateParameters: [Swift.String: Swift.String]? = nil + ) + { + self.connectSourceEmailAddress = connectSourceEmailAddress + self.destinationEmailAddress = destinationEmailAddress + self.templateArn = templateArn + self.templateParameters = templateParameters + } + } +} + +extension ConnectCampaignsV2ClientTypes.EmailChannelSubtypeParameters: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "EmailChannelSubtypeParameters(templateArn: \(Swift.String(describing: templateArn)), connectSourceEmailAddress: \"CONTENT_REDACTED\", destinationEmailAddress: \"CONTENT_REDACTED\", templateParameters: \"CONTENT_REDACTED\")"} +} + +extension ConnectCampaignsV2ClientTypes { + + /// Parameters for the SMS Channel Subtype + public struct SmsChannelSubtypeParameters: Swift.Sendable { + /// Amazon Resource Names(ARN) + public var connectSourcePhoneNumberArn: Swift.String? + /// The phone number of the customer, in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// Amazon Resource Names(ARN) + public var templateArn: Swift.String? + /// A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes. + /// This member is required. + public var templateParameters: [Swift.String: Swift.String]? + + public init( + connectSourcePhoneNumberArn: Swift.String? = nil, + destinationPhoneNumber: Swift.String? = nil, + templateArn: Swift.String? = nil, + templateParameters: [Swift.String: Swift.String]? = nil + ) + { + self.connectSourcePhoneNumberArn = connectSourcePhoneNumberArn + self.destinationPhoneNumber = destinationPhoneNumber + self.templateArn = templateArn + self.templateParameters = templateParameters + } + } +} + +extension ConnectCampaignsV2ClientTypes.SmsChannelSubtypeParameters: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "SmsChannelSubtypeParameters(connectSourcePhoneNumberArn: \(Swift.String(describing: connectSourcePhoneNumberArn)), templateArn: \(Swift.String(describing: templateArn)), destinationPhoneNumber: \"CONTENT_REDACTED\", templateParameters: \"CONTENT_REDACTED\")"} +} + +extension ConnectCampaignsV2ClientTypes { + + /// Parameters for the Telephony Channel Subtype + public struct TelephonyChannelSubtypeParameters: Swift.Sendable { + /// Answering Machine Detection config + public var answerMachineDetectionConfig: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig? + /// A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes. + /// This member is required. + public var attributes: [Swift.String: Swift.String]? + /// The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue. + public var connectSourcePhoneNumber: Swift.String? + /// The phone number of the customer, in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + + public init( + answerMachineDetectionConfig: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig? = nil, + attributes: [Swift.String: Swift.String]? = nil, + connectSourcePhoneNumber: Swift.String? = nil, + destinationPhoneNumber: Swift.String? = nil + ) + { + self.answerMachineDetectionConfig = answerMachineDetectionConfig + self.attributes = attributes + self.connectSourcePhoneNumber = connectSourcePhoneNumber + self.destinationPhoneNumber = destinationPhoneNumber + } + } +} + +extension ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeParameters: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "TelephonyChannelSubtypeParameters(answerMachineDetectionConfig: \(Swift.String(describing: answerMachineDetectionConfig)), connectSourcePhoneNumber: \(Swift.String(describing: connectSourcePhoneNumber)), attributes: \"CONTENT_REDACTED\", destinationPhoneNumber: \"CONTENT_REDACTED\")"} +} + +extension ConnectCampaignsV2ClientTypes { + + /// ChannelSubtypeParameters for an outbound request + public enum ChannelSubtypeParameters: Swift.Sendable { + /// Parameters for the Telephony Channel Subtype + case telephony(ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeParameters) + /// Parameters for the SMS Channel Subtype + case sms(ConnectCampaignsV2ClientTypes.SmsChannelSubtypeParameters) + /// Parameters for the Email Channel Subtype + case email(ConnectCampaignsV2ClientTypes.EmailChannelSubtypeParameters) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// An outbound request for a campaign. + public struct OutboundRequest: Swift.Sendable { + /// ChannelSubtypeParameters for an outbound request + /// This member is required. + public var channelSubtypeParameters: ConnectCampaignsV2ClientTypes.ChannelSubtypeParameters? + /// Client provided parameter used for idempotency. Its value must be unique for each request. + /// This member is required. + public var clientToken: Swift.String? + /// Timestamp with no UTC offset or timezone + /// This member is required. + public var expirationTime: Foundation.Date? + + public init( + channelSubtypeParameters: ConnectCampaignsV2ClientTypes.ChannelSubtypeParameters? = nil, + clientToken: Swift.String? = nil, + expirationTime: Foundation.Date? = nil + ) + { + self.channelSubtypeParameters = channelSubtypeParameters + self.clientToken = clientToken + self.expirationTime = expirationTime + } + } +} + +/// The request for PutOutboundRequestBatch API. +public struct PutOutboundRequestBatchInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// A list of outbound requests. + /// This member is required. + public var outboundRequests: [ConnectCampaignsV2ClientTypes.OutboundRequest]? + + public init( + id: Swift.String? = nil, + outboundRequests: [ConnectCampaignsV2ClientTypes.OutboundRequest]? = nil + ) + { + self.id = id + self.outboundRequests = outboundRequests + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// A predefined code indicating the error that caused the failure. + public enum FailureCode: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + /// Request throttled due to large number of pending dial requests + case bufferLimitExceeded + /// The request failed to satisfy the constraints specified by the service + case invalidInput + /// The request was throttled due to excessive usage + case requestThrottled + /// Unexpected error during processing of request + case unknownError + case sdkUnknown(Swift.String) + + public static var allCases: [FailureCode] { + return [ + .bufferLimitExceeded, + .invalidInput, + .requestThrottled, + .unknownError + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .bufferLimitExceeded: return "BufferLimitExceeded" + case .invalidInput: return "InvalidInput" + case .requestThrottled: return "RequestThrottled" + case .unknownError: return "UnknownError" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// A failed request identified by the unique client token. + public struct FailedRequest: Swift.Sendable { + /// Client provided parameter used for idempotency. Its value must be unique for each request. + public var clientToken: Swift.String? + /// A predefined code indicating the error that caused the failure. + public var failureCode: ConnectCampaignsV2ClientTypes.FailureCode? + /// Identifier representing a Dial request + public var id: Swift.String? + + public init( + clientToken: Swift.String? = nil, + failureCode: ConnectCampaignsV2ClientTypes.FailureCode? = nil, + id: Swift.String? = nil + ) + { + self.clientToken = clientToken + self.failureCode = failureCode + self.id = id + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// A successful request identified by the unique client token. + public struct SuccessfulRequest: Swift.Sendable { + /// Client provided parameter used for idempotency. Its value must be unique for each request. + public var clientToken: Swift.String? + /// Identifier representing a Dial request + public var id: Swift.String? + + public init( + clientToken: Swift.String? = nil, + id: Swift.String? = nil + ) + { + self.clientToken = clientToken + self.id = id + } + } +} + +/// The response for PutOutboundRequestBatch API. +public struct PutOutboundRequestBatchOutput: Swift.Sendable { + /// A list of failed requests. + public var failedRequests: [ConnectCampaignsV2ClientTypes.FailedRequest]? + /// A list of successful requests identified by the unique client token. + public var successfulRequests: [ConnectCampaignsV2ClientTypes.SuccessfulRequest]? + + public init( + failedRequests: [ConnectCampaignsV2ClientTypes.FailedRequest]? = nil, + successfulRequests: [ConnectCampaignsV2ClientTypes.SuccessfulRequest]? = nil + ) + { + self.failedRequests = failedRequests + self.successfulRequests = successfulRequests + } +} + +/// The request for ResumeCampaign API. +public struct ResumeCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +/// The request for StartCampaign API. +public struct StartCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +/// The request for StartInstanceOnboardingJob API. +public struct StartInstanceOnboardingJobInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Encryption config for Connect Instance. Note that sensitive data will always be encrypted. If disabled, service will perform encryption with its own key. If enabled, a KMS key id needs to be provided and KMS charges will apply. KMS is only type supported + /// This member is required. + public var encryptionConfig: ConnectCampaignsV2ClientTypes.EncryptionConfig? + + public init( + connectInstanceId: Swift.String? = nil, + encryptionConfig: ConnectCampaignsV2ClientTypes.EncryptionConfig? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.encryptionConfig = encryptionConfig + } +} + +/// The response for StartInstanceOnboardingJob API. +public struct StartInstanceOnboardingJobOutput: Swift.Sendable { + /// Instance onboarding job status object + public var connectInstanceOnboardingJobStatus: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus? + + public init( + connectInstanceOnboardingJobStatus: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus? = nil + ) + { + self.connectInstanceOnboardingJobStatus = connectInstanceOnboardingJobStatus + } +} + +/// The request for StopCampaign API. +public struct StopCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +/// The request for TagResource API. +public struct TagResourceInput: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var arn: Swift.String? + /// Tag map with key and value. + /// This member is required. + public var tags: [Swift.String: Swift.String]? + + public init( + arn: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.arn = arn + self.tags = tags + } +} + +/// The request for UntagResource API. +public struct UntagResourceInput: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var arn: Swift.String? + /// List of tag keys. + /// This member is required. + public var tagKeys: [Swift.String]? + + public init( + arn: Swift.String? = nil, + tagKeys: [Swift.String]? = nil + ) + { + self.arn = arn + self.tagKeys = tagKeys + } +} + +/// The request for UpdateCampaignChannelSubtypeConfig API. +public struct UpdateCampaignChannelSubtypeConfigInput: Swift.Sendable { + /// Campaign Channel Subtype config + /// This member is required. + public var channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? = nil, + id: Swift.String? = nil + ) + { + self.channelSubtypeConfig = channelSubtypeConfig + self.id = id + } +} + +/// The request for UpdateCampaignCommunicationLimits API. +public struct UpdateCampaignCommunicationLimitsInput: Swift.Sendable { + /// Communication limits config + /// This member is required. + public var communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? = nil, + id: Swift.String? = nil + ) + { + self.communicationLimitsOverride = communicationLimitsOverride + self.id = id + } +} + +/// The request for UpdateCampaignCommunicationTime API. +public struct UpdateCampaignCommunicationTimeInput: Swift.Sendable { + /// Campaign communication time config + /// This member is required. + public var communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? = nil, + id: Swift.String? = nil + ) + { + self.communicationTimeConfig = communicationTimeConfig + self.id = id + } +} + +/// The request for UpdateCampaignFlowAssociation API. +public struct UpdateCampaignFlowAssociationInput: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var connectCampaignFlowArn: Swift.String? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + connectCampaignFlowArn: Swift.String? = nil, + id: Swift.String? = nil + ) + { + self.connectCampaignFlowArn = connectCampaignFlowArn + self.id = id + } +} + +/// The request for UpdateCampaignName API. +public struct UpdateCampaignNameInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// The name of an Amazon Connect Campaign name. + /// This member is required. + public var name: Swift.String? + + public init( + id: Swift.String? = nil, + name: Swift.String? = nil + ) + { + self.id = id + self.name = name + } +} + +/// The request for UpdateCampaignSchedule API. +public struct UpdateCampaignScheduleInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// Campaign schedule + /// This member is required. + public var schedule: ConnectCampaignsV2ClientTypes.Schedule? + + public init( + id: Swift.String? = nil, + schedule: ConnectCampaignsV2ClientTypes.Schedule? = nil + ) + { + self.id = id + self.schedule = schedule + } +} + +/// The request for UpdateCampaignSource API. +public struct UpdateCampaignSourceInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// Source of the campaign + /// This member is required. + public var source: ConnectCampaignsV2ClientTypes.Source? + + public init( + id: Swift.String? = nil, + source: ConnectCampaignsV2ClientTypes.Source? = nil + ) + { + self.id = id + self.source = source + } +} + +extension CreateCampaignInput { + + static func urlPathProvider(_ value: CreateCampaignInput) -> Swift.String? { + return "/v2/campaigns" + } +} + +extension DeleteCampaignInput { + + static func urlPathProvider(_ value: DeleteCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())" + } +} + +extension DeleteCampaignChannelSubtypeConfigInput { + + static func urlPathProvider(_ value: DeleteCampaignChannelSubtypeConfigInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/channel-subtype-config" + } +} + +extension DeleteCampaignChannelSubtypeConfigInput { + + static func queryItemProvider(_ value: DeleteCampaignChannelSubtypeConfigInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let channelSubtype = value.channelSubtype else { + let message = "Creating a URL Query Item failed. channelSubtype is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let channelSubtypeQueryItem = Smithy.URIQueryItem(name: "channelSubtype".urlPercentEncoding(), value: Swift.String(channelSubtype.rawValue).urlPercentEncoding()) + items.append(channelSubtypeQueryItem) + return items + } +} + +extension DeleteCampaignCommunicationLimitsInput { + + static func urlPathProvider(_ value: DeleteCampaignCommunicationLimitsInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/communication-limits" + } +} + +extension DeleteCampaignCommunicationLimitsInput { + + static func queryItemProvider(_ value: DeleteCampaignCommunicationLimitsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let config = value.config else { + let message = "Creating a URL Query Item failed. config is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let configQueryItem = Smithy.URIQueryItem(name: "config".urlPercentEncoding(), value: Swift.String(config.rawValue).urlPercentEncoding()) + items.append(configQueryItem) + return items + } +} + +extension DeleteCampaignCommunicationTimeInput { + + static func urlPathProvider(_ value: DeleteCampaignCommunicationTimeInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/communication-time" + } +} + +extension DeleteCampaignCommunicationTimeInput { + + static func queryItemProvider(_ value: DeleteCampaignCommunicationTimeInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let config = value.config else { + let message = "Creating a URL Query Item failed. config is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let configQueryItem = Smithy.URIQueryItem(name: "config".urlPercentEncoding(), value: Swift.String(config.rawValue).urlPercentEncoding()) + items.append(configQueryItem) + return items + } +} + +extension DeleteConnectInstanceConfigInput { + + static func urlPathProvider(_ value: DeleteConnectInstanceConfigInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/config" + } +} + +extension DeleteConnectInstanceConfigInput { + + static func queryItemProvider(_ value: DeleteConnectInstanceConfigInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let campaignDeletionPolicy = value.campaignDeletionPolicy { + let campaignDeletionPolicyQueryItem = Smithy.URIQueryItem(name: "campaignDeletionPolicy".urlPercentEncoding(), value: Swift.String(campaignDeletionPolicy.rawValue).urlPercentEncoding()) + items.append(campaignDeletionPolicyQueryItem) + } + return items + } +} + +extension DeleteConnectInstanceIntegrationInput { + + static func urlPathProvider(_ value: DeleteConnectInstanceIntegrationInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/integrations/delete" + } +} + +extension DeleteInstanceOnboardingJobInput { + + static func urlPathProvider(_ value: DeleteInstanceOnboardingJobInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/onboarding" + } +} + +extension DescribeCampaignInput { + + static func urlPathProvider(_ value: DescribeCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())" + } +} + +extension GetCampaignStateInput { + + static func urlPathProvider(_ value: GetCampaignStateInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/state" + } +} + +extension GetCampaignStateBatchInput { + + static func urlPathProvider(_ value: GetCampaignStateBatchInput) -> Swift.String? { + return "/v2/campaigns-state" + } +} + +extension GetConnectInstanceConfigInput { + + static func urlPathProvider(_ value: GetConnectInstanceConfigInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/config" + } +} + +extension GetInstanceOnboardingJobStatusInput { + + static func urlPathProvider(_ value: GetInstanceOnboardingJobStatusInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/onboarding" + } +} + +extension ListCampaignsInput { + + static func urlPathProvider(_ value: ListCampaignsInput) -> Swift.String? { + return "/v2/campaigns-summary" + } +} + +extension ListConnectInstanceIntegrationsInput { + + static func urlPathProvider(_ value: ListConnectInstanceIntegrationsInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/integrations" + } +} + +extension ListConnectInstanceIntegrationsInput { + + static func queryItemProvider(_ value: ListConnectInstanceIntegrationsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + return items + } +} + +extension ListTagsForResourceInput { + + static func urlPathProvider(_ value: ListTagsForResourceInput) -> Swift.String? { + guard let arn = value.arn else { + return nil + } + return "/v2/tags/\(arn.urlPercentEncoding())" + } +} + +extension PauseCampaignInput { + + static func urlPathProvider(_ value: PauseCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/pause" + } +} + +extension PutConnectInstanceIntegrationInput { + + static func urlPathProvider(_ value: PutConnectInstanceIntegrationInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/integrations" + } +} + +extension PutOutboundRequestBatchInput { + + static func urlPathProvider(_ value: PutOutboundRequestBatchInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/outbound-requests" + } +} + +extension ResumeCampaignInput { + + static func urlPathProvider(_ value: ResumeCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/resume" + } +} + +extension StartCampaignInput { + + static func urlPathProvider(_ value: StartCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/start" + } +} + +extension StartInstanceOnboardingJobInput { + + static func urlPathProvider(_ value: StartInstanceOnboardingJobInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/onboarding" + } +} + +extension StopCampaignInput { + + static func urlPathProvider(_ value: StopCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/stop" + } +} + +extension TagResourceInput { + + static func urlPathProvider(_ value: TagResourceInput) -> Swift.String? { + guard let arn = value.arn else { + return nil + } + return "/v2/tags/\(arn.urlPercentEncoding())" + } +} + +extension UntagResourceInput { + + static func urlPathProvider(_ value: UntagResourceInput) -> Swift.String? { + guard let arn = value.arn else { + return nil + } + return "/v2/tags/\(arn.urlPercentEncoding())" + } +} + +extension UntagResourceInput { + + static func queryItemProvider(_ value: UntagResourceInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let tagKeys = value.tagKeys else { + let message = "Creating a URL Query Item failed. tagKeys is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + tagKeys.forEach { queryItemValue in + let queryItem = Smithy.URIQueryItem(name: "tagKeys".urlPercentEncoding(), value: Swift.String(queryItemValue).urlPercentEncoding()) + items.append(queryItem) + } + return items + } +} + +extension UpdateCampaignChannelSubtypeConfigInput { + + static func urlPathProvider(_ value: UpdateCampaignChannelSubtypeConfigInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/channel-subtype-config" + } +} + +extension UpdateCampaignCommunicationLimitsInput { + + static func urlPathProvider(_ value: UpdateCampaignCommunicationLimitsInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/communication-limits" + } +} + +extension UpdateCampaignCommunicationTimeInput { + + static func urlPathProvider(_ value: UpdateCampaignCommunicationTimeInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/communication-time" + } +} + +extension UpdateCampaignFlowAssociationInput { + + static func urlPathProvider(_ value: UpdateCampaignFlowAssociationInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/flow" + } +} + +extension UpdateCampaignNameInput { + + static func urlPathProvider(_ value: UpdateCampaignNameInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/name" + } +} + +extension UpdateCampaignScheduleInput { + + static func urlPathProvider(_ value: UpdateCampaignScheduleInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/schedule" + } +} + +extension UpdateCampaignSourceInput { + + static func urlPathProvider(_ value: UpdateCampaignSourceInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/source" + } +} + +extension CreateCampaignInput { + + static func write(value: CreateCampaignInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["channelSubtypeConfig"].write(value.channelSubtypeConfig, with: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig.write(value:to:)) + try writer["communicationLimitsOverride"].write(value.communicationLimitsOverride, with: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig.write(value:to:)) + try writer["communicationTimeConfig"].write(value.communicationTimeConfig, with: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig.write(value:to:)) + try writer["connectCampaignFlowArn"].write(value.connectCampaignFlowArn) + try writer["connectInstanceId"].write(value.connectInstanceId) + try writer["name"].write(value.name) + try writer["schedule"].write(value.schedule, with: ConnectCampaignsV2ClientTypes.Schedule.write(value:to:)) + try writer["source"].write(value.source, with: ConnectCampaignsV2ClientTypes.Source.write(value:to:)) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension DeleteConnectInstanceIntegrationInput { + + static func write(value: DeleteConnectInstanceIntegrationInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["integrationIdentifier"].write(value.integrationIdentifier, with: ConnectCampaignsV2ClientTypes.IntegrationIdentifier.write(value:to:)) + } +} + +extension GetCampaignStateBatchInput { + + static func write(value: GetCampaignStateBatchInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["campaignIds"].writeList(value.campaignIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension ListCampaignsInput { + + static func write(value: ListCampaignsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["filters"].write(value.filters, with: ConnectCampaignsV2ClientTypes.CampaignFilters.write(value:to:)) + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + } +} + +extension PutConnectInstanceIntegrationInput { + + static func write(value: PutConnectInstanceIntegrationInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["integrationConfig"].write(value.integrationConfig, with: ConnectCampaignsV2ClientTypes.IntegrationConfig.write(value:to:)) + } +} + +extension PutOutboundRequestBatchInput { + + static func write(value: PutOutboundRequestBatchInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["outboundRequests"].writeList(value.outboundRequests, memberWritingClosure: ConnectCampaignsV2ClientTypes.OutboundRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension StartInstanceOnboardingJobInput { + + static func write(value: StartInstanceOnboardingJobInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["encryptionConfig"].write(value.encryptionConfig, with: ConnectCampaignsV2ClientTypes.EncryptionConfig.write(value:to:)) + } +} + +extension TagResourceInput { + + static func write(value: TagResourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension UpdateCampaignChannelSubtypeConfigInput { + + static func write(value: UpdateCampaignChannelSubtypeConfigInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["channelSubtypeConfig"].write(value.channelSubtypeConfig, with: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig.write(value:to:)) + } +} + +extension UpdateCampaignCommunicationLimitsInput { + + static func write(value: UpdateCampaignCommunicationLimitsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["communicationLimitsOverride"].write(value.communicationLimitsOverride, with: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig.write(value:to:)) + } +} + +extension UpdateCampaignCommunicationTimeInput { + + static func write(value: UpdateCampaignCommunicationTimeInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["communicationTimeConfig"].write(value.communicationTimeConfig, with: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig.write(value:to:)) + } +} + +extension UpdateCampaignFlowAssociationInput { + + static func write(value: UpdateCampaignFlowAssociationInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectCampaignFlowArn"].write(value.connectCampaignFlowArn) + } +} + +extension UpdateCampaignNameInput { + + static func write(value: UpdateCampaignNameInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + } +} + +extension UpdateCampaignScheduleInput { + + static func write(value: UpdateCampaignScheduleInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["schedule"].write(value.schedule, with: ConnectCampaignsV2ClientTypes.Schedule.write(value:to:)) + } +} + +extension UpdateCampaignSourceInput { + + static func write(value: UpdateCampaignSourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["source"].write(value.source, with: ConnectCampaignsV2ClientTypes.Source.write(value:to:)) + } +} + +extension CreateCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCampaignOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateCampaignOutput() + value.arn = try reader["arn"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension DeleteCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignOutput { + return DeleteCampaignOutput() + } +} + +extension DeleteCampaignChannelSubtypeConfigOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignChannelSubtypeConfigOutput { + return DeleteCampaignChannelSubtypeConfigOutput() + } +} + +extension DeleteCampaignCommunicationLimitsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignCommunicationLimitsOutput { + return DeleteCampaignCommunicationLimitsOutput() + } +} + +extension DeleteCampaignCommunicationTimeOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignCommunicationTimeOutput { + return DeleteCampaignCommunicationTimeOutput() + } +} + +extension DeleteConnectInstanceConfigOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectInstanceConfigOutput { + return DeleteConnectInstanceConfigOutput() + } +} + +extension DeleteConnectInstanceIntegrationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectInstanceIntegrationOutput { + return DeleteConnectInstanceIntegrationOutput() + } +} + +extension DeleteInstanceOnboardingJobOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceOnboardingJobOutput { + return DeleteInstanceOnboardingJobOutput() + } +} + +extension DescribeCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCampaignOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DescribeCampaignOutput() + value.campaign = try reader["campaign"].readIfPresent(with: ConnectCampaignsV2ClientTypes.Campaign.read(from:)) + return value + } +} + +extension GetCampaignStateOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignStateOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetCampaignStateOutput() + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension GetCampaignStateBatchOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignStateBatchOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetCampaignStateBatchOutput() + value.failedRequests = try reader["failedRequests"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse.read(from:), memberNodeInfo: "member", isFlattened: false) + value.successfulRequests = try reader["successfulRequests"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension GetConnectInstanceConfigOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectInstanceConfigOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetConnectInstanceConfigOutput() + value.connectInstanceConfig = try reader["connectInstanceConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.InstanceConfig.read(from:)) + return value + } +} + +extension GetInstanceOnboardingJobStatusOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceOnboardingJobStatusOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetInstanceOnboardingJobStatusOutput() + value.connectInstanceOnboardingJobStatus = try reader["connectInstanceOnboardingJobStatus"].readIfPresent(with: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus.read(from:)) + return value + } +} + +extension ListCampaignsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCampaignsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListCampaignsOutput() + value.campaignSummaryList = try reader["campaignSummaryList"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.CampaignSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + +extension ListConnectInstanceIntegrationsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectInstanceIntegrationsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListConnectInstanceIntegrationsOutput() + value.integrationSummaryList = try reader["integrationSummaryList"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.IntegrationSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + +extension ListTagsForResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListTagsForResourceOutput() + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension PauseCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PauseCampaignOutput { + return PauseCampaignOutput() + } +} + +extension PutConnectInstanceIntegrationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConnectInstanceIntegrationOutput { + return PutConnectInstanceIntegrationOutput() + } +} + +extension PutOutboundRequestBatchOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutOutboundRequestBatchOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = PutOutboundRequestBatchOutput() + value.failedRequests = try reader["failedRequests"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.FailedRequest.read(from:), memberNodeInfo: "member", isFlattened: false) + value.successfulRequests = try reader["successfulRequests"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.SuccessfulRequest.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension ResumeCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeCampaignOutput { + return ResumeCampaignOutput() + } +} + +extension StartCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCampaignOutput { + return StartCampaignOutput() + } +} + +extension StartInstanceOnboardingJobOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInstanceOnboardingJobOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = StartInstanceOnboardingJobOutput() + value.connectInstanceOnboardingJobStatus = try reader["connectInstanceOnboardingJobStatus"].readIfPresent(with: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus.read(from:)) + return value + } +} + +extension StopCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopCampaignOutput { + return StopCampaignOutput() + } +} + +extension TagResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { + return TagResourceOutput() + } +} + +extension UntagResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { + return UntagResourceOutput() + } +} + +extension UpdateCampaignChannelSubtypeConfigOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignChannelSubtypeConfigOutput { + return UpdateCampaignChannelSubtypeConfigOutput() + } +} + +extension UpdateCampaignCommunicationLimitsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignCommunicationLimitsOutput { + return UpdateCampaignCommunicationLimitsOutput() + } +} + +extension UpdateCampaignCommunicationTimeOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignCommunicationTimeOutput { + return UpdateCampaignCommunicationTimeOutput() + } +} + +extension UpdateCampaignFlowAssociationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignFlowAssociationOutput { + return UpdateCampaignFlowAssociationOutput() + } +} + +extension UpdateCampaignNameOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignNameOutput { + return UpdateCampaignNameOutput() + } +} + +extension UpdateCampaignScheduleOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignScheduleOutput { + return UpdateCampaignScheduleOutput() + } +} + +extension UpdateCampaignSourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignSourceOutput { + return UpdateCampaignSourceOutput() + } +} + +enum CreateCampaignOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteCampaignOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteCampaignChannelSubtypeConfigOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteCampaignCommunicationLimitsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteCampaignCommunicationTimeOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteConnectInstanceConfigOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidStateException": return try InvalidStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteConnectInstanceIntegrationOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteInstanceOnboardingJobOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidStateException": return try InvalidStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DescribeCampaignOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetCampaignStateOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetCampaignStateBatchOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetConnectInstanceConfigOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetInstanceOnboardingJobStatusOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListCampaignsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListConnectInstanceIntegrationsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListTagsForResourceOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum PauseCampaignOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum PutConnectInstanceIntegrationOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum PutOutboundRequestBatchOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ResumeCampaignOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum StartCampaignOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum StartInstanceOnboardingJobOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum StopCampaignOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum TagResourceOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UntagResourceOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignChannelSubtypeConfigOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignCommunicationLimitsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignCommunicationTimeOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignFlowAssociationOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignNameOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignScheduleOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignSourceOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +extension AccessDeniedException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> AccessDeniedException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = AccessDeniedException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ValidationException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ValidationException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = ValidationException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension InternalServerException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> InternalServerException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = InternalServerException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ResourceNotFoundException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ResourceNotFoundException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = ResourceNotFoundException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ThrottlingException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ThrottlingException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = ThrottlingException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ConflictException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ConflictException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = ConflictException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ServiceQuotaExceededException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ServiceQuotaExceededException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = ServiceQuotaExceededException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension InvalidCampaignStateException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> InvalidCampaignStateException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = InvalidCampaignStateException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.properties.state = try reader["state"].readIfPresent() ?? .sdkUnknown("") + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension InvalidStateException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> InvalidStateException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = InvalidStateException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ConnectCampaignsV2ClientTypes.Campaign { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.Campaign { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.Campaign() + value.id = try reader["id"].readIfPresent() ?? "" + value.arn = try reader["arn"].readIfPresent() ?? "" + value.name = try reader["name"].readIfPresent() ?? "" + value.connectInstanceId = try reader["connectInstanceId"].readIfPresent() ?? "" + value.channelSubtypeConfig = try reader["channelSubtypeConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig.read(from:)) + value.source = try reader["source"].readIfPresent(with: ConnectCampaignsV2ClientTypes.Source.read(from:)) + value.connectCampaignFlowArn = try reader["connectCampaignFlowArn"].readIfPresent() + value.schedule = try reader["schedule"].readIfPresent(with: ConnectCampaignsV2ClientTypes.Schedule.read(from:)) + value.communicationTimeConfig = try reader["communicationTimeConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig.read(from:)) + value.communicationLimitsOverride = try reader["communicationLimitsOverride"].readIfPresent(with: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig.read(from:)) + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["allChannelSubtypes"].write(value.allChannelSubtypes, with: ConnectCampaignsV2ClientTypes.CommunicationLimits.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig() + value.allChannelSubtypes = try reader["allChannelSubtypes"].readIfPresent(with: ConnectCampaignsV2ClientTypes.CommunicationLimits.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.CommunicationLimits { + + static func write(value: ConnectCampaignsV2ClientTypes.CommunicationLimits?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .communicationlimitslist(communicationlimitslist): + try writer["communicationLimitsList"].writeList(communicationlimitslist, memberWritingClosure: ConnectCampaignsV2ClientTypes.CommunicationLimit.write(value:to:), memberNodeInfo: "member", isFlattened: false) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CommunicationLimits { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "communicationLimitsList": + return .communicationlimitslist(try reader["communicationLimitsList"].readList(memberReadingClosure: ConnectCampaignsV2ClientTypes.CommunicationLimit.read(from:), memberNodeInfo: "member", isFlattened: false)) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.CommunicationLimit { + + static func write(value: ConnectCampaignsV2ClientTypes.CommunicationLimit?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["frequency"].write(value.frequency) + try writer["maxCountPerRecipient"].write(value.maxCountPerRecipient) + try writer["unit"].write(value.unit) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CommunicationLimit { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.CommunicationLimit() + value.maxCountPerRecipient = try reader["maxCountPerRecipient"].readIfPresent() ?? 0 + value.frequency = try reader["frequency"].readIfPresent() ?? 0 + value.unit = try reader["unit"].readIfPresent() ?? .sdkUnknown("") + return value + } +} + +extension ConnectCampaignsV2ClientTypes.CommunicationTimeConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["email"].write(value.email, with: ConnectCampaignsV2ClientTypes.TimeWindow.write(value:to:)) + try writer["localTimeZoneConfig"].write(value.localTimeZoneConfig, with: ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig.write(value:to:)) + try writer["sms"].write(value.sms, with: ConnectCampaignsV2ClientTypes.TimeWindow.write(value:to:)) + try writer["telephony"].write(value.telephony, with: ConnectCampaignsV2ClientTypes.TimeWindow.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CommunicationTimeConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.CommunicationTimeConfig() + value.localTimeZoneConfig = try reader["localTimeZoneConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig.read(from:)) + value.telephony = try reader["telephony"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TimeWindow.read(from:)) + value.sms = try reader["sms"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TimeWindow.read(from:)) + value.email = try reader["email"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TimeWindow.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.TimeWindow { + + static func write(value: ConnectCampaignsV2ClientTypes.TimeWindow?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["openHours"].write(value.openHours, with: ConnectCampaignsV2ClientTypes.OpenHours.write(value:to:)) + try writer["restrictedPeriods"].write(value.restrictedPeriods, with: ConnectCampaignsV2ClientTypes.RestrictedPeriods.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.TimeWindow { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.TimeWindow() + value.openHours = try reader["openHours"].readIfPresent(with: ConnectCampaignsV2ClientTypes.OpenHours.read(from:)) + value.restrictedPeriods = try reader["restrictedPeriods"].readIfPresent(with: ConnectCampaignsV2ClientTypes.RestrictedPeriods.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.RestrictedPeriods { + + static func write(value: ConnectCampaignsV2ClientTypes.RestrictedPeriods?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .restrictedperiodlist(restrictedperiodlist): + try writer["restrictedPeriodList"].writeList(restrictedperiodlist, memberWritingClosure: ConnectCampaignsV2ClientTypes.RestrictedPeriod.write(value:to:), memberNodeInfo: "member", isFlattened: false) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.RestrictedPeriods { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "restrictedPeriodList": + return .restrictedperiodlist(try reader["restrictedPeriodList"].readList(memberReadingClosure: ConnectCampaignsV2ClientTypes.RestrictedPeriod.read(from:), memberNodeInfo: "member", isFlattened: false)) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.RestrictedPeriod { + + static func write(value: ConnectCampaignsV2ClientTypes.RestrictedPeriod?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["endDate"].write(value.endDate) + try writer["name"].write(value.name) + try writer["startDate"].write(value.startDate) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.RestrictedPeriod { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.RestrictedPeriod() + value.name = try reader["name"].readIfPresent() + value.startDate = try reader["startDate"].readIfPresent() ?? "" + value.endDate = try reader["endDate"].readIfPresent() ?? "" + return value + } +} + +extension ConnectCampaignsV2ClientTypes.OpenHours { + + static func write(value: ConnectCampaignsV2ClientTypes.OpenHours?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .dailyhours(dailyhours): + try writer["dailyHours"].writeMap(dailyhours, valueWritingClosure: SmithyReadWrite.listWritingClosure(memberWritingClosure: ConnectCampaignsV2ClientTypes.TimeRange.write(value:to:), memberNodeInfo: "member", isFlattened: false), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.OpenHours { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "dailyHours": + return .dailyhours(try reader["dailyHours"].readMap(valueReadingClosure: SmithyReadWrite.listReadingClosure(memberReadingClosure: ConnectCampaignsV2ClientTypes.TimeRange.read(from:), memberNodeInfo: "member", isFlattened: false), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false)) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.TimeRange { + + static func write(value: ConnectCampaignsV2ClientTypes.TimeRange?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["endTime"].write(value.endTime) + try writer["startTime"].write(value.startTime) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.TimeRange { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.TimeRange() + value.startTime = try reader["startTime"].readIfPresent() ?? "" + value.endTime = try reader["endTime"].readIfPresent() ?? "" + return value + } +} + +extension ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["defaultTimeZone"].write(value.defaultTimeZone) + try writer["localTimeZoneDetection"].writeList(value.localTimeZoneDetection, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig() + value.defaultTimeZone = try reader["defaultTimeZone"].readIfPresent() + value.localTimeZoneDetection = try reader["localTimeZoneDetection"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.Schedule { + + static func write(value: ConnectCampaignsV2ClientTypes.Schedule?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["endTime"].writeTimestamp(value.endTime, format: SmithyTimestamps.TimestampFormat.dateTime) + try writer["refreshFrequency"].write(value.refreshFrequency) + try writer["startTime"].writeTimestamp(value.startTime, format: SmithyTimestamps.TimestampFormat.dateTime) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.Schedule { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.Schedule() + value.startTime = try reader["startTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.endTime = try reader["endTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.refreshFrequency = try reader["refreshFrequency"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.Source { + + static func write(value: ConnectCampaignsV2ClientTypes.Source?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .customerprofilessegmentarn(customerprofilessegmentarn): + try writer["customerProfilesSegmentArn"].write(customerprofilessegmentarn) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.Source { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "customerProfilesSegmentArn": + return .customerprofilessegmentarn(try reader["customerProfilesSegmentArn"].read()) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["email"].write(value.email, with: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig.write(value:to:)) + try writer["sms"].write(value.sms, with: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig.write(value:to:)) + try writer["telephony"].write(value.telephony, with: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig() + value.telephony = try reader["telephony"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig.read(from:)) + value.sms = try reader["sms"].readIfPresent(with: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig.read(from:)) + value.email = try reader["email"].readIfPresent(with: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["capacity"].write(value.capacity) + try writer["defaultOutboundConfig"].write(value.defaultOutboundConfig, with: ConnectCampaignsV2ClientTypes.EmailOutboundConfig.write(value:to:)) + try writer["outboundMode"].write(value.outboundMode, with: ConnectCampaignsV2ClientTypes.EmailOutboundMode.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig() + value.capacity = try reader["capacity"].readIfPresent() + value.outboundMode = try reader["outboundMode"].readIfPresent(with: ConnectCampaignsV2ClientTypes.EmailOutboundMode.read(from:)) + value.defaultOutboundConfig = try reader["defaultOutboundConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.EmailOutboundConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.EmailOutboundConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.EmailOutboundConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectSourceEmailAddress"].write(value.connectSourceEmailAddress) + try writer["sourceEmailAddressDisplayName"].write(value.sourceEmailAddressDisplayName) + try writer["wisdomTemplateArn"].write(value.wisdomTemplateArn) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.EmailOutboundConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.EmailOutboundConfig() + value.connectSourceEmailAddress = try reader["connectSourceEmailAddress"].readIfPresent() ?? "" + value.sourceEmailAddressDisplayName = try reader["sourceEmailAddressDisplayName"].readIfPresent() + value.wisdomTemplateArn = try reader["wisdomTemplateArn"].readIfPresent() ?? "" + return value + } +} + +extension ConnectCampaignsV2ClientTypes.EmailOutboundMode { + + static func write(value: ConnectCampaignsV2ClientTypes.EmailOutboundMode?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .agentless(agentless): + try writer["agentless"].write(agentless, with: ConnectCampaignsV2ClientTypes.AgentlessConfig.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.EmailOutboundMode { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "agentless": + return .agentless(try reader["agentless"].read(with: ConnectCampaignsV2ClientTypes.AgentlessConfig.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.AgentlessConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.AgentlessConfig?, to writer: SmithyJSON.Writer) throws { + guard value != nil else { return } + _ = writer[""] // create an empty structure + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.AgentlessConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + return ConnectCampaignsV2ClientTypes.AgentlessConfig() + } +} + +extension ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["capacity"].write(value.capacity) + try writer["defaultOutboundConfig"].write(value.defaultOutboundConfig, with: ConnectCampaignsV2ClientTypes.SmsOutboundConfig.write(value:to:)) + try writer["outboundMode"].write(value.outboundMode, with: ConnectCampaignsV2ClientTypes.SmsOutboundMode.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig() + value.capacity = try reader["capacity"].readIfPresent() + value.outboundMode = try reader["outboundMode"].readIfPresent(with: ConnectCampaignsV2ClientTypes.SmsOutboundMode.read(from:)) + value.defaultOutboundConfig = try reader["defaultOutboundConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.SmsOutboundConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.SmsOutboundConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.SmsOutboundConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectSourcePhoneNumberArn"].write(value.connectSourcePhoneNumberArn) + try writer["wisdomTemplateArn"].write(value.wisdomTemplateArn) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.SmsOutboundConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.SmsOutboundConfig() + value.connectSourcePhoneNumberArn = try reader["connectSourcePhoneNumberArn"].readIfPresent() ?? "" + value.wisdomTemplateArn = try reader["wisdomTemplateArn"].readIfPresent() ?? "" + return value + } +} + +extension ConnectCampaignsV2ClientTypes.SmsOutboundMode { + + static func write(value: ConnectCampaignsV2ClientTypes.SmsOutboundMode?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .agentless(agentless): + try writer["agentless"].write(agentless, with: ConnectCampaignsV2ClientTypes.AgentlessConfig.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.SmsOutboundMode { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "agentless": + return .agentless(try reader["agentless"].read(with: ConnectCampaignsV2ClientTypes.AgentlessConfig.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["capacity"].write(value.capacity) + try writer["connectQueueId"].write(value.connectQueueId) + try writer["defaultOutboundConfig"].write(value.defaultOutboundConfig, with: ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig.write(value:to:)) + try writer["outboundMode"].write(value.outboundMode, with: ConnectCampaignsV2ClientTypes.TelephonyOutboundMode.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig() + value.capacity = try reader["capacity"].readIfPresent() + value.connectQueueId = try reader["connectQueueId"].readIfPresent() + value.outboundMode = try reader["outboundMode"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TelephonyOutboundMode.read(from:)) + value.defaultOutboundConfig = try reader["defaultOutboundConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["answerMachineDetectionConfig"].write(value.answerMachineDetectionConfig, with: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig.write(value:to:)) + try writer["connectContactFlowId"].write(value.connectContactFlowId) + try writer["connectSourcePhoneNumber"].write(value.connectSourcePhoneNumber) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig() + value.connectContactFlowId = try reader["connectContactFlowId"].readIfPresent() ?? "" + value.connectSourcePhoneNumber = try reader["connectSourcePhoneNumber"].readIfPresent() + value.answerMachineDetectionConfig = try reader["answerMachineDetectionConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["awaitAnswerMachinePrompt"].write(value.awaitAnswerMachinePrompt) + try writer["enableAnswerMachineDetection"].write(value.enableAnswerMachineDetection) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig() + value.enableAnswerMachineDetection = try reader["enableAnswerMachineDetection"].readIfPresent() ?? false + value.awaitAnswerMachinePrompt = try reader["awaitAnswerMachinePrompt"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.TelephonyOutboundMode { + + static func write(value: ConnectCampaignsV2ClientTypes.TelephonyOutboundMode?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .agentless(agentless): + try writer["agentless"].write(agentless, with: ConnectCampaignsV2ClientTypes.AgentlessConfig.write(value:to:)) + case let .predictive(predictive): + try writer["predictive"].write(predictive, with: ConnectCampaignsV2ClientTypes.PredictiveConfig.write(value:to:)) + case let .progressive(progressive): + try writer["progressive"].write(progressive, with: ConnectCampaignsV2ClientTypes.ProgressiveConfig.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.TelephonyOutboundMode { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "progressive": + return .progressive(try reader["progressive"].read(with: ConnectCampaignsV2ClientTypes.ProgressiveConfig.read(from:))) + case "predictive": + return .predictive(try reader["predictive"].read(with: ConnectCampaignsV2ClientTypes.PredictiveConfig.read(from:))) + case "agentless": + return .agentless(try reader["agentless"].read(with: ConnectCampaignsV2ClientTypes.AgentlessConfig.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.PredictiveConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.PredictiveConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["bandwidthAllocation"].write(value.bandwidthAllocation) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.PredictiveConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.PredictiveConfig() + value.bandwidthAllocation = try reader["bandwidthAllocation"].readIfPresent() ?? 0.0 + return value + } +} + +extension ConnectCampaignsV2ClientTypes.ProgressiveConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.ProgressiveConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["bandwidthAllocation"].write(value.bandwidthAllocation) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.ProgressiveConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.ProgressiveConfig() + value.bandwidthAllocation = try reader["bandwidthAllocation"].readIfPresent() ?? 0.0 + return value + } +} + +extension ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse() + value.campaignId = try reader["campaignId"].readIfPresent() + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse() + value.campaignId = try reader["campaignId"].readIfPresent() + value.failureCode = try reader["failureCode"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.InstanceConfig { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.InstanceConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.InstanceConfig() + value.connectInstanceId = try reader["connectInstanceId"].readIfPresent() ?? "" + value.serviceLinkedRoleArn = try reader["serviceLinkedRoleArn"].readIfPresent() ?? "" + value.encryptionConfig = try reader["encryptionConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.EncryptionConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.EncryptionConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.EncryptionConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["enabled"].write(value.enabled) + try writer["encryptionType"].write(value.encryptionType) + try writer["keyArn"].write(value.keyArn) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.EncryptionConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.EncryptionConfig() + value.enabled = try reader["enabled"].readIfPresent() ?? false + value.encryptionType = try reader["encryptionType"].readIfPresent() + value.keyArn = try reader["keyArn"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus() + value.connectInstanceId = try reader["connectInstanceId"].readIfPresent() ?? "" + value.status = try reader["status"].readIfPresent() ?? .sdkUnknown("") + value.failureCode = try reader["failureCode"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.CampaignSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CampaignSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.CampaignSummary() + value.id = try reader["id"].readIfPresent() ?? "" + value.arn = try reader["arn"].readIfPresent() ?? "" + value.name = try reader["name"].readIfPresent() ?? "" + value.connectInstanceId = try reader["connectInstanceId"].readIfPresent() ?? "" + value.channelSubtypes = try reader["channelSubtypes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) ?? [] + value.schedule = try reader["schedule"].readIfPresent(with: ConnectCampaignsV2ClientTypes.Schedule.read(from:)) + value.connectCampaignFlowArn = try reader["connectCampaignFlowArn"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.IntegrationSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.IntegrationSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "customerProfiles": + return .customerprofiles(try reader["customerProfiles"].read(with: ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationSummary.read(from:))) + case "qConnect": + return .qconnect(try reader["qConnect"].read(with: ConnectCampaignsV2ClientTypes.QConnectIntegrationSummary.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.QConnectIntegrationSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.QConnectIntegrationSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.QConnectIntegrationSummary() + value.knowledgeBaseArn = try reader["knowledgeBaseArn"].readIfPresent() ?? "" + return value + } +} + +extension ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationSummary() + value.domainArn = try reader["domainArn"].readIfPresent() ?? "" + value.objectTypeNames = try reader["objectTypeNames"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) ?? [:] + return value + } +} + +extension ConnectCampaignsV2ClientTypes.SuccessfulRequest { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.SuccessfulRequest { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.SuccessfulRequest() + value.clientToken = try reader["clientToken"].readIfPresent() + value.id = try reader["id"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.FailedRequest { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.FailedRequest { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.FailedRequest() + value.clientToken = try reader["clientToken"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.failureCode = try reader["failureCode"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.IntegrationIdentifier { + + static func write(value: ConnectCampaignsV2ClientTypes.IntegrationIdentifier?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .customerprofiles(customerprofiles): + try writer["customerProfiles"].write(customerprofiles, with: ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationIdentifier.write(value:to:)) + case let .qconnect(qconnect): + try writer["qConnect"].write(qconnect, with: ConnectCampaignsV2ClientTypes.QConnectIntegrationIdentifier.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + +extension ConnectCampaignsV2ClientTypes.QConnectIntegrationIdentifier { + + static func write(value: ConnectCampaignsV2ClientTypes.QConnectIntegrationIdentifier?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["knowledgeBaseArn"].write(value.knowledgeBaseArn) + } +} + +extension ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationIdentifier { + + static func write(value: ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationIdentifier?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["domainArn"].write(value.domainArn) + } +} + +extension ConnectCampaignsV2ClientTypes.CampaignFilters { + + static func write(value: ConnectCampaignsV2ClientTypes.CampaignFilters?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["instanceIdFilter"].write(value.instanceIdFilter, with: ConnectCampaignsV2ClientTypes.InstanceIdFilter.write(value:to:)) + } +} + +extension ConnectCampaignsV2ClientTypes.InstanceIdFilter { + + static func write(value: ConnectCampaignsV2ClientTypes.InstanceIdFilter?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["operator"].write(value.`operator`) + try writer["value"].write(value.value) + } +} + +extension ConnectCampaignsV2ClientTypes.IntegrationConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.IntegrationConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .customerprofiles(customerprofiles): + try writer["customerProfiles"].write(customerprofiles, with: ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationConfig.write(value:to:)) + case let .qconnect(qconnect): + try writer["qConnect"].write(qconnect, with: ConnectCampaignsV2ClientTypes.QConnectIntegrationConfig.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + +extension ConnectCampaignsV2ClientTypes.QConnectIntegrationConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.QConnectIntegrationConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["knowledgeBaseArn"].write(value.knowledgeBaseArn) + } +} + +extension ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["domainArn"].write(value.domainArn) + try writer["objectTypeNames"].writeMap(value.objectTypeNames, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension ConnectCampaignsV2ClientTypes.OutboundRequest { + + static func write(value: ConnectCampaignsV2ClientTypes.OutboundRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["channelSubtypeParameters"].write(value.channelSubtypeParameters, with: ConnectCampaignsV2ClientTypes.ChannelSubtypeParameters.write(value:to:)) + try writer["clientToken"].write(value.clientToken) + try writer["expirationTime"].writeTimestamp(value.expirationTime, format: SmithyTimestamps.TimestampFormat.dateTime) + } +} + +extension ConnectCampaignsV2ClientTypes.ChannelSubtypeParameters { + + static func write(value: ConnectCampaignsV2ClientTypes.ChannelSubtypeParameters?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .email(email): + try writer["email"].write(email, with: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeParameters.write(value:to:)) + case let .sms(sms): + try writer["sms"].write(sms, with: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeParameters.write(value:to:)) + case let .telephony(telephony): + try writer["telephony"].write(telephony, with: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeParameters.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + +extension ConnectCampaignsV2ClientTypes.EmailChannelSubtypeParameters { + + static func write(value: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeParameters?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectSourceEmailAddress"].write(value.connectSourceEmailAddress) + try writer["destinationEmailAddress"].write(value.destinationEmailAddress) + try writer["templateArn"].write(value.templateArn) + try writer["templateParameters"].writeMap(value.templateParameters, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension ConnectCampaignsV2ClientTypes.SmsChannelSubtypeParameters { + + static func write(value: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeParameters?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectSourcePhoneNumberArn"].write(value.connectSourcePhoneNumberArn) + try writer["destinationPhoneNumber"].write(value.destinationPhoneNumber) + try writer["templateArn"].write(value.templateArn) + try writer["templateParameters"].writeMap(value.templateParameters, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeParameters { + + static func write(value: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeParameters?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["answerMachineDetectionConfig"].write(value.answerMachineDetectionConfig, with: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig.write(value:to:)) + try writer["attributes"].writeMap(value.attributes, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["connectSourcePhoneNumber"].write(value.connectSourcePhoneNumber) + try writer["destinationPhoneNumber"].write(value.destinationPhoneNumber) + } +} + +public enum ConnectCampaignsV2ClientTypes {} diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Paginators.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Paginators.swift new file mode 100644 index 00000000000..8133c1f1153 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Paginators.swift @@ -0,0 +1,74 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import protocol ClientRuntime.PaginateToken +import struct ClientRuntime.PaginatorSequence + +extension ConnectCampaignsV2Client { + /// Paginate over `[ListCampaignsOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListCampaignsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListCampaignsOutput` + public func listCampaignsPaginated(input: ListCampaignsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listCampaigns(input:)) + } +} + +extension ListCampaignsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListCampaignsInput { + return ListCampaignsInput( + filters: self.filters, + maxResults: self.maxResults, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListCampaignsInput, OperationStackOutput == ListCampaignsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listCampaignsPaginated` + /// to access the nested member `[ConnectCampaignsV2ClientTypes.CampaignSummary]` + /// - Returns: `[ConnectCampaignsV2ClientTypes.CampaignSummary]` + public func campaignSummaryList() async throws -> [ConnectCampaignsV2ClientTypes.CampaignSummary] { + return try await self.asyncCompactMap { item in item.campaignSummaryList } + } +} +extension ConnectCampaignsV2Client { + /// Paginate over `[ListConnectInstanceIntegrationsOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListConnectInstanceIntegrationsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListConnectInstanceIntegrationsOutput` + public func listConnectInstanceIntegrationsPaginated(input: ListConnectInstanceIntegrationsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listConnectInstanceIntegrations(input:)) + } +} + +extension ListConnectInstanceIntegrationsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListConnectInstanceIntegrationsInput { + return ListConnectInstanceIntegrationsInput( + connectInstanceId: self.connectInstanceId, + maxResults: self.maxResults, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListConnectInstanceIntegrationsInput, OperationStackOutput == ListConnectInstanceIntegrationsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listConnectInstanceIntegrationsPaginated` + /// to access the nested member `[ConnectCampaignsV2ClientTypes.IntegrationSummary]` + /// - Returns: `[ConnectCampaignsV2ClientTypes.IntegrationSummary]` + public func integrationSummaryList() async throws -> [ConnectCampaignsV2ClientTypes.IntegrationSummary] { + return try await self.asyncCompactMap { item in item.integrationSummaryList } + } +} diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Plugins.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Plugins.swift new file mode 100644 index 00000000000..cf8271b8847 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Plugins.swift @@ -0,0 +1,82 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import class AWSClientRuntime.AWSClientConfigDefaultsProvider +import protocol ClientRuntime.ClientConfiguration +import protocol ClientRuntime.Plugin +import protocol SmithyHTTPAuthAPI.AuthSchemeResolver +import protocol SmithyIdentity.AWSCredentialIdentityResolver +import protocol SmithyIdentity.BearerTokenIdentityResolver +import struct AWSSDKHTTPAuth.SigV4AuthScheme +import struct SmithyIdentity.BearerTokenIdentity +import struct SmithyIdentity.StaticBearerTokenIdentityResolver +import typealias SmithyHTTPAuthAPI.AuthSchemes + +public class ConnectCampaignsV2ClientEndpointPlugin: Plugin { + private var endpointResolver: EndpointResolver + + public init(endpointResolver: EndpointResolver) { + self.endpointResolver = endpointResolver + } + + public convenience init() throws { + self.init(endpointResolver: try DefaultEndpointResolver()) + } + + public func configureClient(clientConfiguration: ClientRuntime.ClientConfiguration) throws { + if let config = clientConfiguration as? ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration { + config.endpointResolver = self.endpointResolver + } + } +} + +public class DefaultAWSAuthSchemePlugin: ClientRuntime.Plugin { + + public init() {} + + public func configureClient(clientConfiguration: ClientRuntime.ClientConfiguration) throws { + if let config = clientConfiguration as? ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration { + config.authSchemeResolver = DefaultConnectCampaignsV2AuthSchemeResolver() + config.authSchemes = [AWSSDKHTTPAuth.SigV4AuthScheme()] + config.awsCredentialIdentityResolver = try AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver() + config.bearerTokenIdentityResolver = SmithyIdentity.StaticBearerTokenIdentityResolver(token: SmithyIdentity.BearerTokenIdentity(token: "")) + } + } +} + +public class ConnectCampaignsV2ClientAuthSchemePlugin: ClientRuntime.Plugin { + private var authSchemes: SmithyHTTPAuthAPI.AuthSchemes? + private var authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver? + private var awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? + private var bearerTokenIdentityResolver: (any SmithyIdentity.BearerTokenIdentityResolver)? + + public init(authSchemes: SmithyHTTPAuthAPI.AuthSchemes? = nil, authSchemeResolver: ConnectCampaignsV2AuthSchemeResolver? = nil, awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, bearerTokenIdentityResolver: (any SmithyIdentity.BearerTokenIdentityResolver)? = nil) { + self.authSchemeResolver = authSchemeResolver + self.authSchemes = authSchemes + self.awsCredentialIdentityResolver = awsCredentialIdentityResolver + self.bearerTokenIdentityResolver = bearerTokenIdentityResolver + } + + public func configureClient(clientConfiguration: ClientRuntime.ClientConfiguration) throws { + if let config = clientConfiguration as? ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration { + if (self.authSchemes != nil) { + config.authSchemes = self.authSchemes + } + if (self.authSchemeResolver != nil) { + config.authSchemeResolver = self.authSchemeResolver! + } + if (self.awsCredentialIdentityResolver != nil) { + config.awsCredentialIdentityResolver = self.awsCredentialIdentityResolver! + } + if (self.bearerTokenIdentityResolver != nil) { + config.bearerTokenIdentityResolver = self.bearerTokenIdentityResolver! + } + } + } +} diff --git a/Sources/Services/AWSConnectCampaignsV2/Tests/AWSConnectCampaignsV2Tests/EndpointResolverTest.swift b/Sources/Services/AWSConnectCampaignsV2/Tests/AWSConnectCampaignsV2Tests/EndpointResolverTest.swift new file mode 100644 index 00000000000..5c86dafc560 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Tests/AWSConnectCampaignsV2Tests/EndpointResolverTest.swift @@ -0,0 +1,516 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +@testable import AWSConnectCampaignsV2 +import XCTest +import enum ClientRuntime.EndpointError +import enum SmithyTestUtil.TestInitializer +import struct SmithyHTTPAPI.Endpoint +import struct SmithyHTTPAPI.Headers + +class EndpointResolverTest: XCTestCase { + + override class func setUp() { + SmithyTestUtil.TestInitializer.initialize() + } + + /// For region us-east-1 with FIPS enabled and DualStack enabled + func testResolve1() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-east-1 with FIPS enabled and DualStack disabled + func testResolve2() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-east-1 with FIPS disabled and DualStack enabled + func testResolve3() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-east-1 with FIPS disabled and DualStack disabled + func testResolve4() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS enabled and DualStack enabled + func testResolve5() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.cn-north-1.api.amazonwebservices.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS enabled and DualStack disabled + func testResolve6() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.cn-north-1.amazonaws.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS disabled and DualStack enabled + func testResolve7() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.cn-north-1.api.amazonwebservices.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS disabled and DualStack disabled + func testResolve8() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.cn-north-1.amazonaws.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS enabled and DualStack enabled + func testResolve9() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-gov-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS enabled and DualStack disabled + func testResolve10() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-gov-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS disabled and DualStack enabled + func testResolve11() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-gov-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS disabled and DualStack disabled + func testResolve12() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-gov-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-iso-east-1 with FIPS enabled and DualStack enabled + func testResolve13() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("FIPS and DualStack are enabled, but this partition does not support one or both", message) + default: + XCTFail() + } + } + } + + /// For region us-iso-east-1 with FIPS enabled and DualStack disabled + func testResolve14() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-iso-east-1.c2s.ic.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-iso-east-1 with FIPS disabled and DualStack enabled + func testResolve15() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("DualStack is enabled but this partition does not support DualStack", message) + default: + XCTFail() + } + } + } + + /// For region us-iso-east-1 with FIPS disabled and DualStack disabled + func testResolve16() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-iso-east-1.c2s.ic.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-isob-east-1 with FIPS enabled and DualStack enabled + func testResolve17() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("FIPS and DualStack are enabled, but this partition does not support one or both", message) + default: + XCTFail() + } + } + } + + /// For region us-isob-east-1 with FIPS enabled and DualStack disabled + func testResolve18() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-isob-east-1.sc2s.sgov.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-isob-east-1 with FIPS disabled and DualStack enabled + func testResolve19() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("DualStack is enabled but this partition does not support DualStack", message) + default: + XCTFail() + } + } + } + + /// For region us-isob-east-1 with FIPS disabled and DualStack disabled + func testResolve20() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-isob-east-1.sc2s.sgov.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For custom endpoint with region set and fips disabled and dualstack disabled + func testResolve21() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + region: "us-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://example.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For custom endpoint with region not set and fips disabled and dualstack disabled + func testResolve22() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://example.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For custom endpoint with fips enabled and dualstack disabled + func testResolve23() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + region: "us-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid Configuration: FIPS and custom endpoint are not supported", message) + default: + XCTFail() + } + } + } + + /// For custom endpoint with fips disabled and dualstack enabled + func testResolve24() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + region: "us-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid Configuration: Dualstack and custom endpoint are not supported", message) + default: + XCTFail() + } + } + } + + /// Missing region + func testResolve25() throws { + let endpointParams = EndpointParams( + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid Configuration: Missing Region", message) + default: + XCTFail() + } + } + } + +} diff --git a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift index 9daa8459e36..661cc1fe66b 100644 --- a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift +++ b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectCasesClient: ClientRuntime.Client { public static let clientName = "ConnectCasesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConnectCasesClient.ConnectCasesClientConfiguration let serviceName = "ConnectCases" diff --git a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift index 8bf9587c7d9..e6235c9b452 100644 --- a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift +++ b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectContactLensClient: ClientRuntime.Client { public static let clientName = "ConnectContactLensClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConnectContactLensClient.ConnectContactLensClientConfiguration let serviceName = "Connect Contact Lens" diff --git a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift index af71c76fc83..24d9ebcb3d9 100644 --- a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift +++ b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectParticipantClient: ClientRuntime.Client { public static let clientName = "ConnectParticipantClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConnectParticipantClient.ConnectParticipantClientConfiguration let serviceName = "ConnectParticipant" diff --git a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift index 439b8fab8f1..af714fbc18c 100644 --- a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift +++ b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ControlCatalogClient: ClientRuntime.Client { public static let clientName = "ControlCatalogClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ControlCatalogClient.ControlCatalogClientConfiguration let serviceName = "ControlCatalog" diff --git a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift index d30efa58de8..971a663d801 100644 --- a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift +++ b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ControlTowerClient: ClientRuntime.Client { public static let clientName = "ControlTowerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ControlTowerClient.ControlTowerClientConfiguration let serviceName = "ControlTower" diff --git a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift index b0dbc7cca12..709ccb60bb7 100644 --- a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift +++ b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostExplorerClient: ClientRuntime.Client { public static let clientName = "CostExplorerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CostExplorerClient.CostExplorerClientConfiguration let serviceName = "Cost Explorer" diff --git a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift index 6d485bc6680..69792b3e449 100644 --- a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift +++ b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostOptimizationHubClient: ClientRuntime.Client { public static let clientName = "CostOptimizationHubClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CostOptimizationHubClient.CostOptimizationHubClientConfiguration let serviceName = "Cost Optimization Hub" diff --git a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift index c7d0a055bda..1410cd349ba 100644 --- a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift +++ b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostandUsageReportClient: ClientRuntime.Client { public static let clientName = "CostandUsageReportClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CostandUsageReportClient.CostandUsageReportClientConfiguration let serviceName = "Cost and Usage Report" diff --git a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift index 0a7a6de355a..fd2e02ce43e 100644 --- a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift +++ b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CustomerProfilesClient: ClientRuntime.Client { public static let clientName = "CustomerProfilesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CustomerProfilesClient.CustomerProfilesClientConfiguration let serviceName = "Customer Profiles" diff --git a/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift b/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift index a59452b6345..b7ecd826a6b 100644 --- a/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift +++ b/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DAXClient: ClientRuntime.Client { public static let clientName = "DAXClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DAXClient.DAXClientConfiguration let serviceName = "DAX" diff --git a/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift b/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift index db5670848a7..52443bfa148 100644 --- a/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift +++ b/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DLMClient: ClientRuntime.Client { public static let clientName = "DLMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DLMClient.DLMClientConfiguration let serviceName = "DLM" diff --git a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift index 39bb5b2ad4d..ee8d5909174 100644 --- a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift +++ b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataBrewClient: ClientRuntime.Client { public static let clientName = "DataBrewClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DataBrewClient.DataBrewClientConfiguration let serviceName = "DataBrew" diff --git a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift index fe65a803e29..d917b1b0fef 100644 --- a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift +++ b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataExchangeClient: ClientRuntime.Client { public static let clientName = "DataExchangeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DataExchangeClient.DataExchangeClientConfiguration let serviceName = "DataExchange" diff --git a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift index a902a6ffc4d..da7f05882d9 100644 --- a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift +++ b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataPipelineClient: ClientRuntime.Client { public static let clientName = "DataPipelineClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DataPipelineClient.DataPipelineClientConfiguration let serviceName = "Data Pipeline" diff --git a/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift b/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift index 1e6f151e67b..25efad7fcbf 100644 --- a/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift +++ b/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataSyncClient: ClientRuntime.Client { public static let clientName = "DataSyncClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DataSyncClient.DataSyncClientConfiguration let serviceName = "DataSync" @@ -2691,7 +2691,7 @@ extension DataSyncClient { /// Performs the `DescribeTaskExecution` operation on the `FmrsService` service. /// - /// Provides information about an execution of your DataSync task. You can use this operation to help monitor the progress of an ongoing data transfer or check the results of the transfer. Some DescribeTaskExecution response elements are only relevant to a specific task mode. For information, see [Understanding task mode differences](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html#task-mode-differences) and [Understanding data transfer performance metrics](https://docs.aws.amazon.com/datasync/latest/userguide/transfer-performance-metrics.html). + /// Provides information about an execution of your DataSync task. You can use this operation to help monitor the progress of an ongoing data transfer or check the results of the transfer. Some DescribeTaskExecution response elements are only relevant to a specific task mode. For information, see [Understanding task mode differences](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html#task-mode-differences) and [Understanding data transfer performance counters](https://docs.aws.amazon.com/datasync/latest/userguide/transfer-performance-counters.html). /// /// - Parameter DescribeTaskExecutionInput : DescribeTaskExecutionRequest /// diff --git a/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift b/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift index 04bc8ce0c34..bac7bab9d56 100644 --- a/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift +++ b/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift @@ -2712,9 +2712,9 @@ public struct CreateTaskInput: Swift.Sendable { public var tags: [DataSyncClientTypes.TagListEntry]? /// Specifies one of the following task modes for your data transfer: /// - /// * ENHANCED - Transfer virtually unlimited numbers of objects with enhanced metrics, more detailed logs, and higher performance than Basic mode. Currently available for transfers between Amazon S3 locations. To create an Enhanced mode task, the IAM role that you use to call the CreateTask operation must have the iam:CreateServiceLinkedRole permission. + /// * ENHANCED - Transfer virtually unlimited numbers of objects with higher performance than Basic mode. Enhanced mode tasks optimize the data transfer process by listing, preparing, transferring, and verifying data in parallel. Enhanced mode is currently available for transfers between Amazon S3 locations. To create an Enhanced mode task, the IAM role that you use to call the CreateTask operation must have the iam:CreateServiceLinkedRole permission. /// - /// * BASIC (default) - Transfer files or objects between Amazon Web Services storage and on-premises, edge, or other cloud storage. DataSync [quotas](https://docs.aws.amazon.com/datasync/latest/userguide/datasync-limits.html) apply. + /// * BASIC (default) - Transfer files or objects between Amazon Web Services storage and all other supported DataSync locations. Basic mode tasks are subject to [quotas](https://docs.aws.amazon.com/datasync/latest/userguide/datasync-limits.html) on the number of files, objects, and directories in a dataset. Basic mode sequentially prepares, transfers, and verifies data, making it slower than Enhanced mode for most workloads. /// /// /// For more information, see [Understanding task mode differences](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html#task-mode-differences). @@ -4542,7 +4542,7 @@ extension DataSyncClientTypes { /// The number of objects that DataSync finds at your locations. Applies only to [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). public struct TaskExecutionFilesListedDetail: Swift.Sendable { - /// The number of objects that DataSync finds at your destination location. This metric is only applicable if you [configure your task](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html#task-option-file-object-handling) to delete data in the destination that isn't in the source. + /// The number of objects that DataSync finds at your destination location. This counter is only applicable if you [configure your task](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html#task-option-file-object-handling) to delete data in the destination that isn't in the source. public var atDestinationForDelete: Swift.Int /// The number of objects that DataSync finds at your source location. /// @@ -4717,7 +4717,7 @@ extension DataSyncClientTypes { /// DescribeTaskExecutionResponse public struct DescribeTaskExecutionOutput: Swift.Sendable { - /// The number of physical bytes that DataSync transfers over the network after compression (if compression is possible). This number is typically less than [BytesTransferred](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-BytesTransferred) unless the data isn't compressible. Not currently supported with [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). + /// The number of physical bytes that DataSync transfers over the network after compression (if compression is possible). This number is typically less than [BytesTransferred](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-BytesTransferred) unless the data isn't compressible. public var bytesCompressed: Swift.Int /// The number of bytes that DataSync sends to the network before compression (if compression is possible). For the number of bytes transferred over the network, see [BytesCompressed](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-BytesCompressed). public var bytesTransferred: Swift.Int @@ -4725,9 +4725,9 @@ public struct DescribeTaskExecutionOutput: Swift.Sendable { public var bytesWritten: Swift.Int /// The number of logical bytes that DataSync expects to write to the destination location. public var estimatedBytesToTransfer: Swift.Int - /// The number of files, objects, and directories that DataSync expects to delete in your destination location. If you don't [configure your task](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html) to delete data in the destination that isn't in the source, the value is always 0. + /// The number of files, objects, and directories that DataSync expects to delete in your destination location. If you don't configure your task to [delete data in the destination that isn't in the source](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html), the value is always 0. public var estimatedFilesToDelete: Swift.Int - /// The number of files, objects, and directories that DataSync expects to transfer over the network. This value is calculated during the task execution's PREPARING[step](https://docs.aws.amazon.com/datasync/latest/userguide/run-task.html#understand-task-execution-statuses) before the TRANSFERRING step. How this gets calculated depends primarily on your task’s [transfer mode](https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-TransferMode) configuration: + /// The number of files, objects, and directories that DataSync expects to transfer over the network. This value is calculated while DataSync [prepares](https://docs.aws.amazon.com/datasync/latest/userguide/run-task.html#understand-task-execution-statuses) the transfer. How this gets calculated depends primarily on your task’s [transfer mode](https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-TransferMode) configuration: /// /// * If TranserMode is set to CHANGED - The calculation is based on comparing the content of the source and destination locations and determining the difference that needs to be transferred. The difference can include: /// @@ -4744,17 +4744,17 @@ public struct DescribeTaskExecutionOutput: Swift.Sendable { public var estimatedFilesToTransfer: Swift.Int /// A list of filter rules that exclude specific data during your transfer. For more information and examples, see [Filtering data transferred by DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). public var excludes: [DataSyncClientTypes.FilterRule]? - /// The number of files, objects, and directories that DataSync actually deletes in your destination location. If you don't [configure your task](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html) to delete data in the destination that isn't in the source, the value is always 0. + /// The number of files, objects, and directories that DataSync actually deletes in your destination location. If you don't configure your task to [delete data in the destination that isn't in the source](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html), the value is always 0. public var filesDeleted: Swift.Int /// The number of objects that DataSync fails to prepare, transfer, verify, and delete during your task execution. Applies only to [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). public var filesFailed: DataSyncClientTypes.TaskExecutionFilesFailedDetail? /// The number of objects that DataSync finds at your locations. Applies only to [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). public var filesListed: DataSyncClientTypes.TaskExecutionFilesListedDetail? - /// The number of objects that DataSync will attempt to transfer after comparing your source and destination locations. Applies only to [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). This metric isn't applicable if you configure your task to [transfer all data](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html#task-option-transfer-mode). In that scenario, DataSync copies everything from the source to the destination without comparing differences between the locations. + /// The number of objects that DataSync will attempt to transfer after comparing your source and destination locations. Applies only to [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). This counter isn't applicable if you configure your task to [transfer all data](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html#task-option-transfer-mode). In that scenario, DataSync copies everything from the source to the destination without comparing differences between the locations. public var filesPrepared: Swift.Int /// The number of files, objects, and directories that DataSync skips during your transfer. public var filesSkipped: Swift.Int - /// The number of files, objects, and directories that DataSync actually transfers over the network. This value is updated periodically during the task execution's TRANSFERRING[step](https://docs.aws.amazon.com/datasync/latest/userguide/run-task.html#understand-task-execution-statuses) when something is read from the source and sent over the network. If DataSync fails to transfer something, this value can be less than EstimatedFilesToTransfer. In some cases, this value can also be greater than EstimatedFilesToTransfer. This element is implementation-specific for some location types, so don't use it as an exact indication of what's transferring or to monitor your task execution. + /// The number of files, objects, and directories that DataSync actually transfers over the network. This value is updated periodically during your task execution when something is read from the source and sent over the network. If DataSync fails to transfer something, this value can be less than EstimatedFilesToTransfer. In some cases, this value can also be greater than EstimatedFilesToTransfer. This element is implementation-specific for some location types, so don't use it as an exact indication of what's transferring or to monitor your task execution. public var filesTransferred: Swift.Int /// The number of files, objects, and directories that DataSync verifies during your transfer. When you configure your task to [verify only the data that's transferred](https://docs.aws.amazon.com/datasync/latest/userguide/configure-data-verification-options.html), DataSync doesn't verify directories in some situations or files that fail to transfer. public var filesVerified: Swift.Int diff --git a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift index 14e7ee1002c..0408a0d9d35 100644 --- a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift +++ b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataZoneClient: ClientRuntime.Client { public static let clientName = "DataZoneClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DataZoneClient.DataZoneClientConfiguration let serviceName = "DataZone" diff --git a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift index 616c27bd1ff..5d3b0bbf5ff 100644 --- a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift +++ b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DatabaseMigrationClient: ClientRuntime.Client { public static let clientName = "DatabaseMigrationClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DatabaseMigrationClient.DatabaseMigrationClientConfiguration let serviceName = "Database Migration" diff --git a/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift b/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift index 5239f5b7b3d..3543f6b0750 100644 --- a/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift +++ b/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DeadlineClient: ClientRuntime.Client { public static let clientName = "DeadlineClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DeadlineClient.DeadlineClientConfiguration let serviceName = "deadline" diff --git a/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift b/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift index a9287daaf3b..a752fed55bc 100644 --- a/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift +++ b/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DetectiveClient: ClientRuntime.Client { public static let clientName = "DetectiveClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DetectiveClient.DetectiveClientConfiguration let serviceName = "Detective" diff --git a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift index 0751b1a79bf..10efa16d716 100644 --- a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift +++ b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DevOpsGuruClient: ClientRuntime.Client { public static let clientName = "DevOpsGuruClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DevOpsGuruClient.DevOpsGuruClientConfiguration let serviceName = "DevOps Guru" diff --git a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift index df68f690a6e..5f5622a3641 100644 --- a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift +++ b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DeviceFarmClient: ClientRuntime.Client { public static let clientName = "DeviceFarmClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DeviceFarmClient.DeviceFarmClientConfiguration let serviceName = "Device Farm" diff --git a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift index a5a61f2e59b..c7d8f10538f 100644 --- a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift +++ b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectConnectClient: ClientRuntime.Client { public static let clientName = "DirectConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DirectConnectClient.DirectConnectClientConfiguration let serviceName = "Direct Connect" diff --git a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift index 4150ca19e26..633385786c5 100644 --- a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift +++ b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectoryClient: ClientRuntime.Client { public static let clientName = "DirectoryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DirectoryClient.DirectoryClientConfiguration let serviceName = "Directory" diff --git a/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift b/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift index bf7d335d38b..7a20b15ba82 100644 --- a/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift +++ b/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectoryServiceDataClient: ClientRuntime.Client { public static let clientName = "DirectoryServiceDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DirectoryServiceDataClient.DirectoryServiceDataClientConfiguration let serviceName = "Directory Service Data" diff --git a/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift b/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift index d5dbb6a3207..3fbd3e27368 100644 --- a/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift +++ b/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DocDBClient: ClientRuntime.Client { public static let clientName = "DocDBClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DocDBClient.DocDBClientConfiguration let serviceName = "DocDB" diff --git a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift index c041dfb94e5..e3af29a92c6 100644 --- a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift +++ b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DocDBElasticClient: ClientRuntime.Client { public static let clientName = "DocDBElasticClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DocDBElasticClient.DocDBElasticClientConfiguration let serviceName = "DocDB Elastic" diff --git a/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift b/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift index b110fcf074c..0363d52beed 100644 --- a/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift +++ b/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DrsClient: ClientRuntime.Client { public static let clientName = "DrsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DrsClient.DrsClientConfiguration let serviceName = "drs" diff --git a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift index df43842e8ff..5c4f080f0de 100644 --- a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift +++ b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DynamoDBClient: ClientRuntime.Client { public static let clientName = "DynamoDBClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DynamoDBClient.DynamoDBClientConfiguration let serviceName = "DynamoDB" diff --git a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift index 7d318d0c0c4..d93dc7704ff 100644 --- a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift +++ b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DynamoDBStreamsClient: ClientRuntime.Client { public static let clientName = "DynamoDBStreamsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DynamoDBStreamsClient.DynamoDBStreamsClientConfiguration let serviceName = "DynamoDB Streams" diff --git a/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift b/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift index 964654cb662..49f7deeb29a 100644 --- a/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift +++ b/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EBSClient: ClientRuntime.Client { public static let clientName = "EBSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EBSClient.EBSClientConfiguration let serviceName = "EBS" diff --git a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift index ae1f211eacb..dedfde28de6 100644 --- a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift +++ b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EC2Client: ClientRuntime.Client { public static let clientName = "EC2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EC2Client.EC2ClientConfiguration let serviceName = "EC2" diff --git a/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift b/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift index ef34e6f98a8..c08591ab2ee 100644 --- a/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift +++ b/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift @@ -14491,16 +14491,12 @@ extension EC2ClientTypes { extension EC2ClientTypes { public enum FleetCapacityReservationUsageStrategy: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case `none` case useCapacityReservationsFirst - case useCapacityReservationsOnly case sdkUnknown(Swift.String) public static var allCases: [FleetCapacityReservationUsageStrategy] { return [ - .none, - .useCapacityReservationsFirst, - .useCapacityReservationsOnly + .useCapacityReservationsFirst ] } @@ -14511,9 +14507,7 @@ extension EC2ClientTypes { public var rawValue: Swift.String { switch self { - case .none: return "none" case .useCapacityReservationsFirst: return "use-capacity-reservations-first" - case .useCapacityReservationsOnly: return "use-capacity-reservations-only" case let .sdkUnknown(s): return s } } diff --git a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift index 9899075b2ea..069c2f7346e 100644 --- a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift +++ b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EC2InstanceConnectClient: ClientRuntime.Client { public static let clientName = "EC2InstanceConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EC2InstanceConnectClient.EC2InstanceConnectClientConfiguration let serviceName = "EC2 Instance Connect" diff --git a/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift b/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift index de4995c1a77..1dc17e8fc41 100644 --- a/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift +++ b/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECRClient: ClientRuntime.Client { public static let clientName = "ECRClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ECRClient.ECRClientConfiguration let serviceName = "ECR" diff --git a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift index ea26063ad42..a8e3d89c230 100644 --- a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift +++ b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECRPUBLICClient: ClientRuntime.Client { public static let clientName = "ECRPUBLICClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ECRPUBLICClient.ECRPUBLICClientConfiguration let serviceName = "ECR PUBLIC" diff --git a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift index 5bb335ee67a..c150ceca078 100644 --- a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift +++ b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECSClient: ClientRuntime.Client { public static let clientName = "ECSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ECSClient.ECSClientConfiguration let serviceName = "ECS" diff --git a/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift b/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift index 67608db086b..af23d69e2e1 100644 --- a/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift +++ b/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EFSClient: ClientRuntime.Client { public static let clientName = "EFSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EFSClient.EFSClientConfiguration let serviceName = "EFS" diff --git a/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift b/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift index 7b4015a153b..2ab905e374f 100644 --- a/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift +++ b/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EKSClient: ClientRuntime.Client { public static let clientName = "EKSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EKSClient.EKSClientConfiguration let serviceName = "EKS" diff --git a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift index 506949004e2..e2754b127b2 100644 --- a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift +++ b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EKSAuthClient: ClientRuntime.Client { public static let clientName = "EKSAuthClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EKSAuthClient.EKSAuthClientConfiguration let serviceName = "EKS Auth" diff --git a/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift b/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift index 495e6ee2d17..095f65f8031 100644 --- a/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift +++ b/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRClient: ClientRuntime.Client { public static let clientName = "EMRClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EMRClient.EMRClientConfiguration let serviceName = "EMR" diff --git a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift index 42bf87db6a7..2cfe28b9c14 100644 --- a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift +++ b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRServerlessClient: ClientRuntime.Client { public static let clientName = "EMRServerlessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EMRServerlessClient.EMRServerlessClientConfiguration let serviceName = "EMR Serverless" diff --git a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift index d2558c42bc4..d8faa71c54f 100644 --- a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift +++ b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRcontainersClient: ClientRuntime.Client { public static let clientName = "EMRcontainersClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EMRcontainersClient.EMRcontainersClientConfiguration let serviceName = "EMR containers" diff --git a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift index 70571313d29..5b35cdf2fb7 100644 --- a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift +++ b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElastiCacheClient: ClientRuntime.Client { public static let clientName = "ElastiCacheClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElastiCacheClient.ElastiCacheClientConfiguration let serviceName = "ElastiCache" diff --git a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift index 121866d2139..5d85bbd057a 100644 --- a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift +++ b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticBeanstalkClient: ClientRuntime.Client { public static let clientName = "ElasticBeanstalkClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticBeanstalkClient.ElasticBeanstalkClientConfiguration let serviceName = "Elastic Beanstalk" diff --git a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift index c9d7f5406cd..cff7868d8cb 100644 --- a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift +++ b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticInferenceClient: ClientRuntime.Client { public static let clientName = "ElasticInferenceClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticInferenceClient.ElasticInferenceClientConfiguration let serviceName = "Elastic Inference" diff --git a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift index 76f3980e709..2789d130be1 100644 --- a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift +++ b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticLoadBalancingClient: ClientRuntime.Client { public static let clientName = "ElasticLoadBalancingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticLoadBalancingClient.ElasticLoadBalancingClientConfiguration let serviceName = "Elastic Load Balancing" diff --git a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift index b4258e1e886..5f7a7ee0f31 100644 --- a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift +++ b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticLoadBalancingv2Client: ClientRuntime.Client { public static let clientName = "ElasticLoadBalancingv2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticLoadBalancingv2Client.ElasticLoadBalancingv2ClientConfiguration let serviceName = "Elastic Load Balancing v2" diff --git a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift index a8388d77d71..28b718de979 100644 --- a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift +++ b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticTranscoderClient: ClientRuntime.Client { public static let clientName = "ElasticTranscoderClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticTranscoderClient.ElasticTranscoderClientConfiguration let serviceName = "Elastic Transcoder" diff --git a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift index d745e5b2e59..9e2c3efb8df 100644 --- a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift +++ b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticsearchClient: ClientRuntime.Client { public static let clientName = "ElasticsearchClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticsearchClient.ElasticsearchClientConfiguration let serviceName = "Elasticsearch" diff --git a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift index 6376ceb5bc1..fa0c6bbc95d 100644 --- a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift +++ b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EntityResolutionClient: ClientRuntime.Client { public static let clientName = "EntityResolutionClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EntityResolutionClient.EntityResolutionClientConfiguration let serviceName = "EntityResolution" diff --git a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift index 548991d6eb0..74312265afa 100644 --- a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift +++ b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EventBridgeClient: ClientRuntime.Client { public static let clientName = "EventBridgeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EventBridgeClient.EventBridgeClientConfiguration let serviceName = "EventBridge" diff --git a/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift b/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift index 23743ebfb72..198473acce5 100644 --- a/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift +++ b/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EvidentlyClient: ClientRuntime.Client { public static let clientName = "EvidentlyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EvidentlyClient.EvidentlyClientConfiguration let serviceName = "Evidently" diff --git a/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift b/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift index 11afa8200de..9b9475f8ee3 100644 --- a/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift +++ b/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FMSClient: ClientRuntime.Client { public static let clientName = "FMSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FMSClient.FMSClientConfiguration let serviceName = "FMS" diff --git a/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift b/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift index 8af26094d29..fbcc14699eb 100644 --- a/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift +++ b/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FSxClient: ClientRuntime.Client { public static let clientName = "FSxClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FSxClient.FSxClientConfiguration let serviceName = "FSx" diff --git a/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift b/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift index e73c4c1c958..d9b7c070c8d 100644 --- a/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift +++ b/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FinspaceClient: ClientRuntime.Client { public static let clientName = "FinspaceClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FinspaceClient.FinspaceClientConfiguration let serviceName = "finspace" diff --git a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift index 6c87de7ec2a..a1b1dc7083e 100644 --- a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift +++ b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FinspacedataClient: ClientRuntime.Client { public static let clientName = "FinspacedataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FinspacedataClient.FinspacedataClientConfiguration let serviceName = "finspace data" diff --git a/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift b/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift index 1655da0775a..3418b3cfee3 100644 --- a/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift +++ b/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FirehoseClient: ClientRuntime.Client { public static let clientName = "FirehoseClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FirehoseClient.FirehoseClientConfiguration let serviceName = "Firehose" diff --git a/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift b/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift index ab9614efcf4..3f537046eb1 100644 --- a/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift +++ b/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FisClient: ClientRuntime.Client { public static let clientName = "FisClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FisClient.FisClientConfiguration let serviceName = "fis" diff --git a/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift b/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift index b058cf5bde5..992bef53f8e 100644 --- a/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift +++ b/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ForecastClient: ClientRuntime.Client { public static let clientName = "ForecastClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ForecastClient.ForecastClientConfiguration let serviceName = "forecast" diff --git a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift index 9c52c8da27b..b16c2e6fd9f 100644 --- a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift +++ b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ForecastqueryClient: ClientRuntime.Client { public static let clientName = "ForecastqueryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ForecastqueryClient.ForecastqueryClientConfiguration let serviceName = "forecastquery" diff --git a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift index 672edf3b42f..5d3030a8c05 100644 --- a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift +++ b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FraudDetectorClient: ClientRuntime.Client { public static let clientName = "FraudDetectorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FraudDetectorClient.FraudDetectorClientConfiguration let serviceName = "FraudDetector" diff --git a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift index 5c071bc0c8c..1fa9ab0112e 100644 --- a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift +++ b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FreeTierClient: ClientRuntime.Client { public static let clientName = "FreeTierClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FreeTierClient.FreeTierClientConfiguration let serviceName = "FreeTier" diff --git a/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift b/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift index 98b2ec6d164..30533114ee4 100644 --- a/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift +++ b/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GameLiftClient: ClientRuntime.Client { public static let clientName = "GameLiftClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GameLiftClient.GameLiftClientConfiguration let serviceName = "GameLift" diff --git a/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift b/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift index 2a110d160fd..1317fc3a2cc 100644 --- a/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift +++ b/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift @@ -59,7 +59,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoMapsClient: ClientRuntime.Client { public static let clientName = "GeoMapsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GeoMapsClient.GeoMapsClientConfiguration let serviceName = "Geo Maps" diff --git a/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift b/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift index 12740afa728..f1b06cd927c 100644 --- a/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift +++ b/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoPlacesClient: ClientRuntime.Client { public static let clientName = "GeoPlacesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GeoPlacesClient.GeoPlacesClientConfiguration let serviceName = "Geo Places" diff --git a/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift b/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift index c825453d052..ee6b53312b7 100644 --- a/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift +++ b/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoRoutesClient: ClientRuntime.Client { public static let clientName = "GeoRoutesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GeoRoutesClient.GeoRoutesClientConfiguration let serviceName = "Geo Routes" diff --git a/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift b/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift index de567f16c7e..e218d076b68 100644 --- a/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift +++ b/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift @@ -70,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlacierClient: ClientRuntime.Client { public static let clientName = "GlacierClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GlacierClient.GlacierClientConfiguration let serviceName = "Glacier" diff --git a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift index de3761947f9..d89fa3ef0a7 100644 --- a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift +++ b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlobalAcceleratorClient: ClientRuntime.Client { public static let clientName = "GlobalAcceleratorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GlobalAcceleratorClient.GlobalAcceleratorClientConfiguration let serviceName = "Global Accelerator" diff --git a/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift b/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift index 5988c8c269e..bf835a48b8a 100644 --- a/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift +++ b/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlueClient: ClientRuntime.Client { public static let clientName = "GlueClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GlueClient.GlueClientConfiguration let serviceName = "Glue" diff --git a/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift b/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift index da46d3d83db..1aae8d35c1d 100644 --- a/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift +++ b/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GrafanaClient: ClientRuntime.Client { public static let clientName = "GrafanaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GrafanaClient.GrafanaClientConfiguration let serviceName = "grafana" diff --git a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift index a34aa17c900..938e21fb44b 100644 --- a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift +++ b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GreengrassClient: ClientRuntime.Client { public static let clientName = "GreengrassClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GreengrassClient.GreengrassClientConfiguration let serviceName = "Greengrass" diff --git a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift index ce77e5d892d..26a7202079e 100644 --- a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift +++ b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GreengrassV2Client: ClientRuntime.Client { public static let clientName = "GreengrassV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GreengrassV2Client.GreengrassV2ClientConfiguration let serviceName = "GreengrassV2" diff --git a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift index d7ce7c53830..766d662f804 100644 --- a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift +++ b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GroundStationClient: ClientRuntime.Client { public static let clientName = "GroundStationClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GroundStationClient.GroundStationClientConfiguration let serviceName = "GroundStation" diff --git a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift index d70796d292f..97153c5731f 100644 --- a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift +++ b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GuardDutyClient: ClientRuntime.Client { public static let clientName = "GuardDutyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GuardDutyClient.GuardDutyClientConfiguration let serviceName = "GuardDuty" diff --git a/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift b/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift index 2c04611cb86..cd4154376c1 100644 --- a/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift +++ b/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class HealthClient: ClientRuntime.Client { public static let clientName = "HealthClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: HealthClient.HealthClientConfiguration let serviceName = "Health" diff --git a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift index b5b8c5af0f1..5ae80c03793 100644 --- a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift +++ b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class HealthLakeClient: ClientRuntime.Client { public static let clientName = "HealthLakeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: HealthLakeClient.HealthLakeClientConfiguration let serviceName = "HealthLake" diff --git a/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift b/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift index a23a418000b..94a49b551e2 100644 --- a/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift +++ b/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IAMClient: ClientRuntime.Client { public static let clientName = "IAMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IAMClient.IAMClientConfiguration let serviceName = "IAM" diff --git a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift index c9075c37007..48dd66fa13e 100644 --- a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift +++ b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IVSRealTimeClient: ClientRuntime.Client { public static let clientName = "IVSRealTimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IVSRealTimeClient.IVSRealTimeClientConfiguration let serviceName = "IVS RealTime" diff --git a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift index 2108125fab7..32b96e42aba 100644 --- a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift +++ b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IdentitystoreClient: ClientRuntime.Client { public static let clientName = "IdentitystoreClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IdentitystoreClient.IdentitystoreClientConfiguration let serviceName = "identitystore" diff --git a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift index b5cf394eb59..f94d1587b9e 100644 --- a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift +++ b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ImagebuilderClient: ClientRuntime.Client { public static let clientName = "ImagebuilderClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ImagebuilderClient.ImagebuilderClientConfiguration let serviceName = "imagebuilder" diff --git a/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift b/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift index 9e88872c78f..a1c70f97679 100644 --- a/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift +++ b/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InspectorClient: ClientRuntime.Client { public static let clientName = "InspectorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: InspectorClient.InspectorClientConfiguration let serviceName = "Inspector" diff --git a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift index 99c4d55c9d5..6ef6333c41d 100644 --- a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift +++ b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Inspector2Client: ClientRuntime.Client { public static let clientName = "Inspector2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Inspector2Client.Inspector2ClientConfiguration let serviceName = "Inspector2" diff --git a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift index 6cce429d39f..9e094faba9b 100644 --- a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift +++ b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InspectorScanClient: ClientRuntime.Client { public static let clientName = "InspectorScanClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: InspectorScanClient.InspectorScanClientConfiguration let serviceName = "Inspector Scan" diff --git a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift index 060ab0c0d2c..b37271333ae 100644 --- a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift +++ b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InternetMonitorClient: ClientRuntime.Client { public static let clientName = "InternetMonitorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: InternetMonitorClient.InternetMonitorClientConfiguration let serviceName = "InternetMonitor" diff --git a/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift b/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift index 90ed5231d8b..2c7033b374a 100644 --- a/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift +++ b/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTClient: ClientRuntime.Client { public static let clientName = "IoTClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTClient.IoTClientConfiguration let serviceName = "IoT" @@ -841,6 +841,7 @@ extension IoTClient { builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachThingPrincipalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(AttachThingPrincipalInput.headerProvider(_:))) + builder.serialize(ClientRuntime.QueryItemMiddleware(AttachThingPrincipalInput.queryItemProvider(_:))) builder.deserialize(ClientRuntime.DeserializeMiddleware(AttachThingPrincipalOutput.httpOutput(from:), AttachThingPrincipalOutputError.httpError(from:))) builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) @@ -12992,6 +12993,79 @@ extension IoTClient { return try await op.execute(input: input) } + /// Performs the `ListPrincipalThingsV2` operation on the `AWSIotService` service. + /// + /// Lists the things associated with the specified principal. A principal can be an X.509 certificate or an Amazon Cognito ID. Requires permission to access the [ListPrincipalThings](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action. + /// + /// - Parameter ListPrincipalThingsV2Input : [no documentation found] + /// + /// - Returns: `ListPrincipalThingsV2Output` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalFailureException` : An unexpected error has occurred. + /// - `InvalidRequestException` : The request is not valid. + /// - `ResourceNotFoundException` : The specified resource does not exist. + /// - `ServiceUnavailableException` : The service is temporarily unavailable. + /// - `ThrottlingException` : The rate exceeds the limit. + /// - `UnauthorizedException` : You are not authorized to perform this operation. + public func listPrincipalThingsV2(input: ListPrincipalThingsV2Input) async throws -> ListPrincipalThingsV2Output { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listPrincipalThingsV2") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "iot") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListPrincipalThingsV2Input.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.HeaderMiddleware(ListPrincipalThingsV2Input.headerProvider(_:))) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListPrincipalThingsV2Input.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListPrincipalThingsV2Output.httpOutput(from:), ListPrincipalThingsV2OutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: IoTClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "IoT") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListPrincipalThingsV2") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `ListProvisioningTemplateVersions` operation on the `AWSIotService` service. /// /// A list of provisioning template versions. Requires permission to access the [ListProvisioningTemplateVersions](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action. @@ -14070,6 +14144,78 @@ extension IoTClient { return try await op.execute(input: input) } + /// Performs the `ListThingPrincipalsV2` operation on the `AWSIotService` service. + /// + /// Lists the principals associated with the specified thing. A principal can be an X.509 certificate or an Amazon Cognito ID. Requires permission to access the [ListThingPrincipals](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action. + /// + /// - Parameter ListThingPrincipalsV2Input : [no documentation found] + /// + /// - Returns: `ListThingPrincipalsV2Output` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalFailureException` : An unexpected error has occurred. + /// - `InvalidRequestException` : The request is not valid. + /// - `ResourceNotFoundException` : The specified resource does not exist. + /// - `ServiceUnavailableException` : The service is temporarily unavailable. + /// - `ThrottlingException` : The rate exceeds the limit. + /// - `UnauthorizedException` : You are not authorized to perform this operation. + public func listThingPrincipalsV2(input: ListThingPrincipalsV2Input) async throws -> ListThingPrincipalsV2Output { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listThingPrincipalsV2") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "iot") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListThingPrincipalsV2Input.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListThingPrincipalsV2Input.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListThingPrincipalsV2Output.httpOutput(from:), ListThingPrincipalsV2OutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: IoTClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "IoT") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListThingPrincipalsV2") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `ListThingRegistrationTaskReports` operation on the `AWSIotService` service. /// /// Information about the thing registration tasks. @@ -18599,6 +18745,80 @@ extension IoTClient { return try await op.execute(input: input) } + /// Performs the `UpdateThingType` operation on the `AWSIotService` service. + /// + /// Updates a thing type. + /// + /// - Parameter UpdateThingTypeInput : [no documentation found] + /// + /// - Returns: `UpdateThingTypeOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalFailureException` : An unexpected error has occurred. + /// - `InvalidRequestException` : The request is not valid. + /// - `ResourceNotFoundException` : The specified resource does not exist. + /// - `ServiceUnavailableException` : The service is temporarily unavailable. + /// - `ThrottlingException` : The rate exceeds the limit. + /// - `UnauthorizedException` : You are not authorized to perform this operation. + public func updateThingType(input: UpdateThingTypeInput) async throws -> UpdateThingTypeOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .patch) + .withServiceName(value: serviceName) + .withOperation(value: "updateThingType") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "iot") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateThingTypeInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateThingTypeInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateThingTypeOutput.httpOutput(from:), UpdateThingTypeOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: IoTClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "IoT") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateThingType") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `UpdateTopicRuleDestination` operation on the `AWSIotService` service. /// /// Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the destination. Requires permission to access the [UpdateTopicRuleDestination](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action. diff --git a/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift b/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift index 6c22e4bba19..cc7a87b6b9d 100644 --- a/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift +++ b/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift @@ -2812,6 +2812,35 @@ public struct AttachSecurityProfileOutput: Swift.Sendable { public init() { } } +extension IoTClientTypes { + + public enum ThingPrincipalType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case exclusiveThing + case nonExclusiveThing + case sdkUnknown(Swift.String) + + public static var allCases: [ThingPrincipalType] { + return [ + .exclusiveThing, + .nonExclusiveThing + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .exclusiveThing: return "EXCLUSIVE_THING" + case .nonExclusiveThing: return "NON_EXCLUSIVE_THING" + case let .sdkUnknown(s): return s + } + } + } +} + /// The input for the AttachThingPrincipal operation. public struct AttachThingPrincipalInput: Swift.Sendable { /// The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID. @@ -2820,14 +2849,25 @@ public struct AttachThingPrincipalInput: Swift.Sendable { /// The name of the thing. /// This member is required. public var thingName: Swift.String? + /// The type of the relation you want to specify when you attach a principal to a thing. + /// + /// * EXCLUSIVE_THING - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal. + /// + /// + /// + /// + /// * NON_EXCLUSIVE_THING - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal. + public var thingPrincipalType: IoTClientTypes.ThingPrincipalType? public init( principal: Swift.String? = nil, - thingName: Swift.String? = nil + thingName: Swift.String? = nil, + thingPrincipalType: IoTClientTypes.ThingPrincipalType? = nil ) { self.principal = principal self.thingName = thingName + self.thingPrincipalType = thingPrincipalType } } @@ -4743,14 +4783,22 @@ extension IoTClientTypes { /// The server certificate configuration. public struct ServerCertificateConfig: Swift.Sendable { - /// A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see [Configuring OCSP server-certificate stapling in domain configuration](https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-endpoints-cert-config.html) from Amazon Web Services IoT Core Developer Guide. + /// A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see [ Server certificate configuration for OCSP stapling](https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-endpoints-cert-config.html) from Amazon Web Services IoT Core Developer Guide. public var enableOCSPCheck: Swift.Bool? + /// The Amazon Resource Name (ARN) for an X.509 certificate stored in Amazon Web Services Certificate Manager (ACM). If provided, Amazon Web Services IoT Core will use this certificate to validate the signature of the received OCSP response. The OCSP responder must sign responses using either this authorized responder certificate or the issuing certificate, depending on whether the ARN is provided or not. The certificate must be in the same Amazon Web Services region and account as the domain configuration. + public var ocspAuthorizedResponderArn: Swift.String? + /// The Amazon Resource Name (ARN) for a Lambda function that acts as a Request for Comments (RFC) 6960-compliant Online Certificate Status Protocol (OCSP) responder, supporting basic OCSP responses. The Lambda function accepts a JSON string that's Base64-encoded. Therefore, you must convert your OCSP response, which is typically in the Distinguished Encoding Rules (DER) format, into a JSON string that's Base64-encoded. The Lambda function's response is also a Base64-encoded JSON string and the response payload must not exceed 8 kilobytes (KiB) in size. The Lambda function must be in the same Amazon Web Services region and account as the domain configuration. + public var ocspLambdaArn: Swift.String? public init( - enableOCSPCheck: Swift.Bool? = nil + enableOCSPCheck: Swift.Bool? = nil, + ocspAuthorizedResponderArn: Swift.String? = nil, + ocspLambdaArn: Swift.String? = nil ) { self.enableOCSPCheck = enableOCSPCheck + self.ocspAuthorizedResponderArn = ocspAuthorizedResponderArn + self.ocspLambdaArn = ocspLambdaArn } } } @@ -7589,20 +7637,64 @@ public struct CreateThingGroupOutput: Swift.Sendable { } } +extension IoTClientTypes { + + /// An object that represents the connection attribute, thing attribute, and the user property key. + public struct PropagatingAttribute: Swift.Sendable { + /// The attribute associated with the connection between a device and Amazon Web Services IoT Core. + public var connectionAttribute: Swift.String? + /// The user-defined thing attribute that is propagating for MQTT 5 message enrichment. + public var thingAttribute: Swift.String? + /// The key of the user property key-value pair. + public var userPropertyKey: Swift.String? + + public init( + connectionAttribute: Swift.String? = nil, + thingAttribute: Swift.String? = nil, + userPropertyKey: Swift.String? = nil + ) + { + self.connectionAttribute = connectionAttribute + self.thingAttribute = thingAttribute + self.userPropertyKey = userPropertyKey + } + } +} + +extension IoTClientTypes { + + /// The configuration to add user-defined properties to enrich MQTT 5 messages. + public struct Mqtt5Configuration: Swift.Sendable { + /// An object that represents the propagating thing attributes and the connection attributes. + public var propagatingAttributes: [IoTClientTypes.PropagatingAttribute]? + + public init( + propagatingAttributes: [IoTClientTypes.PropagatingAttribute]? = nil + ) + { + self.propagatingAttributes = propagatingAttributes + } + } +} + extension IoTClientTypes { /// The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names. public struct ThingTypeProperties: Swift.Sendable { + /// The configuration to add user-defined properties to enrich MQTT 5 messages. + public var mqtt5Configuration: IoTClientTypes.Mqtt5Configuration? /// A list of searchable thing attribute names. public var searchableAttributes: [Swift.String]? /// The description of the thing type. public var thingTypeDescription: Swift.String? public init( + mqtt5Configuration: IoTClientTypes.Mqtt5Configuration? = nil, searchableAttributes: [Swift.String]? = nil, thingTypeDescription: Swift.String? = nil ) { + self.mqtt5Configuration = mqtt5Configuration self.searchableAttributes = searchableAttributes self.thingTypeDescription = thingTypeDescription } @@ -11641,7 +11733,7 @@ public struct DescribeThingTypeOutput: Swift.Sendable { public var thingTypeMetadata: IoTClientTypes.ThingTypeMetadata? /// The name of the thing type. public var thingTypeName: Swift.String? - /// The ThingTypeProperties contains information about the thing type including description, and a list of searchable thing attribute names. + /// The ThingTypeProperties contains information about the thing type including description, a list of searchable thing attribute names, and MQTT5 configuration. public var thingTypeProperties: IoTClientTypes.ThingTypeProperties? public init( @@ -15341,6 +15433,82 @@ public struct ListPrincipalThingsOutput: Swift.Sendable { } } +public struct ListPrincipalThingsV2Input: Swift.Sendable { + /// The maximum number of results to return in this operation. + public var maxResults: Swift.Int? + /// To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results. + public var nextToken: Swift.String? + /// The principal. A principal can be an X.509 certificate or an Amazon Cognito ID. + /// This member is required. + public var principal: Swift.String? + /// The type of the relation you want to filter in the response. If no value is provided in this field, the response will list all things, including both the EXCLUSIVE_THING and NON_EXCLUSIVE_THING attachment types. + /// + /// * EXCLUSIVE_THING - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal. + /// + /// + /// + /// + /// * NON_EXCLUSIVE_THING - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal. + public var thingPrincipalType: IoTClientTypes.ThingPrincipalType? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + principal: Swift.String? = nil, + thingPrincipalType: IoTClientTypes.ThingPrincipalType? = nil + ) + { + self.maxResults = maxResults + self.nextToken = nextToken + self.principal = principal + self.thingPrincipalType = thingPrincipalType + } +} + +extension IoTClientTypes { + + /// An object that represents the thing and the type of relation it has with the principal. + public struct PrincipalThingObject: Swift.Sendable { + /// The name of the thing. + /// This member is required. + public var thingName: Swift.String? + /// The type of the relation you want to specify when you attach a principal to a thing. The value defaults to NON_EXCLUSIVE_THING. + /// + /// * EXCLUSIVE_THING - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal. + /// + /// + /// + /// + /// * NON_EXCLUSIVE_THING - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal. + public var thingPrincipalType: IoTClientTypes.ThingPrincipalType? + + public init( + thingName: Swift.String? = nil, + thingPrincipalType: IoTClientTypes.ThingPrincipalType? = nil + ) + { + self.thingName = thingName + self.thingPrincipalType = thingPrincipalType + } + } +} + +public struct ListPrincipalThingsV2Output: Swift.Sendable { + /// The token to use to get the next set of results, or null if there are no additional results. + public var nextToken: Swift.String? + /// A list of thingPrincipalObject that represents the principal and the type of relation it has with the thing. + public var principalThingObjects: [IoTClientTypes.PrincipalThingObject]? + + public init( + nextToken: Swift.String? = nil, + principalThingObjects: [IoTClientTypes.PrincipalThingObject]? = nil + ) + { + self.nextToken = nextToken + self.principalThingObjects = principalThingObjects + } +} + public struct ListProvisioningTemplatesInput: Swift.Sendable { /// The maximum number of results to return at one time. public var maxResults: Swift.Int? @@ -16174,6 +16342,82 @@ public struct ListThingPrincipalsOutput: Swift.Sendable { } } +public struct ListThingPrincipalsV2Input: Swift.Sendable { + /// The maximum number of results to return in this operation. + public var maxResults: Swift.Int? + /// To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results. + public var nextToken: Swift.String? + /// The name of the thing. + /// This member is required. + public var thingName: Swift.String? + /// The type of the relation you want to filter in the response. If no value is provided in this field, the response will list all principals, including both the EXCLUSIVE_THING and NON_EXCLUSIVE_THING attachment types. + /// + /// * EXCLUSIVE_THING - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal. + /// + /// + /// + /// + /// * NON_EXCLUSIVE_THING - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal. + public var thingPrincipalType: IoTClientTypes.ThingPrincipalType? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + thingName: Swift.String? = nil, + thingPrincipalType: IoTClientTypes.ThingPrincipalType? = nil + ) + { + self.maxResults = maxResults + self.nextToken = nextToken + self.thingName = thingName + self.thingPrincipalType = thingPrincipalType + } +} + +extension IoTClientTypes { + + /// An object that represents the principal and the type of relation it has with the thing. + public struct ThingPrincipalObject: Swift.Sendable { + /// The principal of the thing principal object. + /// This member is required. + public var principal: Swift.String? + /// The type of the relation you want to specify when you attach a principal to a thing. The value defaults to NON_EXCLUSIVE_THING. + /// + /// * EXCLUSIVE_THING - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal. + /// + /// + /// + /// + /// * NON_EXCLUSIVE_THING - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal. + public var thingPrincipalType: IoTClientTypes.ThingPrincipalType? + + public init( + principal: Swift.String? = nil, + thingPrincipalType: IoTClientTypes.ThingPrincipalType? = nil + ) + { + self.principal = principal + self.thingPrincipalType = thingPrincipalType + } + } +} + +public struct ListThingPrincipalsV2Output: Swift.Sendable { + /// The token to use to get the next set of results, or null if there are no additional results. + public var nextToken: Swift.String? + /// A list of thingPrincipalObject that represents the principal and the type of relation it has with the thing. + public var thingPrincipalObjects: [IoTClientTypes.ThingPrincipalObject]? + + public init( + nextToken: Swift.String? = nil, + thingPrincipalObjects: [IoTClientTypes.ThingPrincipalObject]? = nil + ) + { + self.nextToken = nextToken + self.thingPrincipalObjects = thingPrincipalObjects + } +} + extension IoTClientTypes { public enum ReportType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -19214,6 +19458,28 @@ public struct UpdateThingGroupsForThingOutput: Swift.Sendable { public init() { } } +public struct UpdateThingTypeInput: Swift.Sendable { + /// The name of a thing type. + /// This member is required. + public var thingTypeName: Swift.String? + /// The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names. + public var thingTypeProperties: IoTClientTypes.ThingTypeProperties? + + public init( + thingTypeName: Swift.String? = nil, + thingTypeProperties: IoTClientTypes.ThingTypeProperties? = nil + ) + { + self.thingTypeName = thingTypeName + self.thingTypeProperties = thingTypeProperties + } +} + +public struct UpdateThingTypeOutput: Swift.Sendable { + + public init() { } +} + public struct UpdateTopicRuleDestinationInput: Swift.Sendable { /// The ARN of the topic rule destination. /// This member is required. @@ -19441,6 +19707,18 @@ extension AttachThingPrincipalInput { } } +extension AttachThingPrincipalInput { + + static func queryItemProvider(_ value: AttachThingPrincipalInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let thingPrincipalType = value.thingPrincipalType { + let thingPrincipalTypeQueryItem = Smithy.URIQueryItem(name: "thingPrincipalType".urlPercentEncoding(), value: Swift.String(thingPrincipalType.rawValue).urlPercentEncoding()) + items.append(thingPrincipalTypeQueryItem) + } + return items + } +} + extension CancelAuditMitigationActionsTaskInput { static func urlPathProvider(_ value: CancelAuditMitigationActionsTaskInput) -> Swift.String? { @@ -22253,6 +22531,44 @@ extension ListPrincipalThingsInput { } } +extension ListPrincipalThingsV2Input { + + static func urlPathProvider(_ value: ListPrincipalThingsV2Input) -> Swift.String? { + return "/principals/things-v2" + } +} + +extension ListPrincipalThingsV2Input { + + static func headerProvider(_ value: ListPrincipalThingsV2Input) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let principal = value.principal { + items.add(SmithyHTTPAPI.Header(name: "x-amzn-principal", value: Swift.String(principal))) + } + return items + } +} + +extension ListPrincipalThingsV2Input { + + static func queryItemProvider(_ value: ListPrincipalThingsV2Input) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let thingPrincipalType = value.thingPrincipalType { + let thingPrincipalTypeQueryItem = Smithy.URIQueryItem(name: "thingPrincipalType".urlPercentEncoding(), value: Swift.String(thingPrincipalType.rawValue).urlPercentEncoding()) + items.append(thingPrincipalTypeQueryItem) + } + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + return items + } +} + extension ListProvisioningTemplatesInput { static func urlPathProvider(_ value: ListProvisioningTemplatesInput) -> Swift.String? { @@ -22669,6 +22985,36 @@ extension ListThingPrincipalsInput { } } +extension ListThingPrincipalsV2Input { + + static func urlPathProvider(_ value: ListThingPrincipalsV2Input) -> Swift.String? { + guard let thingName = value.thingName else { + return nil + } + return "/things/\(thingName.urlPercentEncoding())/principals-v2" + } +} + +extension ListThingPrincipalsV2Input { + + static func queryItemProvider(_ value: ListThingPrincipalsV2Input) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let thingPrincipalType = value.thingPrincipalType { + let thingPrincipalTypeQueryItem = Smithy.URIQueryItem(name: "thingPrincipalType".urlPercentEncoding(), value: Swift.String(thingPrincipalType.rawValue).urlPercentEncoding()) + items.append(thingPrincipalTypeQueryItem) + } + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + return items + } +} + extension ListThingRegistrationTaskReportsInput { static func urlPathProvider(_ value: ListThingRegistrationTaskReportsInput) -> Swift.String? { @@ -23590,6 +23936,16 @@ extension UpdateThingGroupsForThingInput { } } +extension UpdateThingTypeInput { + + static func urlPathProvider(_ value: UpdateThingTypeInput) -> Swift.String? { + guard let thingTypeName = value.thingTypeName else { + return nil + } + return "/thing-types/\(thingTypeName.urlPercentEncoding())" + } +} + extension UpdateTopicRuleDestinationInput { static func urlPathProvider(_ value: UpdateTopicRuleDestinationInput) -> Swift.String? { @@ -24639,6 +24995,14 @@ extension UpdateThingGroupsForThingInput { } } +extension UpdateThingTypeInput { + + static func write(value: UpdateThingTypeInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["thingTypeProperties"].write(value.thingTypeProperties, with: IoTClientTypes.ThingTypeProperties.write(value:to:)) + } +} + extension UpdateTopicRuleDestinationInput { static func write(value: UpdateTopicRuleDestinationInput?, to writer: SmithyJSON.Writer) throws { @@ -26804,6 +27168,19 @@ extension ListPrincipalThingsOutput { } } +extension ListPrincipalThingsV2Output { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPrincipalThingsV2Output { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListPrincipalThingsV2Output() + value.nextToken = try reader["nextToken"].readIfPresent() + value.principalThingObjects = try reader["principalThingObjects"].readListIfPresent(memberReadingClosure: IoTClientTypes.PrincipalThingObject.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension ListProvisioningTemplatesOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProvisioningTemplatesOutput { @@ -26999,6 +27376,19 @@ extension ListThingPrincipalsOutput { } } +extension ListThingPrincipalsV2Output { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingPrincipalsV2Output { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListThingPrincipalsV2Output() + value.nextToken = try reader["nextToken"].readIfPresent() + value.thingPrincipalObjects = try reader["thingPrincipalObjects"].readListIfPresent(memberReadingClosure: IoTClientTypes.ThingPrincipalObject.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension ListThingRegistrationTaskReportsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingRegistrationTaskReportsOutput { @@ -27663,6 +28053,13 @@ extension UpdateThingGroupsForThingOutput { } } +extension UpdateThingTypeOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThingTypeOutput { + return UpdateThingTypeOutput() + } +} + extension UpdateTopicRuleDestinationOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTopicRuleDestinationOutput { @@ -30929,6 +31326,25 @@ enum ListPrincipalThingsOutputError { } } +enum ListPrincipalThingsV2OutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalFailureException": return try InternalFailureException.makeError(baseError: baseError) + case "InvalidRequestException": return try InvalidRequestException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceUnavailableException": return try ServiceUnavailableException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListProvisioningTemplatesOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -31191,6 +31607,25 @@ enum ListThingPrincipalsOutputError { } } +enum ListThingPrincipalsV2OutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalFailureException": return try InternalFailureException.makeError(baseError: baseError) + case "InvalidRequestException": return try InvalidRequestException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceUnavailableException": return try ServiceUnavailableException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListThingRegistrationTaskReportsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -32323,6 +32758,25 @@ enum UpdateThingGroupsForThingOutputError { } } +enum UpdateThingTypeOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalFailureException": return try InternalFailureException.makeError(baseError: baseError) + case "InvalidRequestException": return try InvalidRequestException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceUnavailableException": return try ServiceUnavailableException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdateTopicRuleDestinationOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -33465,12 +33919,16 @@ extension IoTClientTypes.ServerCertificateConfig { static func write(value: IoTClientTypes.ServerCertificateConfig?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["enableOCSPCheck"].write(value.enableOCSPCheck) + try writer["ocspAuthorizedResponderArn"].write(value.ocspAuthorizedResponderArn) + try writer["ocspLambdaArn"].write(value.ocspLambdaArn) } static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.ServerCertificateConfig { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } var value = IoTClientTypes.ServerCertificateConfig() value.enableOCSPCheck = try reader["enableOCSPCheck"].readIfPresent() + value.ocspLambdaArn = try reader["ocspLambdaArn"].readIfPresent() + value.ocspAuthorizedResponderArn = try reader["ocspAuthorizedResponderArn"].readIfPresent() return value } } @@ -34124,6 +34582,7 @@ extension IoTClientTypes.ThingTypeProperties { static func write(value: IoTClientTypes.ThingTypeProperties?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["mqtt5Configuration"].write(value.mqtt5Configuration, with: IoTClientTypes.Mqtt5Configuration.write(value:to:)) try writer["searchableAttributes"].writeList(value.searchableAttributes, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["thingTypeDescription"].write(value.thingTypeDescription) } @@ -34133,6 +34592,41 @@ extension IoTClientTypes.ThingTypeProperties { var value = IoTClientTypes.ThingTypeProperties() value.thingTypeDescription = try reader["thingTypeDescription"].readIfPresent() value.searchableAttributes = try reader["searchableAttributes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.mqtt5Configuration = try reader["mqtt5Configuration"].readIfPresent(with: IoTClientTypes.Mqtt5Configuration.read(from:)) + return value + } +} + +extension IoTClientTypes.Mqtt5Configuration { + + static func write(value: IoTClientTypes.Mqtt5Configuration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["propagatingAttributes"].writeList(value.propagatingAttributes, memberWritingClosure: IoTClientTypes.PropagatingAttribute.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.Mqtt5Configuration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = IoTClientTypes.Mqtt5Configuration() + value.propagatingAttributes = try reader["propagatingAttributes"].readListIfPresent(memberReadingClosure: IoTClientTypes.PropagatingAttribute.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension IoTClientTypes.PropagatingAttribute { + + static func write(value: IoTClientTypes.PropagatingAttribute?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectionAttribute"].write(value.connectionAttribute) + try writer["thingAttribute"].write(value.thingAttribute) + try writer["userPropertyKey"].write(value.userPropertyKey) + } + + static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.PropagatingAttribute { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = IoTClientTypes.PropagatingAttribute() + value.userPropertyKey = try reader["userPropertyKey"].readIfPresent() + value.thingAttribute = try reader["thingAttribute"].readIfPresent() + value.connectionAttribute = try reader["connectionAttribute"].readIfPresent() return value } } @@ -35838,6 +36332,17 @@ extension IoTClientTypes.PolicyVersion { } } +extension IoTClientTypes.PrincipalThingObject { + + static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.PrincipalThingObject { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = IoTClientTypes.PrincipalThingObject() + value.thingName = try reader["thingName"].readIfPresent() ?? "" + value.thingPrincipalType = try reader["thingPrincipalType"].readIfPresent() + return value + } +} + extension IoTClientTypes.ProvisioningTemplateSummary { static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.ProvisioningTemplateSummary { @@ -35955,6 +36460,17 @@ extension IoTClientTypes.Tag { } } +extension IoTClientTypes.ThingPrincipalObject { + + static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.ThingPrincipalObject { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = IoTClientTypes.ThingPrincipalObject() + value.principal = try reader["principal"].readIfPresent() ?? "" + value.thingPrincipalType = try reader["thingPrincipalType"].readIfPresent() + return value + } +} + extension IoTClientTypes.ThingAttribute { static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.ThingAttribute { diff --git a/Sources/Services/AWSIoT/Sources/AWSIoT/Paginators.swift b/Sources/Services/AWSIoT/Sources/AWSIoT/Paginators.swift index 0caf32446c2..6cb455dda01 100644 --- a/Sources/Services/AWSIoT/Sources/AWSIoT/Paginators.swift +++ b/Sources/Services/AWSIoT/Sources/AWSIoT/Paginators.swift @@ -1135,6 +1135,38 @@ extension PaginatorSequence where OperationStackInput == ListPrincipalThingsInpu return try await self.asyncCompactMap { item in item.things } } } +extension IoTClient { + /// Paginate over `[ListPrincipalThingsV2Output]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListPrincipalThingsV2Input]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListPrincipalThingsV2Output` + public func listPrincipalThingsV2Paginated(input: ListPrincipalThingsV2Input) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listPrincipalThingsV2(input:)) + } +} + +extension ListPrincipalThingsV2Input: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListPrincipalThingsV2Input { + return ListPrincipalThingsV2Input( + maxResults: self.maxResults, + nextToken: token, + principal: self.principal, + thingPrincipalType: self.thingPrincipalType + )} +} + +extension PaginatorSequence where OperationStackInput == ListPrincipalThingsV2Input, OperationStackOutput == ListPrincipalThingsV2Output { + /// This paginator transforms the `AsyncSequence` returned by `listPrincipalThingsV2Paginated` + /// to access the nested member `[IoTClientTypes.PrincipalThingObject]` + /// - Returns: `[IoTClientTypes.PrincipalThingObject]` + public func principalThingObjects() async throws -> [IoTClientTypes.PrincipalThingObject] { + return try await self.asyncCompactMap { item in item.principalThingObjects } + } +} extension IoTClient { /// Paginate over `[ListProvisioningTemplatesOutput]` results. /// @@ -1603,6 +1635,38 @@ extension PaginatorSequence where OperationStackInput == ListThingPrincipalsInpu return try await self.asyncCompactMap { item in item.principals } } } +extension IoTClient { + /// Paginate over `[ListThingPrincipalsV2Output]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListThingPrincipalsV2Input]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListThingPrincipalsV2Output` + public func listThingPrincipalsV2Paginated(input: ListThingPrincipalsV2Input) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listThingPrincipalsV2(input:)) + } +} + +extension ListThingPrincipalsV2Input: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListThingPrincipalsV2Input { + return ListThingPrincipalsV2Input( + maxResults: self.maxResults, + nextToken: token, + thingName: self.thingName, + thingPrincipalType: self.thingPrincipalType + )} +} + +extension PaginatorSequence where OperationStackInput == ListThingPrincipalsV2Input, OperationStackOutput == ListThingPrincipalsV2Output { + /// This paginator transforms the `AsyncSequence` returned by `listThingPrincipalsV2Paginated` + /// to access the nested member `[IoTClientTypes.ThingPrincipalObject]` + /// - Returns: `[IoTClientTypes.ThingPrincipalObject]` + public func thingPrincipalObjects() async throws -> [IoTClientTypes.ThingPrincipalObject] { + return try await self.asyncCompactMap { item in item.thingPrincipalObjects } + } +} extension IoTClient { /// Paginate over `[ListThingRegistrationTaskReportsOutput]` results. /// diff --git a/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift b/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift index f547364eb09..bae9fb5dfb2 100644 --- a/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift +++ b/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoT1ClickDevicesClient: ClientRuntime.Client { public static let clientName = "IoT1ClickDevicesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoT1ClickDevicesClient.IoT1ClickDevicesClientConfiguration let serviceName = "IoT 1Click Devices" diff --git a/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift b/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift index cd73cfd511f..7887f235442 100644 --- a/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift +++ b/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoT1ClickProjectsClient: ClientRuntime.Client { public static let clientName = "IoT1ClickProjectsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoT1ClickProjectsClient.IoT1ClickProjectsClientConfiguration let serviceName = "IoT 1Click Projects" diff --git a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift index f49fb393352..1f2e6fc5eec 100644 --- a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift +++ b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTAnalyticsClient: ClientRuntime.Client { public static let clientName = "IoTAnalyticsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTAnalyticsClient.IoTAnalyticsClientConfiguration let serviceName = "IoTAnalytics" diff --git a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift index c07ac7be155..8221a0538de 100644 --- a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift +++ b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTDataPlaneClient: ClientRuntime.Client { public static let clientName = "IoTDataPlaneClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTDataPlaneClient.IoTDataPlaneClientConfiguration let serviceName = "IoT Data Plane" diff --git a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift index 9abe5bdc17e..c4db11e0e97 100644 --- a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift +++ b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTEventsClient: ClientRuntime.Client { public static let clientName = "IoTEventsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTEventsClient.IoTEventsClientConfiguration let serviceName = "IoT Events" diff --git a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift index 14daf2b76ce..62eef374108 100644 --- a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift +++ b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTEventsDataClient: ClientRuntime.Client { public static let clientName = "IoTEventsDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTEventsDataClient.IoTEventsDataClientConfiguration let serviceName = "IoT Events Data" diff --git a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift index 62c6e210a43..ae186ea800f 100644 --- a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift +++ b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTFleetHubClient: ClientRuntime.Client { public static let clientName = "IoTFleetHubClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTFleetHubClient.IoTFleetHubClientConfiguration let serviceName = "IoTFleetHub" diff --git a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift index 93c64b795e4..284808331a7 100644 --- a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift +++ b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTFleetWiseClient: ClientRuntime.Client { public static let clientName = "IoTFleetWiseClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTFleetWiseClient.IoTFleetWiseClientConfiguration let serviceName = "IoTFleetWise" diff --git a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift index 929f17e34a3..279840e402e 100644 --- a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift +++ b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTJobsDataPlaneClient: ClientRuntime.Client { public static let clientName = "IoTJobsDataPlaneClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTJobsDataPlaneClient.IoTJobsDataPlaneClientConfiguration let serviceName = "IoT Jobs Data Plane" diff --git a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift index ac42dddfe87..976e12dcdcf 100644 --- a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift +++ b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTSecureTunnelingClient: ClientRuntime.Client { public static let clientName = "IoTSecureTunnelingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTSecureTunnelingClient.IoTSecureTunnelingClientConfiguration let serviceName = "IoTSecureTunneling" diff --git a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift index ff6bd9e5eca..cbbe827d824 100644 --- a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift +++ b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTSiteWiseClient: ClientRuntime.Client { public static let clientName = "IoTSiteWiseClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTSiteWiseClient.IoTSiteWiseClientConfiguration let serviceName = "IoTSiteWise" diff --git a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift index ab8644146d1..4f5749091b9 100644 --- a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift +++ b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTThingsGraphClient: ClientRuntime.Client { public static let clientName = "IoTThingsGraphClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTThingsGraphClient.IoTThingsGraphClientConfiguration let serviceName = "IoTThingsGraph" diff --git a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift index 65d40216cb8..6706d37b202 100644 --- a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift +++ b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTTwinMakerClient: ClientRuntime.Client { public static let clientName = "IoTTwinMakerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTTwinMakerClient.IoTTwinMakerClientConfiguration let serviceName = "IoTTwinMaker" diff --git a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift index f00e8047079..d68cce9306f 100644 --- a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift +++ b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTWirelessClient: ClientRuntime.Client { public static let clientName = "IoTWirelessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTWirelessClient.IoTWirelessClientConfiguration let serviceName = "IoT Wireless" diff --git a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift index d58ce67fba3..c6da73e5d23 100644 --- a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift +++ b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IotDeviceAdvisorClient: ClientRuntime.Client { public static let clientName = "IotDeviceAdvisorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IotDeviceAdvisorClient.IotDeviceAdvisorClientConfiguration let serviceName = "IotDeviceAdvisor" diff --git a/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift b/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift index abc6ba4b63f..a37f7d9b311 100644 --- a/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift +++ b/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IvsClient: ClientRuntime.Client { public static let clientName = "IvsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IvsClient.IvsClientConfiguration let serviceName = "ivs" diff --git a/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift b/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift index 4cc1a03f25e..e3ac8bfd517 100644 --- a/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift +++ b/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IvschatClient: ClientRuntime.Client { public static let clientName = "IvschatClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IvschatClient.IvschatClientConfiguration let serviceName = "ivschat" diff --git a/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift b/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift index 7ab195c3703..755a3bdac92 100644 --- a/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift +++ b/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KMSClient: ClientRuntime.Client { public static let clientName = "KMSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KMSClient.KMSClientConfiguration let serviceName = "KMS" diff --git a/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift b/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift index 8edd3ebdf47..3852d442a17 100644 --- a/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift +++ b/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KafkaClient: ClientRuntime.Client { public static let clientName = "KafkaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KafkaClient.KafkaClientConfiguration let serviceName = "Kafka" diff --git a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift index 82ca103f088..40a9884450b 100644 --- a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift +++ b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KafkaConnectClient: ClientRuntime.Client { public static let clientName = "KafkaConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KafkaConnectClient.KafkaConnectClientConfiguration let serviceName = "KafkaConnect" diff --git a/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift b/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift index 761a3e06ef0..b0f628404af 100644 --- a/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift +++ b/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KendraClient: ClientRuntime.Client { public static let clientName = "KendraClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KendraClient.KendraClientConfiguration let serviceName = "kendra" diff --git a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift index ee679edbe22..ef745579cbd 100644 --- a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift +++ b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KendraRankingClient: ClientRuntime.Client { public static let clientName = "KendraRankingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KendraRankingClient.KendraRankingClientConfiguration let serviceName = "Kendra Ranking" diff --git a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift index d0bea3e5a6c..d1f23afd19e 100644 --- a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift +++ b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KeyspacesClient: ClientRuntime.Client { public static let clientName = "KeyspacesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KeyspacesClient.KeyspacesClientConfiguration let serviceName = "Keyspaces" diff --git a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift index 3dd75c1d7c2..cd1a9312a8b 100644 --- a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift +++ b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisClient: ClientRuntime.Client { public static let clientName = "KinesisClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisClient.KinesisClientConfiguration let serviceName = "Kinesis" diff --git a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift index 7a1e1cc3cd8..93d85872742 100644 --- a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift +++ b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisAnalyticsClient: ClientRuntime.Client { public static let clientName = "KinesisAnalyticsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisAnalyticsClient.KinesisAnalyticsClientConfiguration let serviceName = "Kinesis Analytics" diff --git a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift index 802e299c76c..eaacfa974e7 100644 --- a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift +++ b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisAnalyticsV2Client: ClientRuntime.Client { public static let clientName = "KinesisAnalyticsV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisAnalyticsV2Client.KinesisAnalyticsV2ClientConfiguration let serviceName = "Kinesis Analytics V2" diff --git a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift index eb1cda3d831..ba3ae317553 100644 --- a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift +++ b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoClient: ClientRuntime.Client { public static let clientName = "KinesisVideoClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoClient.KinesisVideoClientConfiguration let serviceName = "Kinesis Video" diff --git a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift index 4838c6e166d..4a8caff3f05 100644 --- a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift +++ b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoArchivedMediaClient: ClientRuntime.Client { public static let clientName = "KinesisVideoArchivedMediaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoArchivedMediaClient.KinesisVideoArchivedMediaClientConfiguration let serviceName = "Kinesis Video Archived Media" diff --git a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift index d6749c09c56..2493e29dc57 100644 --- a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift +++ b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoMediaClient: ClientRuntime.Client { public static let clientName = "KinesisVideoMediaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoMediaClient.KinesisVideoMediaClientConfiguration let serviceName = "Kinesis Video Media" diff --git a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift index 2d6ac0e706c..85db5c1594f 100644 --- a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift +++ b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoSignalingClient: ClientRuntime.Client { public static let clientName = "KinesisVideoSignalingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoSignalingClient.KinesisVideoSignalingClientConfiguration let serviceName = "Kinesis Video Signaling" diff --git a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift index d10d0dbf611..9bb476b6cea 100644 --- a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift +++ b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoWebRTCStorageClient: ClientRuntime.Client { public static let clientName = "KinesisVideoWebRTCStorageClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoWebRTCStorageClient.KinesisVideoWebRTCStorageClientConfiguration let serviceName = "Kinesis Video WebRTC Storage" diff --git a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift index 032e5ab260c..0fec5cc5c5a 100644 --- a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift +++ b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LakeFormationClient: ClientRuntime.Client { public static let clientName = "LakeFormationClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LakeFormationClient.LakeFormationClientConfiguration let serviceName = "LakeFormation" diff --git a/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift b/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift index cdf70948fca..52d18679829 100644 --- a/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift +++ b/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LambdaClient: ClientRuntime.Client { public static let clientName = "LambdaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LambdaClient.LambdaClientConfiguration let serviceName = "Lambda" diff --git a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift index c61483a0d0b..97c3c705f8e 100644 --- a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift +++ b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LaunchWizardClient: ClientRuntime.Client { public static let clientName = "LaunchWizardClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LaunchWizardClient.LaunchWizardClientConfiguration let serviceName = "Launch Wizard" diff --git a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift index ee5e8fb6267..61da73498dc 100644 --- a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift +++ b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexModelBuildingClient: ClientRuntime.Client { public static let clientName = "LexModelBuildingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LexModelBuildingClient.LexModelBuildingClientConfiguration let serviceName = "Lex Model Building" diff --git a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift index 33cd04b53a9..d47a22c06fa 100644 --- a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift +++ b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexModelsV2Client: ClientRuntime.Client { public static let clientName = "LexModelsV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LexModelsV2Client.LexModelsV2ClientConfiguration let serviceName = "Lex Models V2" diff --git a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift index 383cba185d2..c0ff4de35ac 100644 --- a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift +++ b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexRuntimeClient: ClientRuntime.Client { public static let clientName = "LexRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LexRuntimeClient.LexRuntimeClientConfiguration let serviceName = "Lex Runtime" diff --git a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift index 70f1b913f35..446c0d936a5 100644 --- a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift +++ b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexRuntimeV2Client: ClientRuntime.Client { public static let clientName = "LexRuntimeV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LexRuntimeV2Client.LexRuntimeV2ClientConfiguration let serviceName = "Lex Runtime V2" diff --git a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift index bf7bc425108..6d0786182c0 100644 --- a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift +++ b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerClient: ClientRuntime.Client { public static let clientName = "LicenseManagerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerClient.LicenseManagerClientConfiguration let serviceName = "License Manager" diff --git a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift index ac2e766952d..d3f079a2ab6 100644 --- a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift +++ b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerLinuxSubscriptionsClient: ClientRuntime.Client { public static let clientName = "LicenseManagerLinuxSubscriptionsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerLinuxSubscriptionsClient.LicenseManagerLinuxSubscriptionsClientConfiguration let serviceName = "License Manager Linux Subscriptions" diff --git a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift index 8e710e9557d..1cfcf3b0a99 100644 --- a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift +++ b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerUserSubscriptionsClient: ClientRuntime.Client { public static let clientName = "LicenseManagerUserSubscriptionsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerUserSubscriptionsClient.LicenseManagerUserSubscriptionsClientConfiguration let serviceName = "License Manager User Subscriptions" diff --git a/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift b/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift index d24a0cfc05d..33ad0961354 100644 --- a/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift +++ b/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LightsailClient: ClientRuntime.Client { public static let clientName = "LightsailClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LightsailClient.LightsailClientConfiguration let serviceName = "Lightsail" diff --git a/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift b/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift index ecc80b0f16e..91ce118feec 100644 --- a/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift +++ b/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LocationClient: ClientRuntime.Client { public static let clientName = "LocationClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LocationClient.LocationClientConfiguration let serviceName = "Location" diff --git a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift index 70d2900b526..ed90e9ee145 100644 --- a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift +++ b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutEquipmentClient: ClientRuntime.Client { public static let clientName = "LookoutEquipmentClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LookoutEquipmentClient.LookoutEquipmentClientConfiguration let serviceName = "LookoutEquipment" diff --git a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift index fa661b5ab36..f303d512848 100644 --- a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift +++ b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutMetricsClient: ClientRuntime.Client { public static let clientName = "LookoutMetricsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LookoutMetricsClient.LookoutMetricsClientConfiguration let serviceName = "LookoutMetrics" diff --git a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift index c51678f7e54..112fd6874de 100644 --- a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift +++ b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutVisionClient: ClientRuntime.Client { public static let clientName = "LookoutVisionClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LookoutVisionClient.LookoutVisionClientConfiguration let serviceName = "LookoutVision" diff --git a/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift b/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift index 193ac4565b4..fbabbfe32b9 100644 --- a/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift +++ b/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class M2Client: ClientRuntime.Client { public static let clientName = "M2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: M2Client.M2ClientConfiguration let serviceName = "m2" diff --git a/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift b/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift index deb1c1b2835..2888fa9eec1 100644 --- a/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift +++ b/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MTurkClient: ClientRuntime.Client { public static let clientName = "MTurkClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MTurkClient.MTurkClientConfiguration let serviceName = "MTurk" diff --git a/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift b/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift index 74c17fa3f4b..8779c4567a3 100644 --- a/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift +++ b/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MWAAClient: ClientRuntime.Client { public static let clientName = "MWAAClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MWAAClient.MWAAClientConfiguration let serviceName = "MWAA" diff --git a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift index e360fe0c047..f8057c1adc4 100644 --- a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift +++ b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MachineLearningClient: ClientRuntime.Client { public static let clientName = "MachineLearningClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MachineLearningClient.MachineLearningClientConfiguration let serviceName = "Machine Learning" diff --git a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift index a1a85dbf6ba..42c9ac478d6 100644 --- a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift +++ b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Macie2Client: ClientRuntime.Client { public static let clientName = "Macie2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Macie2Client.Macie2ClientConfiguration let serviceName = "Macie2" diff --git a/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift b/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift index c56aba5c5dc..2df9f861705 100644 --- a/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift +++ b/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MailManagerClient: ClientRuntime.Client { public static let clientName = "MailManagerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MailManagerClient.MailManagerClientConfiguration let serviceName = "MailManager" diff --git a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift index a803431f28a..09303dab847 100644 --- a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift +++ b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ManagedBlockchainClient: ClientRuntime.Client { public static let clientName = "ManagedBlockchainClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ManagedBlockchainClient.ManagedBlockchainClientConfiguration let serviceName = "ManagedBlockchain" diff --git a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift index 7031a9f3d55..75584496f01 100644 --- a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift +++ b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ManagedBlockchainQueryClient: ClientRuntime.Client { public static let clientName = "ManagedBlockchainQueryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ManagedBlockchainQueryClient.ManagedBlockchainQueryClientConfiguration let serviceName = "ManagedBlockchain Query" diff --git a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift index ef7e1e72850..6e726d6535d 100644 --- a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift +++ b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceAgreementClient: ClientRuntime.Client { public static let clientName = "MarketplaceAgreementClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceAgreementClient.MarketplaceAgreementClientConfiguration let serviceName = "Marketplace Agreement" diff --git a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift index 8799e0f97a0..bb779207f94 100644 --- a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift +++ b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceCatalogClient: ClientRuntime.Client { public static let clientName = "MarketplaceCatalogClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceCatalogClient.MarketplaceCatalogClientConfiguration let serviceName = "Marketplace Catalog" diff --git a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift index 5bb99c48c44..970ba86f39d 100644 --- a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift +++ b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceCommerceAnalyticsClient: ClientRuntime.Client { public static let clientName = "MarketplaceCommerceAnalyticsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceCommerceAnalyticsClient.MarketplaceCommerceAnalyticsClientConfiguration let serviceName = "Marketplace Commerce Analytics" diff --git a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift index 0cd4f4da72b..113658ed71e 100644 --- a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift +++ b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceDeploymentClient: ClientRuntime.Client { public static let clientName = "MarketplaceDeploymentClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceDeploymentClient.MarketplaceDeploymentClientConfiguration let serviceName = "Marketplace Deployment" diff --git a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift index 42cb9655d36..0c94bc89e7e 100644 --- a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift +++ b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceEntitlementClient: ClientRuntime.Client { public static let clientName = "MarketplaceEntitlementClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceEntitlementClient.MarketplaceEntitlementClientConfiguration let serviceName = "Marketplace Entitlement" diff --git a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift index aca1960824a..e9a0d882dfc 100644 --- a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift +++ b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceMeteringClient: ClientRuntime.Client { public static let clientName = "MarketplaceMeteringClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceMeteringClient.MarketplaceMeteringClientConfiguration let serviceName = "Marketplace Metering" diff --git a/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift b/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift index a396633f297..fb5d4653d7b 100644 --- a/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift +++ b/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceReportingClient: ClientRuntime.Client { public static let clientName = "MarketplaceReportingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceReportingClient.MarketplaceReportingClientConfiguration let serviceName = "Marketplace Reporting" diff --git a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift index 4570766d062..1328855a4ad 100644 --- a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift +++ b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaConnectClient: ClientRuntime.Client { public static let clientName = "MediaConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaConnectClient.MediaConnectClientConfiguration let serviceName = "MediaConnect" diff --git a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift index 662f36a8648..c77c61c7752 100644 --- a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift +++ b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaConvertClient: ClientRuntime.Client { public static let clientName = "MediaConvertClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaConvertClient.MediaConvertClientConfiguration let serviceName = "MediaConvert" diff --git a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift index 3a5f85f3dc0..3e4e1ba609a 100644 --- a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift +++ b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaLiveClient: ClientRuntime.Client { public static let clientName = "MediaLiveClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaLiveClient.MediaLiveClientConfiguration let serviceName = "MediaLive" diff --git a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift index 9af98f56e9d..1f52b6bb234 100644 --- a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift +++ b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageClient: ClientRuntime.Client { public static let clientName = "MediaPackageClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaPackageClient.MediaPackageClientConfiguration let serviceName = "MediaPackage" diff --git a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift index 9507f41b3e3..90d05f12ce8 100644 --- a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift +++ b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageV2Client: ClientRuntime.Client { public static let clientName = "MediaPackageV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaPackageV2Client.MediaPackageV2ClientConfiguration let serviceName = "MediaPackageV2" diff --git a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift index 8ea66885e9c..78a030361dc 100644 --- a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift +++ b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageVodClient: ClientRuntime.Client { public static let clientName = "MediaPackageVodClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaPackageVodClient.MediaPackageVodClientConfiguration let serviceName = "MediaPackage Vod" diff --git a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift index f7d75db9d16..5dcc3ca3b6d 100644 --- a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift +++ b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaStoreClient: ClientRuntime.Client { public static let clientName = "MediaStoreClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaStoreClient.MediaStoreClientConfiguration let serviceName = "MediaStore" diff --git a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift index fc17cf0bb40..de27e778b6a 100644 --- a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift +++ b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaStoreDataClient: ClientRuntime.Client { public static let clientName = "MediaStoreDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaStoreDataClient.MediaStoreDataClientConfiguration let serviceName = "MediaStore Data" diff --git a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift index e17c3c0a2c6..f396f7ee29c 100644 --- a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift +++ b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaTailorClient: ClientRuntime.Client { public static let clientName = "MediaTailorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaTailorClient.MediaTailorClientConfiguration let serviceName = "MediaTailor" diff --git a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift index f0eb70c4fa5..51c3a76a25b 100644 --- a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift +++ b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MedicalImagingClient: ClientRuntime.Client { public static let clientName = "MedicalImagingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MedicalImagingClient.MedicalImagingClientConfiguration let serviceName = "Medical Imaging" diff --git a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift index 7a92d3046c4..365cbc3d907 100644 --- a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift +++ b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MemoryDBClient: ClientRuntime.Client { public static let clientName = "MemoryDBClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MemoryDBClient.MemoryDBClientConfiguration let serviceName = "MemoryDB" diff --git a/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift b/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift index c5378e40227..fc647d6238f 100644 --- a/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift +++ b/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MgnClient: ClientRuntime.Client { public static let clientName = "MgnClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MgnClient.MgnClientConfiguration let serviceName = "mgn" diff --git a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift index 840402ff78d..168a78933c3 100644 --- a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift +++ b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubClient: ClientRuntime.Client { public static let clientName = "MigrationHubClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MigrationHubClient.MigrationHubClientConfiguration let serviceName = "Migration Hub" diff --git a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift index 0719bb68844..9eaba3dfa48 100644 --- a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift +++ b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubConfigClient: ClientRuntime.Client { public static let clientName = "MigrationHubConfigClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MigrationHubConfigClient.MigrationHubConfigClientConfiguration let serviceName = "MigrationHub Config" diff --git a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift index 806808a69c2..5b721c86306 100644 --- a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift +++ b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubOrchestratorClient: ClientRuntime.Client { public static let clientName = "MigrationHubOrchestratorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MigrationHubOrchestratorClient.MigrationHubOrchestratorClientConfiguration let serviceName = "MigrationHubOrchestrator" diff --git a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift index d6a9bf75261..98d954cf1f2 100644 --- a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift +++ b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubRefactorSpacesClient: ClientRuntime.Client { public static let clientName = "MigrationHubRefactorSpacesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MigrationHubRefactorSpacesClient.MigrationHubRefactorSpacesClientConfiguration let serviceName = "Migration Hub Refactor Spaces" diff --git a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift index 310c78a7dd8..824e486ea5a 100644 --- a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift +++ b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubStrategyClient: ClientRuntime.Client { public static let clientName = "MigrationHubStrategyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MigrationHubStrategyClient.MigrationHubStrategyClientConfiguration let serviceName = "MigrationHubStrategy" diff --git a/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift b/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift index d620c7b1a01..fcccaa137a5 100644 --- a/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift +++ b/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MqClient: ClientRuntime.Client { public static let clientName = "MqClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MqClient.MqClientConfiguration let serviceName = "mq" diff --git a/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift b/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift index a33f2336cc9..b9a0ef15977 100644 --- a/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift +++ b/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptuneClient: ClientRuntime.Client { public static let clientName = "NeptuneClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NeptuneClient.NeptuneClientConfiguration let serviceName = "Neptune" diff --git a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift index 1e911e2d3b0..7b86f0503cb 100644 --- a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift +++ b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptuneGraphClient: ClientRuntime.Client { public static let clientName = "NeptuneGraphClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NeptuneGraphClient.NeptuneGraphClientConfiguration let serviceName = "Neptune Graph" diff --git a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift index 365a104469f..ddaa9eac745 100644 --- a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift +++ b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptunedataClient: ClientRuntime.Client { public static let clientName = "NeptunedataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NeptunedataClient.NeptunedataClientConfiguration let serviceName = "neptunedata" diff --git a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift index 47252a42759..5b8e570040e 100644 --- a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift +++ b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkFirewallClient: ClientRuntime.Client { public static let clientName = "NetworkFirewallClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NetworkFirewallClient.NetworkFirewallClientConfiguration let serviceName = "Network Firewall" diff --git a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift index eb012bd042e..0009ec97973 100644 --- a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift +++ b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkManagerClient: ClientRuntime.Client { public static let clientName = "NetworkManagerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NetworkManagerClient.NetworkManagerClientConfiguration let serviceName = "NetworkManager" diff --git a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift index 11e898dbb65..cd57bcba010 100644 --- a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift +++ b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkMonitorClient: ClientRuntime.Client { public static let clientName = "NetworkMonitorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NetworkMonitorClient.NetworkMonitorClientConfiguration let serviceName = "NetworkMonitor" diff --git a/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift b/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift index 458ebd8a995..0a5fdc53753 100644 --- a/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift +++ b/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OAMClient: ClientRuntime.Client { public static let clientName = "OAMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OAMClient.OAMClientConfiguration let serviceName = "OAM" diff --git a/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift b/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift index 922d5bd1a3d..5a9a636e1df 100644 --- a/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift +++ b/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OSISClient: ClientRuntime.Client { public static let clientName = "OSISClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OSISClient.OSISClientConfiguration let serviceName = "OSIS" diff --git a/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift b/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift index ed1d4e4c053..d87ca3710d8 100644 --- a/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift +++ b/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift @@ -70,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OmicsClient: ClientRuntime.Client { public static let clientName = "OmicsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OmicsClient.OmicsClientConfiguration let serviceName = "Omics" diff --git a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift index 0b4813c8fe9..586207d355f 100644 --- a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift +++ b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpenSearchClient: ClientRuntime.Client { public static let clientName = "OpenSearchClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OpenSearchClient.OpenSearchClientConfiguration let serviceName = "OpenSearch" diff --git a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift index 9da1acb0296..4781e0946f4 100644 --- a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift +++ b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpenSearchServerlessClient: ClientRuntime.Client { public static let clientName = "OpenSearchServerlessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OpenSearchServerlessClient.OpenSearchServerlessClientConfiguration let serviceName = "OpenSearchServerless" diff --git a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift index 26803ec0398..a4e449bbf31 100644 --- a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift +++ b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpsWorksClient: ClientRuntime.Client { public static let clientName = "OpsWorksClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OpsWorksClient.OpsWorksClientConfiguration let serviceName = "OpsWorks" diff --git a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift index fb880061f6a..15ffebb15a7 100644 --- a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift +++ b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpsWorksCMClient: ClientRuntime.Client { public static let clientName = "OpsWorksCMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OpsWorksCMClient.OpsWorksCMClientConfiguration let serviceName = "OpsWorksCM" diff --git a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift index e3a00e3a5f1..bd61251e8a7 100644 --- a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift +++ b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OrganizationsClient: ClientRuntime.Client { public static let clientName = "OrganizationsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OrganizationsClient.OrganizationsClientConfiguration let serviceName = "Organizations" diff --git a/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift b/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift index d5ab55ae535..66aeb5cd7a4 100644 --- a/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift +++ b/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift @@ -1021,12 +1021,14 @@ extension OutpostsClientTypes { extension OutpostsClientTypes { public enum PaymentTerm: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case fiveYears case oneYear case threeYears case sdkUnknown(Swift.String) public static var allCases: [PaymentTerm] { return [ + .fiveYears, .oneYear, .threeYears ] @@ -1039,6 +1041,7 @@ extension OutpostsClientTypes { public var rawValue: Swift.String { switch self { + case .fiveYears: return "FIVE_YEARS" case .oneYear: return "ONE_YEAR" case .threeYears: return "THREE_YEARS" case let .sdkUnknown(s): return s diff --git a/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift b/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift index 56c864dacc1..1cafa1336aa 100644 --- a/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift +++ b/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OutpostsClient: ClientRuntime.Client { public static let clientName = "OutpostsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OutpostsClient.OutpostsClientConfiguration let serviceName = "Outposts" diff --git a/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift b/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift index 4679d9a83cd..f0a5d576d17 100644 --- a/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift +++ b/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PCSClient: ClientRuntime.Client { public static let clientName = "PCSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PCSClient.PCSClientConfiguration let serviceName = "PCS" diff --git a/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift b/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift index b88debe8adb..a865d621c18 100644 --- a/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift +++ b/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PIClient: ClientRuntime.Client { public static let clientName = "PIClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PIClient.PIClientConfiguration let serviceName = "PI" diff --git a/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift b/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift index 5248ee6da8b..2f958ed2277 100644 --- a/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift +++ b/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PanoramaClient: ClientRuntime.Client { public static let clientName = "PanoramaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PanoramaClient.PanoramaClientConfiguration let serviceName = "Panorama" diff --git a/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift b/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift index b6e1bf9fef8..293ea5ab102 100644 --- a/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift +++ b/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PartnerCentralSellingClient: ClientRuntime.Client { public static let clientName = "PartnerCentralSellingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PartnerCentralSellingClient.PartnerCentralSellingClientConfiguration let serviceName = "PartnerCentral Selling" diff --git a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift index de8f6a95479..162bac800ac 100644 --- a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift +++ b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PaymentCryptographyClient: ClientRuntime.Client { public static let clientName = "PaymentCryptographyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PaymentCryptographyClient.PaymentCryptographyClientConfiguration let serviceName = "Payment Cryptography" diff --git a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift index ccaad9ec117..f79bbefce55 100644 --- a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift +++ b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PaymentCryptographyDataClient: ClientRuntime.Client { public static let clientName = "PaymentCryptographyDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PaymentCryptographyDataClient.PaymentCryptographyDataClientConfiguration let serviceName = "Payment Cryptography Data" diff --git a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift index 3c7b538915b..8c12eeeefa7 100644 --- a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift +++ b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PcaConnectorAdClient: ClientRuntime.Client { public static let clientName = "PcaConnectorAdClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PcaConnectorAdClient.PcaConnectorAdClientConfiguration let serviceName = "Pca Connector Ad" diff --git a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift index 258ee843428..3bb8d2a4640 100644 --- a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift +++ b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PcaConnectorScepClient: ClientRuntime.Client { public static let clientName = "PcaConnectorScepClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PcaConnectorScepClient.PcaConnectorScepClientConfiguration let serviceName = "Pca Connector Scep" diff --git a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift index 316cd52e9b0..f7ac1b03bc8 100644 --- a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift +++ b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeClient: ClientRuntime.Client { public static let clientName = "PersonalizeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PersonalizeClient.PersonalizeClientConfiguration let serviceName = "Personalize" diff --git a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift index 2af24486ff5..296c1a277d2 100644 --- a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift +++ b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeEventsClient: ClientRuntime.Client { public static let clientName = "PersonalizeEventsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PersonalizeEventsClient.PersonalizeEventsClientConfiguration let serviceName = "Personalize Events" diff --git a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift index c2c959663f8..1e8a4de0fd0 100644 --- a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift +++ b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeRuntimeClient: ClientRuntime.Client { public static let clientName = "PersonalizeRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PersonalizeRuntimeClient.PersonalizeRuntimeClientConfiguration let serviceName = "Personalize Runtime" diff --git a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift index d0352982c2f..21760265ac8 100644 --- a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift +++ b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointClient: ClientRuntime.Client { public static let clientName = "PinpointClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PinpointClient.PinpointClientConfiguration let serviceName = "Pinpoint" diff --git a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift index 4804fb99cd5..1ddce5f333c 100644 --- a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift +++ b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointEmailClient: ClientRuntime.Client { public static let clientName = "PinpointEmailClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PinpointEmailClient.PinpointEmailClientConfiguration let serviceName = "Pinpoint Email" diff --git a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift index 6cbc4c714c4..d80fd5c6944 100644 --- a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift +++ b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointSMSVoiceClient: ClientRuntime.Client { public static let clientName = "PinpointSMSVoiceClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PinpointSMSVoiceClient.PinpointSMSVoiceClientConfiguration let serviceName = "Pinpoint SMS Voice" diff --git a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift index 0851cc786a0..f6f01b76858 100644 --- a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift +++ b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift @@ -216,6 +216,7 @@ extension PinpointSMSVoiceV2ClientTypes { case createRegistrationVersionNotAllowed case deletionProtectionEnabled case destinationCountryBlockedByProtectConfiguration + case destinationPhoneNumberBlockedByProtectNumberOverride case destinationPhoneNumberNotVerified case destinationPhoneNumberOptedOut case disassociateRegistrationNotAllowed @@ -255,6 +256,7 @@ extension PinpointSMSVoiceV2ClientTypes { .createRegistrationVersionNotAllowed, .deletionProtectionEnabled, .destinationCountryBlockedByProtectConfiguration, + .destinationPhoneNumberBlockedByProtectNumberOverride, .destinationPhoneNumberNotVerified, .destinationPhoneNumberOptedOut, .disassociateRegistrationNotAllowed, @@ -300,6 +302,7 @@ extension PinpointSMSVoiceV2ClientTypes { case .createRegistrationVersionNotAllowed: return "CREATE_REGISTRATION_VERSION_NOT_ALLOWED" case .deletionProtectionEnabled: return "DELETION_PROTECTION_ENABLED" case .destinationCountryBlockedByProtectConfiguration: return "DESTINATION_COUNTRY_BLOCKED_BY_PROTECT_CONFIGURATION" + case .destinationPhoneNumberBlockedByProtectNumberOverride: return "DESTINATION_PHONE_NUMBER_BLOCKED_BY_PROTECT_NUMBER_OVERRIDE" case .destinationPhoneNumberNotVerified: return "DESTINATION_PHONE_NUMBER_NOT_VERIFIED" case .destinationPhoneNumberOptedOut: return "DESTINATION_PHONE_NUMBER_OPTED_OUT" case .disassociateRegistrationNotAllowed: return "DISASSOCIATE_REGISTRATION_NOT_ALLOWED" @@ -345,6 +348,7 @@ extension PinpointSMSVoiceV2ClientTypes { case configurationSet case eventDestination case keyword + case message case optedOutNumber case optOutList case phoneNumber @@ -363,6 +367,7 @@ extension PinpointSMSVoiceV2ClientTypes { .configurationSet, .eventDestination, .keyword, + .message, .optedOutNumber, .optOutList, .phoneNumber, @@ -387,6 +392,7 @@ extension PinpointSMSVoiceV2ClientTypes { case .configurationSet: return "configuration-set" case .eventDestination: return "event-destination" case .keyword: return "keyword" + case .message: return "message" case .optedOutNumber: return "opted-out-number" case .optOutList: return "opt-out-list" case .phoneNumber: return "phone-number" @@ -1027,6 +1033,7 @@ extension PinpointSMSVoiceV2ClientTypes { extension PinpointSMSVoiceV2ClientTypes { public enum ConfigurationSetFilterName: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case defaultMessageFeedbackEnabled case defaultMessageType case defaultSenderId case eventDestinationName @@ -1036,6 +1043,7 @@ extension PinpointSMSVoiceV2ClientTypes { public static var allCases: [ConfigurationSetFilterName] { return [ + .defaultMessageFeedbackEnabled, .defaultMessageType, .defaultSenderId, .eventDestinationName, @@ -1051,6 +1059,7 @@ extension PinpointSMSVoiceV2ClientTypes { public var rawValue: Swift.String { switch self { + case .defaultMessageFeedbackEnabled: return "default-message-feedback-enabled" case .defaultMessageType: return "default-message-type" case .defaultSenderId: return "default-sender-id" case .eventDestinationName: return "event-destination-name" @@ -1164,6 +1173,7 @@ extension PinpointSMSVoiceV2ClientTypes { case textInvalid case textInvalidMessage case textPending + case textProtectBlocked case textQueued case textSent case textSpam @@ -1210,6 +1220,7 @@ extension PinpointSMSVoiceV2ClientTypes { .textInvalid, .textInvalidMessage, .textPending, + .textProtectBlocked, .textQueued, .textSent, .textSpam, @@ -1262,6 +1273,7 @@ extension PinpointSMSVoiceV2ClientTypes { case .textInvalid: return "TEXT_INVALID" case .textInvalidMessage: return "TEXT_INVALID_MESSAGE" case .textPending: return "TEXT_PENDING" + case .textProtectBlocked: return "TEXT_PROTECT_BLOCKED" case .textQueued: return "TEXT_QUEUED" case .textSent: return "TEXT_SENT" case .textSpam: return "TEXT_SPAM" @@ -1353,6 +1365,8 @@ extension PinpointSMSVoiceV2ClientTypes { /// The time when the ConfigurationSet was created, in [UNIX epoch time](https://www.epochconverter.com/) format. /// This member is required. public var createdTimestamp: Foundation.Date? + /// True if message feedback is enabled. + public var defaultMessageFeedbackEnabled: Swift.Bool? /// The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive. public var defaultMessageType: PinpointSMSVoiceV2ClientTypes.MessageType? /// The default sender ID used by the ConfigurationSet. @@ -1367,6 +1381,7 @@ extension PinpointSMSVoiceV2ClientTypes { configurationSetArn: Swift.String? = nil, configurationSetName: Swift.String? = nil, createdTimestamp: Foundation.Date? = nil, + defaultMessageFeedbackEnabled: Swift.Bool? = nil, defaultMessageType: PinpointSMSVoiceV2ClientTypes.MessageType? = nil, defaultSenderId: Swift.String? = nil, eventDestinations: [PinpointSMSVoiceV2ClientTypes.EventDestination]? = nil, @@ -1376,6 +1391,7 @@ extension PinpointSMSVoiceV2ClientTypes { self.configurationSetArn = configurationSetArn self.configurationSetName = configurationSetName self.createdTimestamp = createdTimestamp + self.defaultMessageFeedbackEnabled = defaultMessageFeedbackEnabled self.defaultMessageType = defaultMessageType self.defaultSenderId = defaultSenderId self.eventDestinations = eventDestinations @@ -2305,6 +2321,8 @@ public struct DeleteConfigurationSetOutput: Swift.Sendable { public var configurationSetName: Swift.String? /// The time that the deleted configuration set was created in [UNIX epoch time](https://www.epochconverter.com/) format. public var createdTimestamp: Foundation.Date? + /// True if the configuration set has message feedback enabled. By default this is set to false. + public var defaultMessageFeedbackEnabled: Swift.Bool? /// The default message type of the configuration set that was deleted. public var defaultMessageType: PinpointSMSVoiceV2ClientTypes.MessageType? /// The default Sender ID of the configuration set that was deleted. @@ -2316,6 +2334,7 @@ public struct DeleteConfigurationSetOutput: Swift.Sendable { configurationSetArn: Swift.String? = nil, configurationSetName: Swift.String? = nil, createdTimestamp: Foundation.Date? = nil, + defaultMessageFeedbackEnabled: Swift.Bool? = nil, defaultMessageType: PinpointSMSVoiceV2ClientTypes.MessageType? = nil, defaultSenderId: Swift.String? = nil, eventDestinations: [PinpointSMSVoiceV2ClientTypes.EventDestination]? = nil @@ -2324,6 +2343,7 @@ public struct DeleteConfigurationSetOutput: Swift.Sendable { self.configurationSetArn = configurationSetArn self.configurationSetName = configurationSetName self.createdTimestamp = createdTimestamp + self.defaultMessageFeedbackEnabled = defaultMessageFeedbackEnabled self.defaultMessageType = defaultMessageType self.defaultSenderId = defaultSenderId self.eventDestinations = eventDestinations @@ -2725,6 +2745,94 @@ public struct DeleteProtectConfigurationOutput: Swift.Sendable { } } +public struct DeleteProtectConfigurationRuleSetNumberOverrideInput: Swift.Sendable { + /// The destination phone number in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + + public init( + destinationPhoneNumber: Swift.String? = nil, + protectConfigurationId: Swift.String? = nil + ) + { + self.destinationPhoneNumber = destinationPhoneNumber + self.protectConfigurationId = protectConfigurationId + } +} + +extension PinpointSMSVoiceV2ClientTypes { + + public enum ProtectConfigurationRuleOverrideAction: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case allow + case block + case sdkUnknown(Swift.String) + + public static var allCases: [ProtectConfigurationRuleOverrideAction] { + return [ + .allow, + .block + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .allow: return "ALLOW" + case .block: return "BLOCK" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct DeleteProtectConfigurationRuleSetNumberOverrideOutput: Swift.Sendable { + /// The action associated with the rule. + /// This member is required. + public var action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? + /// The time when the rule was created, in [UNIX epoch time](https://www.epochconverter.com/) format. + /// This member is required. + public var createdTimestamp: Foundation.Date? + /// The destination phone number in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// The time when the resource-based policy was created, in [UNIX epoch time](https://www.epochconverter.com/) format. + public var expirationTimestamp: Foundation.Date? + /// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. + public var isoCountryCode: Swift.String? + /// The Amazon Resource Name (ARN) of the protect configuration. + /// This member is required. + public var protectConfigurationArn: Swift.String? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + + public init( + action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? = nil, + createdTimestamp: Foundation.Date? = nil, + destinationPhoneNumber: Swift.String? = nil, + expirationTimestamp: Foundation.Date? = nil, + isoCountryCode: Swift.String? = nil, + protectConfigurationArn: Swift.String? = nil, + protectConfigurationId: Swift.String? = nil + ) + { + self.action = action + self.createdTimestamp = createdTimestamp + self.destinationPhoneNumber = destinationPhoneNumber + self.expirationTimestamp = expirationTimestamp + self.isoCountryCode = isoCountryCode + self.protectConfigurationArn = protectConfigurationArn + self.protectConfigurationId = protectConfigurationId + } +} + public struct DeleteRegistrationInput: Swift.Sendable { /// The unique identifier for the registration. /// This member is required. @@ -5674,7 +5782,7 @@ public struct DescribeVerifiedDestinationNumbersInput: Swift.Sendable { public var maxResults: Swift.Int? /// The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request. public var nextToken: Swift.String? - /// An array of VerifiedDestinationNumberid to retreive. + /// An array of VerifiedDestinationNumberid to retrieve. public var verifiedDestinationNumberIds: [Swift.String]? public init( @@ -6268,6 +6376,158 @@ public struct ListPoolOriginationIdentitiesOutput: Swift.Sendable { } } +extension PinpointSMSVoiceV2ClientTypes { + + public enum ProtectConfigurationRuleSetNumberOverrideFilterName: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case action + case createdAfter + case createdBefore + case destinationPhoneNumberBeginsWith + case expiresAfter + case expiresBefore + case isoCountryCode + case sdkUnknown(Swift.String) + + public static var allCases: [ProtectConfigurationRuleSetNumberOverrideFilterName] { + return [ + .action, + .createdAfter, + .createdBefore, + .destinationPhoneNumberBeginsWith, + .expiresAfter, + .expiresBefore, + .isoCountryCode + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .action: return "action" + case .createdAfter: return "created-after" + case .createdBefore: return "created-before" + case .destinationPhoneNumberBeginsWith: return "destination-phone-number-begins-with" + case .expiresAfter: return "expires-after" + case .expiresBefore: return "expires-before" + case .isoCountryCode: return "iso-country-code" + case let .sdkUnknown(s): return s + } + } + } +} + +extension PinpointSMSVoiceV2ClientTypes { + + /// The information for a protect configuration rule set number override that meets a specified criteria. + public struct ProtectConfigurationRuleSetNumberOverrideFilterItem: Swift.Sendable { + /// The name of the attribute to filter on. + /// This member is required. + public var name: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterName? + /// An array values to filter for. + /// This member is required. + public var values: [Swift.String]? + + public init( + name: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterName? = nil, + values: [Swift.String]? = nil + ) + { + self.name = name + self.values = values + } + } +} + +public struct ListProtectConfigurationRuleSetNumberOverridesInput: Swift.Sendable { + /// An array of ProtectConfigurationRuleSetNumberOverrideFilterItem objects to filter the results. + public var filters: [PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterItem]? + /// The maximum number of results to return per each request. + public var maxResults: Swift.Int? + /// The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request. + public var nextToken: Swift.String? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + + public init( + filters: [PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterItem]? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + protectConfigurationId: Swift.String? = nil + ) + { + self.filters = filters + self.maxResults = maxResults + self.nextToken = nextToken + self.protectConfigurationId = protectConfigurationId + } +} + +extension PinpointSMSVoiceV2ClientTypes { + + /// Provides details on a RuleSetNumberOverride. + public struct ProtectConfigurationRuleSetNumberOverride: Swift.Sendable { + /// The action for the rule to perform of either blocking or allowing messages to the destination phone number. + /// This member is required. + public var action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? + /// The time when the rule was created, in [UNIX epoch time](https://www.epochconverter.com/) format. + /// This member is required. + public var createdTimestamp: Foundation.Date? + /// The destination phone number in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// The time the rule will expire at. If ExpirationTimestamp is not set then the rule will not expire. + public var expirationTimestamp: Foundation.Date? + /// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. + public var isoCountryCode: Swift.String? + + public init( + action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? = nil, + createdTimestamp: Foundation.Date? = nil, + destinationPhoneNumber: Swift.String? = nil, + expirationTimestamp: Foundation.Date? = nil, + isoCountryCode: Swift.String? = nil + ) + { + self.action = action + self.createdTimestamp = createdTimestamp + self.destinationPhoneNumber = destinationPhoneNumber + self.expirationTimestamp = expirationTimestamp + self.isoCountryCode = isoCountryCode + } + } +} + +public struct ListProtectConfigurationRuleSetNumberOverridesOutput: Swift.Sendable { + /// The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request. + public var nextToken: Swift.String? + /// The Amazon Resource Name (ARN) of the protect configuration. + /// This member is required. + public var protectConfigurationArn: Swift.String? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + /// An array of RuleSetNumberOverrides objects. + public var ruleSetNumberOverrides: [PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride]? + + public init( + nextToken: Swift.String? = nil, + protectConfigurationArn: Swift.String? = nil, + protectConfigurationId: Swift.String? = nil, + ruleSetNumberOverrides: [PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride]? = nil + ) + { + self.nextToken = nextToken + self.protectConfigurationArn = protectConfigurationArn + self.protectConfigurationId = protectConfigurationId + self.ruleSetNumberOverrides = ruleSetNumberOverrides + } +} + extension PinpointSMSVoiceV2ClientTypes { public enum RegistrationAssociationFilterName: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -6440,6 +6700,35 @@ public struct ListTagsForResourceOutput: Swift.Sendable { } } +extension PinpointSMSVoiceV2ClientTypes { + + public enum MessageFeedbackStatus: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case failed + case received + case sdkUnknown(Swift.String) + + public static var allCases: [MessageFeedbackStatus] { + return [ + .failed, + .received + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .failed: return "FAILED" + case .received: return "RECEIVED" + case let .sdkUnknown(s): return s + } + } + } +} + public struct PutKeywordInput: Swift.Sendable { /// The new keyword to add. /// This member is required. @@ -6501,6 +6790,42 @@ public struct PutKeywordOutput: Swift.Sendable { } } +public struct PutMessageFeedbackInput: Swift.Sendable { + /// Set the message feedback to be either RECEIVED or FAILED. + /// This member is required. + public var messageFeedbackStatus: PinpointSMSVoiceV2ClientTypes.MessageFeedbackStatus? + /// The unique identifier for the message. + /// This member is required. + public var messageId: Swift.String? + + public init( + messageFeedbackStatus: PinpointSMSVoiceV2ClientTypes.MessageFeedbackStatus? = nil, + messageId: Swift.String? = nil + ) + { + self.messageFeedbackStatus = messageFeedbackStatus + self.messageId = messageId + } +} + +public struct PutMessageFeedbackOutput: Swift.Sendable { + /// The current status of the message. + /// This member is required. + public var messageFeedbackStatus: PinpointSMSVoiceV2ClientTypes.MessageFeedbackStatus? + /// The unique identifier for the message. + /// This member is required. + public var messageId: Swift.String? + + public init( + messageFeedbackStatus: PinpointSMSVoiceV2ClientTypes.MessageFeedbackStatus? = nil, + messageId: Swift.String? = nil + ) + { + self.messageFeedbackStatus = messageFeedbackStatus + self.messageId = messageId + } +} + public struct PutOptedOutNumberInput: Swift.Sendable { /// The OptOutListName or OptOutListArn to add the phone number to. If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN). /// This member is required. @@ -6539,11 +6864,83 @@ public struct PutOptedOutNumberOutput: Swift.Sendable { optedOutTimestamp: Foundation.Date? = nil ) { - self.endUserOptedOut = endUserOptedOut - self.optOutListArn = optOutListArn - self.optOutListName = optOutListName - self.optedOutNumber = optedOutNumber - self.optedOutTimestamp = optedOutTimestamp + self.endUserOptedOut = endUserOptedOut + self.optOutListArn = optOutListArn + self.optOutListName = optOutListName + self.optedOutNumber = optedOutNumber + self.optedOutTimestamp = optedOutTimestamp + } +} + +public struct PutProtectConfigurationRuleSetNumberOverrideInput: Swift.Sendable { + /// The action for the rule to either block or allow messages to the destination phone number. + /// This member is required. + public var action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? + /// Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency. + public var clientToken: Swift.String? + /// The destination phone number in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// The time the rule will expire at. If ExpirationTimestamp is not set then the rule does not expire. + public var expirationTimestamp: Foundation.Date? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + + public init( + action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? = nil, + clientToken: Swift.String? = nil, + destinationPhoneNumber: Swift.String? = nil, + expirationTimestamp: Foundation.Date? = nil, + protectConfigurationId: Swift.String? = nil + ) + { + self.action = action + self.clientToken = clientToken + self.destinationPhoneNumber = destinationPhoneNumber + self.expirationTimestamp = expirationTimestamp + self.protectConfigurationId = protectConfigurationId + } +} + +public struct PutProtectConfigurationRuleSetNumberOverrideOutput: Swift.Sendable { + /// The action for the rule to take. + /// This member is required. + public var action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? + /// The time when the rule was created, in [UNIX epoch time](https://www.epochconverter.com/) format. + /// This member is required. + public var createdTimestamp: Foundation.Date? + /// The destination phone number in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// The time the rule will expire at. + public var expirationTimestamp: Foundation.Date? + /// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. + public var isoCountryCode: Swift.String? + /// The Amazon Resource Name (ARN) of the protect configuration. + /// This member is required. + public var protectConfigurationArn: Swift.String? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + + public init( + action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? = nil, + createdTimestamp: Foundation.Date? = nil, + destinationPhoneNumber: Swift.String? = nil, + expirationTimestamp: Foundation.Date? = nil, + isoCountryCode: Swift.String? = nil, + protectConfigurationArn: Swift.String? = nil, + protectConfigurationId: Swift.String? = nil + ) + { + self.action = action + self.createdTimestamp = createdTimestamp + self.destinationPhoneNumber = destinationPhoneNumber + self.expirationTimestamp = expirationTimestamp + self.isoCountryCode = isoCountryCode + self.protectConfigurationArn = protectConfigurationArn + self.protectConfigurationId = protectConfigurationId } } @@ -7148,12 +7545,14 @@ public struct SendMediaMessageInput: Swift.Sendable { public var mediaUrls: [Swift.String]? /// The text body of the message. public var messageBody: Swift.String? + /// Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using [PutMessageFeedback]. + public var messageFeedbackEnabled: Swift.Bool? /// The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn. If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN). /// This member is required. public var originationIdentity: Swift.String? /// The unique identifier of the protect configuration to use. public var protectConfigurationId: Swift.String? - /// How long the text message is valid for. By default this is 72 hours. + /// How long the media message is valid for. By default this is 72 hours. public var timeToLive: Swift.Int? public init( @@ -7164,6 +7563,7 @@ public struct SendMediaMessageInput: Swift.Sendable { maxPrice: Swift.String? = nil, mediaUrls: [Swift.String]? = nil, messageBody: Swift.String? = nil, + messageFeedbackEnabled: Swift.Bool? = nil, originationIdentity: Swift.String? = nil, protectConfigurationId: Swift.String? = nil, timeToLive: Swift.Int? = nil @@ -7176,6 +7576,7 @@ public struct SendMediaMessageInput: Swift.Sendable { self.maxPrice = maxPrice self.mediaUrls = mediaUrls self.messageBody = messageBody + self.messageFeedbackEnabled = messageFeedbackEnabled self.originationIdentity = originationIdentity self.protectConfigurationId = protectConfigurationId self.timeToLive = timeToLive @@ -7216,6 +7617,8 @@ public struct SendTextMessageInput: Swift.Sendable { public var maxPrice: Swift.String? /// The body of the text message. public var messageBody: Swift.String? + /// Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using [PutMessageFeedback]. + public var messageFeedbackEnabled: Swift.Bool? /// The type of message. Valid values are for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive. public var messageType: PinpointSMSVoiceV2ClientTypes.MessageType? /// The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn. If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN). @@ -7234,6 +7637,7 @@ public struct SendTextMessageInput: Swift.Sendable { keyword: Swift.String? = nil, maxPrice: Swift.String? = nil, messageBody: Swift.String? = nil, + messageFeedbackEnabled: Swift.Bool? = nil, messageType: PinpointSMSVoiceV2ClientTypes.MessageType? = nil, originationIdentity: Swift.String? = nil, protectConfigurationId: Swift.String? = nil, @@ -7248,6 +7652,7 @@ public struct SendTextMessageInput: Swift.Sendable { self.keyword = keyword self.maxPrice = maxPrice self.messageBody = messageBody + self.messageFeedbackEnabled = messageFeedbackEnabled self.messageType = messageType self.originationIdentity = originationIdentity self.protectConfigurationId = protectConfigurationId @@ -7516,6 +7921,8 @@ public struct SendVoiceMessageInput: Swift.Sendable { /// /// * SSML: When used the maximum character limit is 6000 including SSML tagging. public var messageBodyTextType: PinpointSMSVoiceV2ClientTypes.VoiceMessageBodyTextType? + /// Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using [PutMessageFeedback]. + public var messageFeedbackEnabled: Swift.Bool? /// The origination identity to use for the voice call. This can be the PhoneNumber, PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn. If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN). /// This member is required. public var originationIdentity: Swift.String? @@ -7534,6 +7941,7 @@ public struct SendVoiceMessageInput: Swift.Sendable { maxPricePerMinute: Swift.String? = nil, messageBody: Swift.String? = nil, messageBodyTextType: PinpointSMSVoiceV2ClientTypes.VoiceMessageBodyTextType? = nil, + messageFeedbackEnabled: Swift.Bool? = nil, originationIdentity: Swift.String? = nil, protectConfigurationId: Swift.String? = nil, timeToLive: Swift.Int? = nil, @@ -7547,6 +7955,7 @@ public struct SendVoiceMessageInput: Swift.Sendable { self.maxPricePerMinute = maxPricePerMinute self.messageBody = messageBody self.messageBodyTextType = messageBodyTextType + self.messageFeedbackEnabled = messageFeedbackEnabled self.originationIdentity = originationIdentity self.protectConfigurationId = protectConfigurationId self.timeToLive = timeToLive @@ -7597,6 +8006,44 @@ public struct SetAccountDefaultProtectConfigurationOutput: Swift.Sendable { } } +public struct SetDefaultMessageFeedbackEnabledInput: Swift.Sendable { + /// The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn. + /// This member is required. + public var configurationSetName: Swift.String? + /// Set to true to enable message feedback. + /// This member is required. + public var messageFeedbackEnabled: Swift.Bool? + + public init( + configurationSetName: Swift.String? = nil, + messageFeedbackEnabled: Swift.Bool? = nil + ) + { + self.configurationSetName = configurationSetName + self.messageFeedbackEnabled = messageFeedbackEnabled + } +} + +public struct SetDefaultMessageFeedbackEnabledOutput: Swift.Sendable { + /// The arn of the configuration set. + public var configurationSetArn: Swift.String? + /// The name of the configuration. + public var configurationSetName: Swift.String? + /// True if message feedback is enabled. + public var messageFeedbackEnabled: Swift.Bool? + + public init( + configurationSetArn: Swift.String? = nil, + configurationSetName: Swift.String? = nil, + messageFeedbackEnabled: Swift.Bool? = nil + ) + { + self.configurationSetArn = configurationSetArn + self.configurationSetName = configurationSetName + self.messageFeedbackEnabled = messageFeedbackEnabled + } +} + public struct SetDefaultMessageTypeInput: Swift.Sendable { /// The configuration set to update with a new default message type. This field can be the ConsigurationSetName or ConfigurationSetArn. /// This member is required. @@ -8508,6 +8955,13 @@ extension DeleteProtectConfigurationInput { } } +extension DeleteProtectConfigurationRuleSetNumberOverrideInput { + + static func urlPathProvider(_ value: DeleteProtectConfigurationRuleSetNumberOverrideInput) -> Swift.String? { + return "/" + } +} + extension DeleteRegistrationInput { static func urlPathProvider(_ value: DeleteRegistrationInput) -> Swift.String? { @@ -8732,6 +9186,13 @@ extension ListPoolOriginationIdentitiesInput { } } +extension ListProtectConfigurationRuleSetNumberOverridesInput { + + static func urlPathProvider(_ value: ListProtectConfigurationRuleSetNumberOverridesInput) -> Swift.String? { + return "/" + } +} + extension ListRegistrationAssociationsInput { static func urlPathProvider(_ value: ListRegistrationAssociationsInput) -> Swift.String? { @@ -8753,6 +9214,13 @@ extension PutKeywordInput { } } +extension PutMessageFeedbackInput { + + static func urlPathProvider(_ value: PutMessageFeedbackInput) -> Swift.String? { + return "/" + } +} + extension PutOptedOutNumberInput { static func urlPathProvider(_ value: PutOptedOutNumberInput) -> Swift.String? { @@ -8760,6 +9228,13 @@ extension PutOptedOutNumberInput { } } +extension PutProtectConfigurationRuleSetNumberOverrideInput { + + static func urlPathProvider(_ value: PutProtectConfigurationRuleSetNumberOverrideInput) -> Swift.String? { + return "/" + } +} + extension PutRegistrationFieldValueInput { static func urlPathProvider(_ value: PutRegistrationFieldValueInput) -> Swift.String? { @@ -8837,6 +9312,13 @@ extension SetAccountDefaultProtectConfigurationInput { } } +extension SetDefaultMessageFeedbackEnabledInput { + + static func urlPathProvider(_ value: SetDefaultMessageFeedbackEnabledInput) -> Swift.String? { + return "/" + } +} + extension SetDefaultMessageTypeInput { static func urlPathProvider(_ value: SetDefaultMessageTypeInput) -> Swift.String? { @@ -9158,6 +9640,15 @@ extension DeleteProtectConfigurationInput { } } +extension DeleteProtectConfigurationRuleSetNumberOverrideInput { + + static func write(value: DeleteProtectConfigurationRuleSetNumberOverrideInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["DestinationPhoneNumber"].write(value.destinationPhoneNumber) + try writer["ProtectConfigurationId"].write(value.protectConfigurationId) + } +} + extension DeleteRegistrationInput { static func write(value: DeleteRegistrationInput?, to writer: SmithyJSON.Writer) throws { @@ -9484,6 +9975,17 @@ extension ListPoolOriginationIdentitiesInput { } } +extension ListProtectConfigurationRuleSetNumberOverridesInput { + + static func write(value: ListProtectConfigurationRuleSetNumberOverridesInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Filters"].writeList(value.filters, memberWritingClosure: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterItem.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["MaxResults"].write(value.maxResults) + try writer["NextToken"].write(value.nextToken) + try writer["ProtectConfigurationId"].write(value.protectConfigurationId) + } +} + extension ListRegistrationAssociationsInput { static func write(value: ListRegistrationAssociationsInput?, to writer: SmithyJSON.Writer) throws { @@ -9514,6 +10016,15 @@ extension PutKeywordInput { } } +extension PutMessageFeedbackInput { + + static func write(value: PutMessageFeedbackInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["MessageFeedbackStatus"].write(value.messageFeedbackStatus) + try writer["MessageId"].write(value.messageId) + } +} + extension PutOptedOutNumberInput { static func write(value: PutOptedOutNumberInput?, to writer: SmithyJSON.Writer) throws { @@ -9523,6 +10034,18 @@ extension PutOptedOutNumberInput { } } +extension PutProtectConfigurationRuleSetNumberOverrideInput { + + static func write(value: PutProtectConfigurationRuleSetNumberOverrideInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Action"].write(value.action) + try writer["ClientToken"].write(value.clientToken) + try writer["DestinationPhoneNumber"].write(value.destinationPhoneNumber) + try writer["ExpirationTimestamp"].writeTimestamp(value.expirationTimestamp, format: SmithyTimestamps.TimestampFormat.epochSeconds) + try writer["ProtectConfigurationId"].write(value.protectConfigurationId) + } +} + extension PutRegistrationFieldValueInput { static func write(value: PutRegistrationFieldValueInput?, to writer: SmithyJSON.Writer) throws { @@ -9616,6 +10139,7 @@ extension SendMediaMessageInput { try writer["MaxPrice"].write(value.maxPrice) try writer["MediaUrls"].writeList(value.mediaUrls, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["MessageBody"].write(value.messageBody) + try writer["MessageFeedbackEnabled"].write(value.messageFeedbackEnabled) try writer["OriginationIdentity"].write(value.originationIdentity) try writer["ProtectConfigurationId"].write(value.protectConfigurationId) try writer["TimeToLive"].write(value.timeToLive) @@ -9634,6 +10158,7 @@ extension SendTextMessageInput { try writer["Keyword"].write(value.keyword) try writer["MaxPrice"].write(value.maxPrice) try writer["MessageBody"].write(value.messageBody) + try writer["MessageFeedbackEnabled"].write(value.messageFeedbackEnabled) try writer["MessageType"].write(value.messageType) try writer["OriginationIdentity"].write(value.originationIdentity) try writer["ProtectConfigurationId"].write(value.protectConfigurationId) @@ -9652,6 +10177,7 @@ extension SendVoiceMessageInput { try writer["MaxPricePerMinute"].write(value.maxPricePerMinute) try writer["MessageBody"].write(value.messageBody) try writer["MessageBodyTextType"].write(value.messageBodyTextType) + try writer["MessageFeedbackEnabled"].write(value.messageFeedbackEnabled) try writer["OriginationIdentity"].write(value.originationIdentity) try writer["ProtectConfigurationId"].write(value.protectConfigurationId) try writer["TimeToLive"].write(value.timeToLive) @@ -9667,6 +10193,15 @@ extension SetAccountDefaultProtectConfigurationInput { } } +extension SetDefaultMessageFeedbackEnabledInput { + + static func write(value: SetDefaultMessageFeedbackEnabledInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ConfigurationSetName"].write(value.configurationSetName) + try writer["MessageFeedbackEnabled"].write(value.messageFeedbackEnabled) + } +} + extension SetDefaultMessageTypeInput { static func write(value: SetDefaultMessageTypeInput?, to writer: SmithyJSON.Writer) throws { @@ -10042,6 +10577,7 @@ extension DeleteConfigurationSetOutput { value.configurationSetArn = try reader["ConfigurationSetArn"].readIfPresent() value.configurationSetName = try reader["ConfigurationSetName"].readIfPresent() value.createdTimestamp = try reader["CreatedTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.defaultMessageFeedbackEnabled = try reader["DefaultMessageFeedbackEnabled"].readIfPresent() value.defaultMessageType = try reader["DefaultMessageType"].readIfPresent() value.defaultSenderId = try reader["DefaultSenderId"].readIfPresent() value.eventDestinations = try reader["EventDestinations"].readListIfPresent(memberReadingClosure: PinpointSMSVoiceV2ClientTypes.EventDestination.read(from:), memberNodeInfo: "member", isFlattened: false) @@ -10187,6 +10723,24 @@ extension DeleteProtectConfigurationOutput { } } +extension DeleteProtectConfigurationRuleSetNumberOverrideOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProtectConfigurationRuleSetNumberOverrideOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteProtectConfigurationRuleSetNumberOverrideOutput() + value.action = try reader["Action"].readIfPresent() ?? .sdkUnknown("") + value.createdTimestamp = try reader["CreatedTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.destinationPhoneNumber = try reader["DestinationPhoneNumber"].readIfPresent() ?? "" + value.expirationTimestamp = try reader["ExpirationTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.isoCountryCode = try reader["IsoCountryCode"].readIfPresent() + value.protectConfigurationArn = try reader["ProtectConfigurationArn"].readIfPresent() ?? "" + value.protectConfigurationId = try reader["ProtectConfigurationId"].readIfPresent() ?? "" + return value + } +} + extension DeleteRegistrationOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegistrationOutput { @@ -10643,6 +11197,21 @@ extension ListPoolOriginationIdentitiesOutput { } } +extension ListProtectConfigurationRuleSetNumberOverridesOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProtectConfigurationRuleSetNumberOverridesOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListProtectConfigurationRuleSetNumberOverridesOutput() + value.nextToken = try reader["NextToken"].readIfPresent() + value.protectConfigurationArn = try reader["ProtectConfigurationArn"].readIfPresent() ?? "" + value.protectConfigurationId = try reader["ProtectConfigurationId"].readIfPresent() ?? "" + value.ruleSetNumberOverrides = try reader["RuleSetNumberOverrides"].readListIfPresent(memberReadingClosure: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension ListRegistrationAssociationsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegistrationAssociationsOutput { @@ -10688,6 +11257,19 @@ extension PutKeywordOutput { } } +extension PutMessageFeedbackOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMessageFeedbackOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = PutMessageFeedbackOutput() + value.messageFeedbackStatus = try reader["MessageFeedbackStatus"].readIfPresent() ?? .sdkUnknown("") + value.messageId = try reader["MessageId"].readIfPresent() ?? "" + return value + } +} + extension PutOptedOutNumberOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutOptedOutNumberOutput { @@ -10704,6 +11286,24 @@ extension PutOptedOutNumberOutput { } } +extension PutProtectConfigurationRuleSetNumberOverrideOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutProtectConfigurationRuleSetNumberOverrideOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = PutProtectConfigurationRuleSetNumberOverrideOutput() + value.action = try reader["Action"].readIfPresent() ?? .sdkUnknown("") + value.createdTimestamp = try reader["CreatedTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.destinationPhoneNumber = try reader["DestinationPhoneNumber"].readIfPresent() ?? "" + value.expirationTimestamp = try reader["ExpirationTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.isoCountryCode = try reader["IsoCountryCode"].readIfPresent() + value.protectConfigurationArn = try reader["ProtectConfigurationArn"].readIfPresent() ?? "" + value.protectConfigurationId = try reader["ProtectConfigurationId"].readIfPresent() ?? "" + return value + } +} + extension PutRegistrationFieldValueOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRegistrationFieldValueOutput { @@ -10891,6 +11491,20 @@ extension SetAccountDefaultProtectConfigurationOutput { } } +extension SetDefaultMessageFeedbackEnabledOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDefaultMessageFeedbackEnabledOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = SetDefaultMessageFeedbackEnabledOutput() + value.configurationSetArn = try reader["ConfigurationSetArn"].readIfPresent() + value.configurationSetName = try reader["ConfigurationSetName"].readIfPresent() + value.messageFeedbackEnabled = try reader["MessageFeedbackEnabled"].readIfPresent() + return value + } +} + extension SetDefaultMessageTypeOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDefaultMessageTypeOutput { @@ -11550,6 +12164,24 @@ enum DeleteProtectConfigurationOutputError { } } +enum DeleteProtectConfigurationRuleSetNumberOverrideOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DeleteRegistrationOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12125,6 +12757,24 @@ enum ListPoolOriginationIdentitiesOutputError { } } +enum ListProtectConfigurationRuleSetNumberOverridesOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListRegistrationAssociationsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12181,6 +12831,24 @@ enum PutKeywordOutputError { } } +enum PutMessageFeedbackOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum PutOptedOutNumberOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12199,6 +12867,25 @@ enum PutOptedOutNumberOutputError { } } +enum PutProtectConfigurationRuleSetNumberOverrideOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum PutRegistrationFieldValueOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12411,6 +13098,24 @@ enum SetAccountDefaultProtectConfigurationOutputError { } } +enum SetDefaultMessageFeedbackEnabledOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum SetDefaultMessageTypeOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12917,6 +13622,7 @@ extension PinpointSMSVoiceV2ClientTypes.ConfigurationSetInformation { value.eventDestinations = try reader["EventDestinations"].readListIfPresent(memberReadingClosure: PinpointSMSVoiceV2ClientTypes.EventDestination.read(from:), memberNodeInfo: "member", isFlattened: false) ?? [] value.defaultMessageType = try reader["DefaultMessageType"].readIfPresent() value.defaultSenderId = try reader["DefaultSenderId"].readIfPresent() + value.defaultMessageFeedbackEnabled = try reader["DefaultMessageFeedbackEnabled"].readIfPresent() value.createdTimestamp = try reader["CreatedTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") value.protectConfigurationId = try reader["ProtectConfigurationId"].readIfPresent() return value @@ -13300,6 +14006,20 @@ extension PinpointSMSVoiceV2ClientTypes.OriginationIdentityMetadata { } } +extension PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride { + + static func read(from reader: SmithyJSON.Reader) throws -> PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride() + value.destinationPhoneNumber = try reader["DestinationPhoneNumber"].readIfPresent() ?? "" + value.createdTimestamp = try reader["CreatedTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.action = try reader["Action"].readIfPresent() ?? .sdkUnknown("") + value.isoCountryCode = try reader["IsoCountryCode"].readIfPresent() + value.expirationTimestamp = try reader["ExpirationTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + return value + } +} + extension PinpointSMSVoiceV2ClientTypes.RegistrationAssociationMetadata { static func read(from reader: SmithyJSON.Reader) throws -> PinpointSMSVoiceV2ClientTypes.RegistrationAssociationMetadata { @@ -13451,6 +14171,15 @@ extension PinpointSMSVoiceV2ClientTypes.PoolOriginationIdentitiesFilter { } } +extension PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterItem { + + static func write(value: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterItem?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Name"].write(value.name) + try writer["Values"].writeList(value.values, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + extension PinpointSMSVoiceV2ClientTypes.RegistrationAssociationFilter { static func write(value: PinpointSMSVoiceV2ClientTypes.RegistrationAssociationFilter?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Paginators.swift b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Paginators.swift index c18d9ca096c..61d7c512950 100644 --- a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Paginators.swift +++ b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Paginators.swift @@ -654,6 +654,38 @@ extension PaginatorSequence where OperationStackInput == ListPoolOriginationIden return try await self.asyncCompactMap { item in item.originationIdentities } } } +extension PinpointSMSVoiceV2Client { + /// Paginate over `[ListProtectConfigurationRuleSetNumberOverridesOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListProtectConfigurationRuleSetNumberOverridesInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListProtectConfigurationRuleSetNumberOverridesOutput` + public func listProtectConfigurationRuleSetNumberOverridesPaginated(input: ListProtectConfigurationRuleSetNumberOverridesInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listProtectConfigurationRuleSetNumberOverrides(input:)) + } +} + +extension ListProtectConfigurationRuleSetNumberOverridesInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListProtectConfigurationRuleSetNumberOverridesInput { + return ListProtectConfigurationRuleSetNumberOverridesInput( + filters: self.filters, + maxResults: self.maxResults, + nextToken: token, + protectConfigurationId: self.protectConfigurationId + )} +} + +extension PaginatorSequence where OperationStackInput == ListProtectConfigurationRuleSetNumberOverridesInput, OperationStackOutput == ListProtectConfigurationRuleSetNumberOverridesOutput { + /// This paginator transforms the `AsyncSequence` returned by `listProtectConfigurationRuleSetNumberOverridesPaginated` + /// to access the nested member `[PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride]` + /// - Returns: `[PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride]` + public func ruleSetNumberOverrides() async throws -> [PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride] { + return try await self.asyncCompactMap { item in item.ruleSetNumberOverrides } + } +} extension PinpointSMSVoiceV2Client { /// Paginate over `[ListRegistrationAssociationsOutput]` results. /// diff --git a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift index 82b824edd5b..f4a9ac7b13a 100644 --- a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift +++ b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointSMSVoiceV2Client: ClientRuntime.Client { public static let clientName = "PinpointSMSVoiceV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PinpointSMSVoiceV2Client.PinpointSMSVoiceV2ClientConfiguration let serviceName = "Pinpoint SMS Voice V2" @@ -1927,6 +1927,80 @@ extension PinpointSMSVoiceV2Client { return try await op.execute(input: input) } + /// Performs the `DeleteProtectConfigurationRuleSetNumberOverride` operation on the `PinpointSMSVoiceV2` service. + /// + /// Permanently delete the protect configuration rule set number override. + /// + /// - Parameter DeleteProtectConfigurationRuleSetNumberOverrideInput : [no documentation found] + /// + /// - Returns: `DeleteProtectConfigurationRuleSetNumberOverrideOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request was denied because you don't have sufficient permissions to access the resource. + /// - `InternalServerException` : The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future. + /// - `ResourceNotFoundException` : A requested resource couldn't be found. + /// - `ThrottlingException` : An error that occurred because too many requests were sent during a certain amount of time. + /// - `ValidationException` : A validation exception for a field. + public func deleteProtectConfigurationRuleSetNumberOverride(input: DeleteProtectConfigurationRuleSetNumberOverrideInput) async throws -> DeleteProtectConfigurationRuleSetNumberOverrideOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "deleteProtectConfigurationRuleSetNumberOverride") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "sms-voice") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteProtectConfigurationRuleSetNumberOverrideInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteProtectConfigurationRuleSetNumberOverrideOutput.httpOutput(from:), DeleteProtectConfigurationRuleSetNumberOverrideOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: PinpointSMSVoiceV2Client.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "PinpointSMSVoiceV2.DeleteProtectConfigurationRuleSetNumberOverride")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DeleteProtectConfigurationRuleSetNumberOverrideInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "PinpointSMSVoiceV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteProtectConfigurationRuleSetNumberOverride") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `DeleteRegistration` operation on the `PinpointSMSVoiceV2` service. /// /// Permanently delete an existing registration from your account. @@ -3775,7 +3849,7 @@ extension PinpointSMSVoiceV2Client { /// Performs the `DescribeVerifiedDestinationNumbers` operation on the `PinpointSMSVoiceV2` service. /// - /// Retrieves the specified verified destiona numbers. + /// Retrieves the specified verified destination numbers. /// /// - Parameter DescribeVerifiedDestinationNumbersInput : [no documentation found] /// @@ -4295,9 +4369,83 @@ extension PinpointSMSVoiceV2Client { return try await op.execute(input: input) } + /// Performs the `ListProtectConfigurationRuleSetNumberOverrides` operation on the `PinpointSMSVoiceV2` service. + /// + /// Retrieve all of the protect configuration rule set number overrides that match the filters. + /// + /// - Parameter ListProtectConfigurationRuleSetNumberOverridesInput : [no documentation found] + /// + /// - Returns: `ListProtectConfigurationRuleSetNumberOverridesOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request was denied because you don't have sufficient permissions to access the resource. + /// - `InternalServerException` : The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future. + /// - `ResourceNotFoundException` : A requested resource couldn't be found. + /// - `ThrottlingException` : An error that occurred because too many requests were sent during a certain amount of time. + /// - `ValidationException` : A validation exception for a field. + public func listProtectConfigurationRuleSetNumberOverrides(input: ListProtectConfigurationRuleSetNumberOverridesInput) async throws -> ListProtectConfigurationRuleSetNumberOverridesOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listProtectConfigurationRuleSetNumberOverrides") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "sms-voice") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListProtectConfigurationRuleSetNumberOverridesInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListProtectConfigurationRuleSetNumberOverridesOutput.httpOutput(from:), ListProtectConfigurationRuleSetNumberOverridesOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: PinpointSMSVoiceV2Client.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "PinpointSMSVoiceV2.ListProtectConfigurationRuleSetNumberOverrides")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListProtectConfigurationRuleSetNumberOverridesInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "PinpointSMSVoiceV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListProtectConfigurationRuleSetNumberOverrides") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `ListRegistrationAssociations` operation on the `PinpointSMSVoiceV2` service. /// - /// Retreive all of the origination identies that are associated with a registration. + /// Retrieve all of the origination identities that are associated with a registration. /// /// - Parameter ListRegistrationAssociationsInput : [no documentation found] /// @@ -4519,6 +4667,80 @@ extension PinpointSMSVoiceV2Client { return try await op.execute(input: input) } + /// Performs the `PutMessageFeedback` operation on the `PinpointSMSVoiceV2` service. + /// + /// Set the MessageFeedbackStatus as RECEIVED or FAILED for the passed in MessageId. If you use message feedback then you must update message feedback record. When you receive a signal that a user has received the message you must use PutMessageFeedback to set the message feedback record as RECEIVED; Otherwise, an hour after the message feedback record is set to FAILED. + /// + /// - Parameter PutMessageFeedbackInput : [no documentation found] + /// + /// - Returns: `PutMessageFeedbackOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request was denied because you don't have sufficient permissions to access the resource. + /// - `InternalServerException` : The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future. + /// - `ResourceNotFoundException` : A requested resource couldn't be found. + /// - `ThrottlingException` : An error that occurred because too many requests were sent during a certain amount of time. + /// - `ValidationException` : A validation exception for a field. + public func putMessageFeedback(input: PutMessageFeedbackInput) async throws -> PutMessageFeedbackOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "putMessageFeedback") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "sms-voice") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutMessageFeedbackInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(PutMessageFeedbackOutput.httpOutput(from:), PutMessageFeedbackOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: PinpointSMSVoiceV2Client.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "PinpointSMSVoiceV2.PutMessageFeedback")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PutMessageFeedbackInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "PinpointSMSVoiceV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "PutMessageFeedback") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `PutOptedOutNumber` operation on the `PinpointSMSVoiceV2` service. /// /// Creates an opted out destination phone number in the opt-out list. If the destination phone number isn't valid or if the specified opt-out list doesn't exist, an error is returned. @@ -4593,6 +4815,82 @@ extension PinpointSMSVoiceV2Client { return try await op.execute(input: input) } + /// Performs the `PutProtectConfigurationRuleSetNumberOverride` operation on the `PinpointSMSVoiceV2` service. + /// + /// Create or update a RuleSetNumberOverride and associate it with a protect configuration. + /// + /// - Parameter PutProtectConfigurationRuleSetNumberOverrideInput : [no documentation found] + /// + /// - Returns: `PutProtectConfigurationRuleSetNumberOverrideOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request was denied because you don't have sufficient permissions to access the resource. + /// - `ConflictException` : Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource. + /// - `InternalServerException` : The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future. + /// - `ServiceQuotaExceededException` : The request would cause a service quota to be exceeded. + /// - `ThrottlingException` : An error that occurred because too many requests were sent during a certain amount of time. + /// - `ValidationException` : A validation exception for a field. + public func putProtectConfigurationRuleSetNumberOverride(input: PutProtectConfigurationRuleSetNumberOverrideInput) async throws -> PutProtectConfigurationRuleSetNumberOverrideOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "putProtectConfigurationRuleSetNumberOverride") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "sms-voice") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutProtectConfigurationRuleSetNumberOverrideInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(PutProtectConfigurationRuleSetNumberOverrideOutput.httpOutput(from:), PutProtectConfigurationRuleSetNumberOverrideOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: PinpointSMSVoiceV2Client.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "PinpointSMSVoiceV2.PutProtectConfigurationRuleSetNumberOverride")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PutProtectConfigurationRuleSetNumberOverrideInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "PinpointSMSVoiceV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "PutProtectConfigurationRuleSetNumberOverride") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `PutRegistrationFieldValue` operation on the `PinpointSMSVoiceV2` service. /// /// Creates or updates a field value for a registration. @@ -5423,6 +5721,80 @@ extension PinpointSMSVoiceV2Client { return try await op.execute(input: input) } + /// Performs the `SetDefaultMessageFeedbackEnabled` operation on the `PinpointSMSVoiceV2` service. + /// + /// Sets a configuration set's default for message feedback. + /// + /// - Parameter SetDefaultMessageFeedbackEnabledInput : [no documentation found] + /// + /// - Returns: `SetDefaultMessageFeedbackEnabledOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request was denied because you don't have sufficient permissions to access the resource. + /// - `InternalServerException` : The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future. + /// - `ResourceNotFoundException` : A requested resource couldn't be found. + /// - `ThrottlingException` : An error that occurred because too many requests were sent during a certain amount of time. + /// - `ValidationException` : A validation exception for a field. + public func setDefaultMessageFeedbackEnabled(input: SetDefaultMessageFeedbackEnabledInput) async throws -> SetDefaultMessageFeedbackEnabledOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "setDefaultMessageFeedbackEnabled") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "sms-voice") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(SetDefaultMessageFeedbackEnabledInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(SetDefaultMessageFeedbackEnabledOutput.httpOutput(from:), SetDefaultMessageFeedbackEnabledOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: PinpointSMSVoiceV2Client.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "PinpointSMSVoiceV2.SetDefaultMessageFeedbackEnabled")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: SetDefaultMessageFeedbackEnabledInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "PinpointSMSVoiceV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "SetDefaultMessageFeedbackEnabled") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `SetDefaultMessageType` operation on the `PinpointSMSVoiceV2` service. /// /// Sets the default message type on a configuration set. Choose the category of SMS messages that you plan to send from this account. If you send account-related messages or time-sensitive messages such as one-time passcodes, choose Transactional. If you plan to send messages that contain marketing material or other promotional content, choose Promotional. This setting applies to your entire Amazon Web Services account. diff --git a/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift b/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift index 38c48050144..8cf2c08bb5d 100644 --- a/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift +++ b/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PipesClient: ClientRuntime.Client { public static let clientName = "PipesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PipesClient.PipesClientConfiguration let serviceName = "Pipes" diff --git a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift index c823f5990f9..b3d49e618bf 100644 --- a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift +++ b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PollyClient: ClientRuntime.Client { public static let clientName = "PollyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PollyClient.PollyClientConfiguration let serviceName = "Polly" diff --git a/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift b/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift index bc963fc69cd..1dc10416826 100644 --- a/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift +++ b/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PricingClient: ClientRuntime.Client { public static let clientName = "PricingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PricingClient.PricingClientConfiguration let serviceName = "Pricing" diff --git a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift index 0742f559a0b..d886390564b 100644 --- a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift +++ b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PrivateNetworksClient: ClientRuntime.Client { public static let clientName = "PrivateNetworksClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PrivateNetworksClient.PrivateNetworksClientConfiguration let serviceName = "PrivateNetworks" diff --git a/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift b/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift index 0540e76a258..2e84d6c2084 100644 --- a/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift +++ b/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ProtonClient: ClientRuntime.Client { public static let clientName = "ProtonClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ProtonClient.ProtonClientConfiguration let serviceName = "Proton" diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift index 6e1d4847b5a..ac94ff0c0ec 100644 --- a/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QAppsClient: ClientRuntime.Client { public static let clientName = "QAppsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QAppsClient.QAppsClientConfiguration let serviceName = "QApps" diff --git a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift index a0ca14d8eb7..6b2c33a4678 100644 --- a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift +++ b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QBusinessClient: ClientRuntime.Client { public static let clientName = "QBusinessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QBusinessClient.QBusinessClientConfiguration let serviceName = "QBusiness" diff --git a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift index 804d1f83e20..befacade9f4 100644 --- a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift +++ b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QConnectClient: ClientRuntime.Client { public static let clientName = "QConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QConnectClient.QConnectClientConfiguration let serviceName = "QConnect" diff --git a/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift b/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift index 69014a632da..af1989df590 100644 --- a/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift +++ b/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QLDBClient: ClientRuntime.Client { public static let clientName = "QLDBClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QLDBClient.QLDBClientConfiguration let serviceName = "QLDB" diff --git a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift index 9ba9e64e2c4..0706a499520 100644 --- a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift +++ b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QLDBSessionClient: ClientRuntime.Client { public static let clientName = "QLDBSessionClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QLDBSessionClient.QLDBSessionClientConfiguration let serviceName = "QLDB Session" diff --git a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift index 053710a49e0..eb600579ed8 100644 --- a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift +++ b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QuickSightClient: ClientRuntime.Client { public static let clientName = "QuickSightClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QuickSightClient.QuickSightClientConfiguration let serviceName = "QuickSight" diff --git a/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift b/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift index d25f0d801ef..2006fd9add0 100644 --- a/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift +++ b/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RAMClient: ClientRuntime.Client { public static let clientName = "RAMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RAMClient.RAMClientConfiguration let serviceName = "RAM" diff --git a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift index 4de67a5b505..131b4850b48 100644 --- a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift +++ b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RDSClient: ClientRuntime.Client { public static let clientName = "RDSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RDSClient.RDSClientConfiguration let serviceName = "RDS" diff --git a/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift b/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift index 691f006ab2f..176f560999e 100644 --- a/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift +++ b/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RDSDataClient: ClientRuntime.Client { public static let clientName = "RDSDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RDSDataClient.RDSDataClientConfiguration let serviceName = "RDS Data" diff --git a/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift b/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift index 73ab0dd6376..d3e9364a843 100644 --- a/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift +++ b/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RUMClient: ClientRuntime.Client { public static let clientName = "RUMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RUMClient.RUMClientConfiguration let serviceName = "RUM" diff --git a/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift b/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift index b5a245b16bf..d6d08a9f12b 100644 --- a/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift +++ b/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RbinClient: ClientRuntime.Client { public static let clientName = "RbinClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RbinClient.RbinClientConfiguration let serviceName = "rbin" diff --git a/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift b/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift index 513dde9e6b3..8aae9688fde 100644 --- a/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift +++ b/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftClient: ClientRuntime.Client { public static let clientName = "RedshiftClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RedshiftClient.RedshiftClientConfiguration let serviceName = "Redshift" diff --git a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift index f1990724b6e..dd5ab769e49 100644 --- a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift +++ b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftDataClient: ClientRuntime.Client { public static let clientName = "RedshiftDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RedshiftDataClient.RedshiftDataClientConfiguration let serviceName = "Redshift Data" diff --git a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift index 450cd3f6237..11bf7e4c121 100644 --- a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift +++ b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftServerlessClient: ClientRuntime.Client { public static let clientName = "RedshiftServerlessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RedshiftServerlessClient.RedshiftServerlessClientConfiguration let serviceName = "Redshift Serverless" diff --git a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift index 35548ac28f0..49318dd39a3 100644 --- a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift +++ b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RekognitionClient: ClientRuntime.Client { public static let clientName = "RekognitionClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RekognitionClient.RekognitionClientConfiguration let serviceName = "Rekognition" diff --git a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift index 075832503ab..6ad9062850a 100644 --- a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift +++ b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RepostspaceClient: ClientRuntime.Client { public static let clientName = "RepostspaceClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RepostspaceClient.RepostspaceClientConfiguration let serviceName = "repostspace" diff --git a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift index 26d9fbdc26f..96d2fe72014 100644 --- a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift +++ b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResiliencehubClient: ClientRuntime.Client { public static let clientName = "ResiliencehubClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ResiliencehubClient.ResiliencehubClientConfiguration let serviceName = "resiliencehub" diff --git a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift index 6005d528d78..b57308f2bb8 100644 --- a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift +++ b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceExplorer2Client: ClientRuntime.Client { public static let clientName = "ResourceExplorer2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ResourceExplorer2Client.ResourceExplorer2ClientConfiguration let serviceName = "Resource Explorer 2" diff --git a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift index a0f305eb919..6d09deeea02 100644 --- a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift +++ b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceGroupsClient: ClientRuntime.Client { public static let clientName = "ResourceGroupsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ResourceGroupsClient.ResourceGroupsClientConfiguration let serviceName = "Resource Groups" diff --git a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift index 506bacfff6e..be6e667493b 100644 --- a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift +++ b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceGroupsTaggingAPIClient: ClientRuntime.Client { public static let clientName = "ResourceGroupsTaggingAPIClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ResourceGroupsTaggingAPIClient.ResourceGroupsTaggingAPIClientConfiguration let serviceName = "Resource Groups Tagging API" diff --git a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift index 7cd380cb1f6..050be4a58c0 100644 --- a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift +++ b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RoboMakerClient: ClientRuntime.Client { public static let clientName = "RoboMakerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RoboMakerClient.RoboMakerClientConfiguration let serviceName = "RoboMaker" diff --git a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift index a5cecbe495a..3ecc719867e 100644 --- a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift +++ b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RolesAnywhereClient: ClientRuntime.Client { public static let clientName = "RolesAnywhereClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RolesAnywhereClient.RolesAnywhereClientConfiguration let serviceName = "RolesAnywhere" diff --git a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift index 2101b59d396..af3514419ce 100644 --- a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift +++ b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53Client: ClientRuntime.Client { public static let clientName = "Route53Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53Client.Route53ClientConfiguration let serviceName = "Route 53" diff --git a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift index 00200b0f723..0c87901ebc0 100644 --- a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift +++ b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53DomainsClient: ClientRuntime.Client { public static let clientName = "Route53DomainsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53DomainsClient.Route53DomainsClientConfiguration let serviceName = "Route 53 Domains" diff --git a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift index 8ed2758253b..fb225564c3c 100644 --- a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift +++ b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53ProfilesClient: ClientRuntime.Client { public static let clientName = "Route53ProfilesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53ProfilesClient.Route53ProfilesClientConfiguration let serviceName = "Route53Profiles" diff --git a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift index bbf77b90acd..81e00b19114 100644 --- a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift +++ b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryClusterClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryClusterClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryClusterClient.Route53RecoveryClusterClientConfiguration let serviceName = "Route53 Recovery Cluster" diff --git a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift index 0fcc034155a..2572f3c2ce6 100644 --- a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift +++ b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryControlConfigClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryControlConfigClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryControlConfigClient.Route53RecoveryControlConfigClientConfiguration let serviceName = "Route53 Recovery Control Config" diff --git a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift index c2e5951595a..67688add069 100644 --- a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift +++ b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryReadinessClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryReadinessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryReadinessClient.Route53RecoveryReadinessClientConfiguration let serviceName = "Route53 Recovery Readiness" diff --git a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift index 5834cbd27e7..439d2c7fc08 100644 --- a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift +++ b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift @@ -946,7 +946,7 @@ extension Route53ResolverClientTypes { /// /// * CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. /// - /// * CREATED: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. + /// * ACTIVE: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. /// /// * DELETING: Resolver is deleting this query logging association. /// @@ -1212,6 +1212,38 @@ extension Route53ResolverClientTypes { } } +extension Route53ResolverClientTypes { + + public enum ConfidenceThreshold: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case high + case low + case medium + case sdkUnknown(Swift.String) + + public static var allCases: [ConfidenceThreshold] { + return [ + .high, + .low, + .medium + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .high: return "HIGH" + case .low: return "LOW" + case .medium: return "MEDIUM" + case let .sdkUnknown(s): return s + } + } + } +} + public struct CreateFirewallDomainListInput: Swift.Sendable { /// A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp. /// This member is required. @@ -1336,6 +1368,35 @@ public struct CreateFirewallDomainListOutput: Swift.Sendable { } } +extension Route53ResolverClientTypes { + + public enum DnsThreatProtection: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case dga + case dnsTunneling + case sdkUnknown(Swift.String) + + public static var allCases: [DnsThreatProtection] { + return [ + .dga, + .dnsTunneling + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .dga: return "DGA" + case .dnsTunneling: return "DNS_TUNNELING" + case let .sdkUnknown(s): return s + } + } + } +} + extension Route53ResolverClientTypes { public enum FirewallDomainRedirectionAction: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1366,9 +1427,9 @@ extension Route53ResolverClientTypes { } public struct CreateFirewallRuleInput: Swift.Sendable { - /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: + /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: /// - /// * ALLOW - Permit the request to go through. + /// * ALLOW - Permit the request to go through. Not available for DNS Firewall Advanced rules. /// /// * ALERT - Permit the request and send metrics and logs to Cloud Watch. /// @@ -1392,13 +1453,22 @@ public struct CreateFirewallRuleInput: Swift.Sendable { /// /// This setting is required if the rule action setting is BLOCK. public var blockResponse: Route53ResolverClientTypes.BlockResponse? + /// The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean: + /// + /// * LOW: Provides the highest detection rate for threats, but also increases false positives. + /// + /// * MEDIUM: Provides a balance between detecting threats and false positives. + /// + /// * HIGH: Detects only the most well corroborated threats with a low rate of false positives. + public var confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? /// A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp. /// This member is required. public var creatorRequestId: Swift.String? - /// The ID of the domain list that you want to use in the rule. - /// This member is required. + /// Use to create a DNS Firewall Advanced rule. + public var dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? + /// The ID of the domain list that you want to use in the rule. Can't be used together with DnsThreatProtecton. public var firewallDomainListId: Swift.String? - /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. + /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. public var firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? /// The unique identifier of the firewall rule group where you want to create the rule. /// This member is required. @@ -1446,7 +1516,9 @@ public struct CreateFirewallRuleInput: Swift.Sendable { blockOverrideDomain: Swift.String? = nil, blockOverrideTtl: Swift.Int? = nil, blockResponse: Route53ResolverClientTypes.BlockResponse? = nil, + confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? = nil, creatorRequestId: Swift.String? = nil, + dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? = nil, firewallDomainListId: Swift.String? = nil, firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? = nil, firewallRuleGroupId: Swift.String? = nil, @@ -1460,7 +1532,9 @@ public struct CreateFirewallRuleInput: Swift.Sendable { self.blockOverrideDomain = blockOverrideDomain self.blockOverrideTtl = blockOverrideTtl self.blockResponse = blockResponse + self.confidenceThreshold = confidenceThreshold self.creatorRequestId = creatorRequestId + self.dnsThreatProtection = dnsThreatProtection self.firewallDomainListId = firewallDomainListId self.firewallDomainRedirectionAction = firewallDomainRedirectionAction self.firewallRuleGroupId = firewallRuleGroupId @@ -1474,9 +1548,9 @@ extension Route53ResolverClientTypes { /// A single firewall rule in a rule group. public struct FirewallRule: Swift.Sendable { - /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: + /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: /// - /// * ALLOW - Permit the request to go through. + /// * ALLOW - Permit the request to go through. Not available for DNS Firewall Advanced rules. /// /// * ALERT - Permit the request to go through but send an alert to the logs. /// @@ -1496,16 +1570,32 @@ extension Route53ResolverClientTypes { /// /// * OVERRIDE - Provide a custom override in the response. This option requires custom handling details in the rule's BlockOverride* settings. public var blockResponse: Route53ResolverClientTypes.BlockResponse? + /// The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean: + /// + /// * LOW: Provides the highest detection rate for threats, but also increases false positives. + /// + /// * MEDIUM: Provides a balance between detecting threats and false positives. + /// + /// * HIGH: Detects only the most well corroborated threats with a low rate of false positives. + public var confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? /// The date and time that the rule was created, in Unix time format and Coordinated Universal Time (UTC). public var creationTime: Swift.String? /// A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of executing the operation twice. This can be any unique string, for example, a timestamp. public var creatorRequestId: Swift.String? + /// The type of the DNS Firewall Advanced rule. Valid values are: + /// + /// * DGA: Domain generation algorithms detection. DGAs are used by attackers to generate a large number of domains to to launch malware attacks. + /// + /// * DNS_TUNNELING: DNS tunneling detection. DNS tunneling is used by attackers to exfiltrate data from the client by using the DNS tunnel without making a network connection to the client. + public var dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? /// The ID of the domain list that's used in the rule. public var firewallDomainListId: Swift.String? - /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. + /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. public var firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? - /// The unique identifier of the firewall rule group of the rule. + /// The unique identifier of the Firewall rule group of the rule. public var firewallRuleGroupId: Swift.String? + /// ID of the DNS Firewall Advanced rule. + public var firewallThreatProtectionId: Swift.String? /// The date and time that the rule was last modified, in Unix time format and Coordinated Universal Time (UTC). public var modificationTime: Swift.String? /// The name of the rule. @@ -1549,11 +1639,14 @@ extension Route53ResolverClientTypes { blockOverrideDomain: Swift.String? = nil, blockOverrideTtl: Swift.Int? = nil, blockResponse: Route53ResolverClientTypes.BlockResponse? = nil, + confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? = nil, creationTime: Swift.String? = nil, creatorRequestId: Swift.String? = nil, + dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? = nil, firewallDomainListId: Swift.String? = nil, firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? = nil, firewallRuleGroupId: Swift.String? = nil, + firewallThreatProtectionId: Swift.String? = nil, modificationTime: Swift.String? = nil, name: Swift.String? = nil, priority: Swift.Int? = nil, @@ -1565,11 +1658,14 @@ extension Route53ResolverClientTypes { self.blockOverrideDomain = blockOverrideDomain self.blockOverrideTtl = blockOverrideTtl self.blockResponse = blockResponse + self.confidenceThreshold = confidenceThreshold self.creationTime = creationTime self.creatorRequestId = creatorRequestId + self.dnsThreatProtection = dnsThreatProtection self.firewallDomainListId = firewallDomainListId self.firewallDomainRedirectionAction = firewallDomainRedirectionAction self.firewallRuleGroupId = firewallRuleGroupId + self.firewallThreatProtectionId = firewallThreatProtectionId self.modificationTime = modificationTime self.name = name self.priority = priority @@ -2218,30 +2314,7 @@ extension Route53ResolverClientTypes { public var ipv6: Swift.String? /// The port at Ip that you want to forward DNS queries to. public var port: Swift.Int? - /// The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: - /// - /// * Do53 and DoH in combination. - /// - /// * Do53 and DoH-FIPS in combination. - /// - /// * Do53 alone. - /// - /// * DoH alone. - /// - /// * DoH-FIPS alone. - /// - /// * None, which is treated as Do53. - /// - /// - /// For an outbound endpoint you can apply the protocols as follows: - /// - /// * Do53 and DoH in combination. - /// - /// * Do53 alone. - /// - /// * DoH alone. - /// - /// * None, which is treated as Do53. + /// The protocols for the target address. The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule. public var `protocol`: Route53ResolverClientTypes.ModelProtocol? /// The Server Name Indication of the DoH server that you want to forward queries to. This is only used if the Protocol of the TargetAddress is DoH. public var serverNameIndication: Swift.String? @@ -2443,11 +2516,12 @@ public struct DeleteFirewallDomainListOutput: Swift.Sendable { public struct DeleteFirewallRuleInput: Swift.Sendable { /// The ID of the domain list that's used in the rule. - /// This member is required. public var firewallDomainListId: Swift.String? /// The unique identifier of the firewall rule group that you want to delete the rule from. /// This member is required. public var firewallRuleGroupId: Swift.String? + /// The ID that is created for a DNS Firewall Advanced rule. + public var firewallThreatProtectionId: Swift.String? /// The DNS query type that the rule you are deleting evaluates. Allowed values are; /// /// * A: Returns an IPv4 address. @@ -2482,11 +2556,13 @@ public struct DeleteFirewallRuleInput: Swift.Sendable { public init( firewallDomainListId: Swift.String? = nil, firewallRuleGroupId: Swift.String? = nil, + firewallThreatProtectionId: Swift.String? = nil, qtype: Swift.String? = nil ) { self.firewallDomainListId = firewallDomainListId self.firewallRuleGroupId = firewallRuleGroupId + self.firewallThreatProtectionId = firewallThreatProtectionId self.qtype = qtype } } @@ -4030,9 +4106,9 @@ public struct ListFirewallRuleGroupsOutput: Swift.Sendable { } public struct ListFirewallRulesInput: Swift.Sendable { - /// Optional additional filter for the rules to retrieve. The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: + /// Optional additional filter for the rules to retrieve. The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: /// - /// * ALLOW - Permit the request to go through. + /// * ALLOW - Permit the request to go through. Not availabe for DNS Firewall Advanced rules. /// /// * ALERT - Permit the request to go through but send an alert to the logs. /// @@ -4883,9 +4959,9 @@ public struct UpdateFirewallDomainsOutput: Swift.Sendable { } public struct UpdateFirewallRuleInput: Swift.Sendable { - /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: + /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: /// - /// * ALLOW - Permit the request to go through. + /// * ALLOW - Permit the request to go through. Not available for DNS Firewall Advanced rules. /// /// * ALERT - Permit the request to go through but send an alert to the logs. /// @@ -4905,14 +4981,29 @@ public struct UpdateFirewallRuleInput: Swift.Sendable { /// /// * OVERRIDE - Provide a custom override in the response. This option requires custom handling details in the rule's BlockOverride* settings. public var blockResponse: Route53ResolverClientTypes.BlockResponse? + /// The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean: + /// + /// * LOW: Provides the highest detection rate for threats, but also increases false positives. + /// + /// * MEDIUM: Provides a balance between detecting threats and false positives. + /// + /// * HIGH: Detects only the most well corroborated threats with a low rate of false positives. + public var confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? + /// The type of the DNS Firewall Advanced rule. Valid values are: + /// + /// * DGA: Domain generation algorithms detection. DGAs are used by attackers to generate a large number of domains to to launch malware attacks. + /// + /// * DNS_TUNNELING: DNS tunneling detection. DNS tunneling is used by attackers to exfiltrate data from the client by using the DNS tunnel without making a network connection to the client. + public var dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? /// The ID of the domain list to use in the rule. - /// This member is required. public var firewallDomainListId: Swift.String? - /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. + /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. public var firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? /// The unique identifier of the firewall rule group for the rule. /// This member is required. public var firewallRuleGroupId: Swift.String? + /// The DNS Firewall Advanced rule ID. + public var firewallThreatProtectionId: Swift.String? /// The name of the rule. public var name: Swift.String? /// The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting. You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time. @@ -4954,9 +5045,12 @@ public struct UpdateFirewallRuleInput: Swift.Sendable { blockOverrideDomain: Swift.String? = nil, blockOverrideTtl: Swift.Int? = nil, blockResponse: Route53ResolverClientTypes.BlockResponse? = nil, + confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? = nil, + dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? = nil, firewallDomainListId: Swift.String? = nil, firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? = nil, firewallRuleGroupId: Swift.String? = nil, + firewallThreatProtectionId: Swift.String? = nil, name: Swift.String? = nil, priority: Swift.Int? = nil, qtype: Swift.String? = nil @@ -4967,9 +5061,12 @@ public struct UpdateFirewallRuleInput: Swift.Sendable { self.blockOverrideDomain = blockOverrideDomain self.blockOverrideTtl = blockOverrideTtl self.blockResponse = blockResponse + self.confidenceThreshold = confidenceThreshold + self.dnsThreatProtection = dnsThreatProtection self.firewallDomainListId = firewallDomainListId self.firewallDomainRedirectionAction = firewallDomainRedirectionAction self.firewallRuleGroupId = firewallRuleGroupId + self.firewallThreatProtectionId = firewallThreatProtectionId self.name = name self.priority = priority self.qtype = qtype @@ -5810,7 +5907,9 @@ extension CreateFirewallRuleInput { try writer["BlockOverrideDomain"].write(value.blockOverrideDomain) try writer["BlockOverrideTtl"].write(value.blockOverrideTtl) try writer["BlockResponse"].write(value.blockResponse) + try writer["ConfidenceThreshold"].write(value.confidenceThreshold) try writer["CreatorRequestId"].write(value.creatorRequestId) + try writer["DnsThreatProtection"].write(value.dnsThreatProtection) try writer["FirewallDomainListId"].write(value.firewallDomainListId) try writer["FirewallDomainRedirectionAction"].write(value.firewallDomainRedirectionAction) try writer["FirewallRuleGroupId"].write(value.firewallRuleGroupId) @@ -5899,6 +5998,7 @@ extension DeleteFirewallRuleInput { guard let value else { return } try writer["FirewallDomainListId"].write(value.firewallDomainListId) try writer["FirewallRuleGroupId"].write(value.firewallRuleGroupId) + try writer["FirewallThreatProtectionId"].write(value.firewallThreatProtectionId) try writer["Qtype"].write(value.qtype) } } @@ -6346,9 +6446,12 @@ extension UpdateFirewallRuleInput { try writer["BlockOverrideDomain"].write(value.blockOverrideDomain) try writer["BlockOverrideTtl"].write(value.blockOverrideTtl) try writer["BlockResponse"].write(value.blockResponse) + try writer["ConfidenceThreshold"].write(value.confidenceThreshold) + try writer["DnsThreatProtection"].write(value.dnsThreatProtection) try writer["FirewallDomainListId"].write(value.firewallDomainListId) try writer["FirewallDomainRedirectionAction"].write(value.firewallDomainRedirectionAction) try writer["FirewallRuleGroupId"].write(value.firewallRuleGroupId) + try writer["FirewallThreatProtectionId"].write(value.firewallThreatProtectionId) try writer["Name"].write(value.name) try writer["Priority"].write(value.priority) try writer["Qtype"].write(value.qtype) @@ -7502,6 +7605,7 @@ enum DeleteFirewallRuleOutputError { case "InternalServiceErrorException": return try InternalServiceErrorException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -8852,6 +8956,7 @@ extension Route53ResolverClientTypes.FirewallRule { var value = Route53ResolverClientTypes.FirewallRule() value.firewallRuleGroupId = try reader["FirewallRuleGroupId"].readIfPresent() value.firewallDomainListId = try reader["FirewallDomainListId"].readIfPresent() + value.firewallThreatProtectionId = try reader["FirewallThreatProtectionId"].readIfPresent() value.name = try reader["Name"].readIfPresent() value.priority = try reader["Priority"].readIfPresent() value.action = try reader["Action"].readIfPresent() @@ -8864,6 +8969,8 @@ extension Route53ResolverClientTypes.FirewallRule { value.modificationTime = try reader["ModificationTime"].readIfPresent() value.firewallDomainRedirectionAction = try reader["FirewallDomainRedirectionAction"].readIfPresent() value.qtype = try reader["Qtype"].readIfPresent() + value.dnsThreatProtection = try reader["DnsThreatProtection"].readIfPresent() + value.confidenceThreshold = try reader["ConfidenceThreshold"].readIfPresent() return value } } diff --git a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift index 16128f1ad8f..4e8fd877f5d 100644 --- a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift +++ b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53ResolverClient: ClientRuntime.Client { public static let clientName = "Route53ResolverClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53ResolverClient.Route53ResolverClientConfiguration let serviceName = "Route53Resolver" @@ -1129,6 +1129,7 @@ extension Route53ResolverClient { /// - `InternalServiceErrorException` : We encountered an unknown error. Try again in a few minutes. /// - `ResourceNotFoundException` : The specified resource doesn't exist. /// - `ThrottlingException` : The request was throttled. Try again in a few minutes. + /// - `ValidationException` : You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain. public func deleteFirewallRule(input: DeleteFirewallRuleInput) async throws -> DeleteFirewallRuleOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) diff --git a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift index 7b47d233351..f1aa185f045 100644 --- a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift +++ b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift @@ -80,7 +80,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3Client: ClientRuntime.Client { public static let clientName = "S3Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: S3Client.S3ClientConfiguration let serviceName = "S3" diff --git a/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift b/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift index bd83454b03a..e5a7210800e 100644 --- a/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift +++ b/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3ControlClient: ClientRuntime.Client { public static let clientName = "S3ControlClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: S3ControlClient.S3ControlClientConfiguration let serviceName = "S3 Control" diff --git a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift index e4eb3aa4463..c635bcb0060 100644 --- a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift +++ b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3OutpostsClient: ClientRuntime.Client { public static let clientName = "S3OutpostsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: S3OutpostsClient.S3OutpostsClientConfiguration let serviceName = "S3Outposts" diff --git a/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift b/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift index 8592d191086..c0ca59493f8 100644 --- a/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift +++ b/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SESClient: ClientRuntime.Client { public static let clientName = "SESClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SESClient.SESClientConfiguration let serviceName = "SES" diff --git a/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift b/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift index 4dd01a446cc..56120d5c72d 100644 --- a/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift +++ b/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SESv2Client: ClientRuntime.Client { public static let clientName = "SESv2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SESv2Client.SESv2ClientConfiguration let serviceName = "SESv2" diff --git a/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift b/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift index a28e200ce5d..bf1277a2069 100644 --- a/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift +++ b/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SFNClient: ClientRuntime.Client { public static let clientName = "SFNClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SFNClient.SFNClientConfiguration let serviceName = "SFN" diff --git a/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift b/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift index 59d147ff7a5..5aa4c2b87dd 100644 --- a/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift +++ b/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SMSClient: ClientRuntime.Client { public static let clientName = "SMSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SMSClient.SMSClientConfiguration let serviceName = "SMS" diff --git a/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift b/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift index cc71f948807..4bfe32d4b99 100644 --- a/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift +++ b/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SNSClient: ClientRuntime.Client { public static let clientName = "SNSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SNSClient.SNSClientConfiguration let serviceName = "SNS" diff --git a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift index 7920fb15097..bee741c56ea 100644 --- a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift +++ b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SQSClient: ClientRuntime.Client { public static let clientName = "SQSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SQSClient.SQSClientConfiguration let serviceName = "SQS" diff --git a/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift b/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift index 680c620e870..d737d1dbb8b 100644 --- a/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift +++ b/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMClient: ClientRuntime.Client { public static let clientName = "SSMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSMClient.SSMClientConfiguration let serviceName = "SSM" diff --git a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift index faf8b1cbb6b..910a8e83ea2 100644 --- a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift +++ b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMContactsClient: ClientRuntime.Client { public static let clientName = "SSMContactsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSMContactsClient.SSMContactsClientConfiguration let serviceName = "SSM Contacts" diff --git a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift index 7eb8a2c8223..e659c532d4b 100644 --- a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift +++ b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMIncidentsClient: ClientRuntime.Client { public static let clientName = "SSMIncidentsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSMIncidentsClient.SSMIncidentsClientConfiguration let serviceName = "SSM Incidents" diff --git a/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift b/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift index 31621cbd47e..cb4767428a2 100644 --- a/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift +++ b/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMQuickSetupClient: ClientRuntime.Client { public static let clientName = "SSMQuickSetupClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSMQuickSetupClient.SSMQuickSetupClientConfiguration let serviceName = "SSM QuickSetup" diff --git a/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift b/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift index 25ce66dcbfa..5cc4e7e51a8 100644 --- a/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift +++ b/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift @@ -59,7 +59,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOClient: ClientRuntime.Client { public static let clientName = "SSOClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSOClient.SSOClientConfiguration let serviceName = "SSO" diff --git a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift index 32645ad8382..b761608eb4f 100644 --- a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift +++ b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOAdminClient: ClientRuntime.Client { public static let clientName = "SSOAdminClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSOAdminClient.SSOAdminClientConfiguration let serviceName = "SSO Admin" diff --git a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift index d596869873b..ff940916369 100644 --- a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift +++ b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOOIDCClient: ClientRuntime.Client { public static let clientName = "SSOOIDCClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSOOIDCClient.SSOOIDCClientConfiguration let serviceName = "SSO OIDC" diff --git a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift index 4920438cadc..74cfa622454 100644 --- a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift +++ b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class STSClient: ClientRuntime.Client { public static let clientName = "STSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: STSClient.STSClientConfiguration let serviceName = "STS" diff --git a/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift b/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift index 7be9751af8f..f392a4a6da5 100644 --- a/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift +++ b/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SWFClient: ClientRuntime.Client { public static let clientName = "SWFClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SWFClient.SWFClientConfiguration let serviceName = "SWF" diff --git a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift index bb4f0fe52a4..199488d1278 100644 --- a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift +++ b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerClient: ClientRuntime.Client { public static let clientName = "SageMakerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerClient.SageMakerClientConfiguration let serviceName = "SageMaker" diff --git a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift index f58be311ada..c2e061d8de4 100644 --- a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerA2IRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerA2IRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerA2IRuntimeClient.SageMakerA2IRuntimeClientConfiguration let serviceName = "SageMaker A2I Runtime" diff --git a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift index 6da5b83207d..525af615865 100644 --- a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerFeatureStoreRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerFeatureStoreRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerFeatureStoreRuntimeClient.SageMakerFeatureStoreRuntimeClientConfiguration let serviceName = "SageMaker FeatureStore Runtime" diff --git a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift index 709e2cf4504..e30015af6db 100644 --- a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift +++ b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerGeospatialClient: ClientRuntime.Client { public static let clientName = "SageMakerGeospatialClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerGeospatialClient.SageMakerGeospatialClientConfiguration let serviceName = "SageMaker Geospatial" diff --git a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift index 6b1a36a96d5..a5efcf2d537 100644 --- a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift +++ b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerMetricsClient: ClientRuntime.Client { public static let clientName = "SageMakerMetricsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerMetricsClient.SageMakerMetricsClientConfiguration let serviceName = "SageMaker Metrics" diff --git a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift index 8adcbf8219e..6c89388dfe2 100644 --- a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerRuntimeClient.SageMakerRuntimeClientConfiguration let serviceName = "SageMaker Runtime" diff --git a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift index df2612f4b5d..60c554a7dac 100644 --- a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift +++ b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SagemakerEdgeClient: ClientRuntime.Client { public static let clientName = "SagemakerEdgeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SagemakerEdgeClient.SagemakerEdgeClientConfiguration let serviceName = "Sagemaker Edge" diff --git a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift index 617d24c1288..b3e0075afda 100644 --- a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift +++ b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SavingsplansClient: ClientRuntime.Client { public static let clientName = "SavingsplansClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SavingsplansClient.SavingsplansClientConfiguration let serviceName = "savingsplans" diff --git a/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift b/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift index fe44a927153..9dd4b493dcb 100644 --- a/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift +++ b/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SchedulerClient: ClientRuntime.Client { public static let clientName = "SchedulerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SchedulerClient.SchedulerClientConfiguration let serviceName = "Scheduler" diff --git a/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift b/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift index e8b6c3373a0..13753eb5802 100644 --- a/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift +++ b/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SchemasClient: ClientRuntime.Client { public static let clientName = "SchemasClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SchemasClient.SchemasClientConfiguration let serviceName = "schemas" diff --git a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift index cba82bc6085..d2b5a1ac7c8 100644 --- a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift +++ b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecretsManagerClient: ClientRuntime.Client { public static let clientName = "SecretsManagerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SecretsManagerClient.SecretsManagerClientConfiguration let serviceName = "Secrets Manager" diff --git a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift index ff2ac746a21..b06d940d540 100644 --- a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift +++ b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecurityHubClient: ClientRuntime.Client { public static let clientName = "SecurityHubClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SecurityHubClient.SecurityHubClientConfiguration let serviceName = "SecurityHub" diff --git a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift index 72b33e0c338..563907a4262 100644 --- a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift +++ b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecurityLakeClient: ClientRuntime.Client { public static let clientName = "SecurityLakeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SecurityLakeClient.SecurityLakeClientConfiguration let serviceName = "SecurityLake" diff --git a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift index 1831a4d24df..91b37835766 100644 --- a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift +++ b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServerlessApplicationRepositoryClient: ClientRuntime.Client { public static let clientName = "ServerlessApplicationRepositoryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ServerlessApplicationRepositoryClient.ServerlessApplicationRepositoryClientConfiguration let serviceName = "ServerlessApplicationRepository" diff --git a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift index 910a47a627d..3c6873c845e 100644 --- a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift +++ b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceCatalogClient: ClientRuntime.Client { public static let clientName = "ServiceCatalogClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ServiceCatalogClient.ServiceCatalogClientConfiguration let serviceName = "Service Catalog" diff --git a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift index cf7d8a4a44e..2e070d25b5a 100644 --- a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift +++ b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceCatalogAppRegistryClient: ClientRuntime.Client { public static let clientName = "ServiceCatalogAppRegistryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ServiceCatalogAppRegistryClient.ServiceCatalogAppRegistryClientConfiguration let serviceName = "Service Catalog AppRegistry" diff --git a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift index 7485aa4af79..eaabf47a4a4 100644 --- a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift +++ b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceDiscoveryClient: ClientRuntime.Client { public static let clientName = "ServiceDiscoveryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ServiceDiscoveryClient.ServiceDiscoveryClientConfiguration let serviceName = "ServiceDiscovery" diff --git a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift index 90f5b5cf02b..2207b41aba1 100644 --- a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift +++ b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceQuotasClient: ClientRuntime.Client { public static let clientName = "ServiceQuotasClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ServiceQuotasClient.ServiceQuotasClientConfiguration let serviceName = "Service Quotas" diff --git a/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift b/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift index 020e052ea0c..06564b0e438 100644 --- a/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift +++ b/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ShieldClient: ClientRuntime.Client { public static let clientName = "ShieldClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ShieldClient.ShieldClientConfiguration let serviceName = "Shield" diff --git a/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift b/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift index 6f04cca6a2b..77f9a4e7ac2 100644 --- a/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift +++ b/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SignerClient: ClientRuntime.Client { public static let clientName = "SignerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SignerClient.SignerClientConfiguration let serviceName = "signer" diff --git a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift index 8c737f69e72..497261620cb 100644 --- a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift +++ b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SimSpaceWeaverClient: ClientRuntime.Client { public static let clientName = "SimSpaceWeaverClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SimSpaceWeaverClient.SimSpaceWeaverClientConfiguration let serviceName = "SimSpaceWeaver" diff --git a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift index 0537591c848..d4e2baf3e64 100644 --- a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift +++ b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SnowDeviceManagementClient: ClientRuntime.Client { public static let clientName = "SnowDeviceManagementClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SnowDeviceManagementClient.SnowDeviceManagementClientConfiguration let serviceName = "Snow Device Management" diff --git a/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift b/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift index 8610c98d4c3..15fedf7f440 100644 --- a/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift +++ b/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SnowballClient: ClientRuntime.Client { public static let clientName = "SnowballClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SnowballClient.SnowballClientConfiguration let serviceName = "Snowball" diff --git a/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift b/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift index 708df290bbb..8977b75d282 100644 --- a/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift +++ b/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SocialMessagingClient: ClientRuntime.Client { public static let clientName = "SocialMessagingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SocialMessagingClient.SocialMessagingClientConfiguration let serviceName = "SocialMessaging" diff --git a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift index 10b71182c8b..a740d265876 100644 --- a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift +++ b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SsmSapClient: ClientRuntime.Client { public static let clientName = "SsmSapClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SsmSapClient.SsmSapClientConfiguration let serviceName = "Ssm Sap" diff --git a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift index 0e7bb0dd6af..c46fd035994 100644 --- a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift +++ b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class StorageGatewayClient: ClientRuntime.Client { public static let clientName = "StorageGatewayClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: StorageGatewayClient.StorageGatewayClientConfiguration let serviceName = "Storage Gateway" diff --git a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift index c2ced0abf1a..af16c4d9083 100644 --- a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift +++ b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupplyChainClient: ClientRuntime.Client { public static let clientName = "SupplyChainClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SupplyChainClient.SupplyChainClientConfiguration let serviceName = "SupplyChain" diff --git a/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift b/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift index c5df968621c..ee5b7c3e991 100644 --- a/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift +++ b/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupportClient: ClientRuntime.Client { public static let clientName = "SupportClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SupportClient.SupportClientConfiguration let serviceName = "Support" diff --git a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift index ca7ea240f97..ae9ca664dc3 100644 --- a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift +++ b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupportAppClient: ClientRuntime.Client { public static let clientName = "SupportAppClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SupportAppClient.SupportAppClientConfiguration let serviceName = "Support App" diff --git a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift index 12d887587c0..fe31682e447 100644 --- a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift +++ b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SyntheticsClient: ClientRuntime.Client { public static let clientName = "SyntheticsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SyntheticsClient.SyntheticsClientConfiguration let serviceName = "synthetics" diff --git a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift index 5a615679da0..e5f0336b49b 100644 --- a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift +++ b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TaxSettingsClient: ClientRuntime.Client { public static let clientName = "TaxSettingsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TaxSettingsClient.TaxSettingsClientConfiguration let serviceName = "TaxSettings" diff --git a/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift b/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift index 1ae4e6c02a9..edb770d47cb 100644 --- a/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift +++ b/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TextractClient: ClientRuntime.Client { public static let clientName = "TextractClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TextractClient.TextractClientConfiguration let serviceName = "Textract" diff --git a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift index 409e4b68c7d..93946eead9c 100644 --- a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift +++ b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamInfluxDBClient: ClientRuntime.Client { public static let clientName = "TimestreamInfluxDBClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TimestreamInfluxDBClient.TimestreamInfluxDBClientConfiguration let serviceName = "Timestream InfluxDB" diff --git a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift index cbe66cb87c9..20ec34fce6d 100644 --- a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift +++ b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamQueryClient: ClientRuntime.Client { public static let clientName = "TimestreamQueryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TimestreamQueryClient.TimestreamQueryClientConfiguration let serviceName = "Timestream Query" diff --git a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift index ee211fe7618..271eb6af717 100644 --- a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift +++ b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamWriteClient: ClientRuntime.Client { public static let clientName = "TimestreamWriteClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TimestreamWriteClient.TimestreamWriteClientConfiguration let serviceName = "Timestream Write" diff --git a/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift b/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift index 0ae1a8ab45a..d3eda551873 100644 --- a/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift +++ b/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TnbClient: ClientRuntime.Client { public static let clientName = "TnbClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TnbClient.TnbClientConfiguration let serviceName = "tnb" diff --git a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift index 3f9a050425e..58e252111d1 100644 --- a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift +++ b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranscribeClient: ClientRuntime.Client { public static let clientName = "TranscribeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TranscribeClient.TranscribeClientConfiguration let serviceName = "Transcribe" diff --git a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift index b518e924641..ad8beb1ae45 100644 --- a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift +++ b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranscribeStreamingClient: ClientRuntime.Client { public static let clientName = "TranscribeStreamingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TranscribeStreamingClient.TranscribeStreamingClientConfiguration let serviceName = "Transcribe Streaming" diff --git a/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift b/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift index 41796489dc7..79da9f21f46 100644 --- a/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift +++ b/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TransferClient: ClientRuntime.Client { public static let clientName = "TransferClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TransferClient.TransferClientConfiguration let serviceName = "Transfer" diff --git a/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift b/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift index dc2c719dcf2..8392f42199f 100644 --- a/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift +++ b/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranslateClient: ClientRuntime.Client { public static let clientName = "TranslateClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TranslateClient.TranslateClientConfiguration let serviceName = "Translate" diff --git a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift index 8586c614c76..12d4f6586cb 100644 --- a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift +++ b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TrustedAdvisorClient: ClientRuntime.Client { public static let clientName = "TrustedAdvisorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TrustedAdvisorClient.TrustedAdvisorClientConfiguration let serviceName = "TrustedAdvisor" diff --git a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift index a62ccdf5da2..74301a9b245 100644 --- a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift +++ b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VPCLatticeClient: ClientRuntime.Client { public static let clientName = "VPCLatticeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: VPCLatticeClient.VPCLatticeClientConfiguration let serviceName = "VPC Lattice" diff --git a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift index 9a7d5cf7d30..c5151d8f41a 100644 --- a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift +++ b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VerifiedPermissionsClient: ClientRuntime.Client { public static let clientName = "VerifiedPermissionsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: VerifiedPermissionsClient.VerifiedPermissionsClientConfiguration let serviceName = "VerifiedPermissions" diff --git a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift index 9252db9776e..9ad2c2e84e6 100644 --- a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift +++ b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VoiceIDClient: ClientRuntime.Client { public static let clientName = "VoiceIDClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: VoiceIDClient.VoiceIDClientConfiguration let serviceName = "Voice ID" diff --git a/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift b/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift index e8bfb0f0a8c..bf5f8050235 100644 --- a/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift +++ b/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFClient: ClientRuntime.Client { public static let clientName = "WAFClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WAFClient.WAFClientConfiguration let serviceName = "WAF" diff --git a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift index 31d606ce951..dc5c18cdc00 100644 --- a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift +++ b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFRegionalClient: ClientRuntime.Client { public static let clientName = "WAFRegionalClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WAFRegionalClient.WAFRegionalClientConfiguration let serviceName = "WAF Regional" diff --git a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift index 786ff3bc561..1d660e43f15 100644 --- a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift +++ b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFV2Client: ClientRuntime.Client { public static let clientName = "WAFV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WAFV2Client.WAFV2ClientConfiguration let serviceName = "WAFV2" diff --git a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift index d8c8470495d..e739cb1eec7 100644 --- a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift +++ b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WellArchitectedClient: ClientRuntime.Client { public static let clientName = "WellArchitectedClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WellArchitectedClient.WellArchitectedClientConfiguration let serviceName = "WellArchitected" diff --git a/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift b/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift index 05a4a837c7e..8d7348fa8c9 100644 --- a/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift +++ b/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WisdomClient: ClientRuntime.Client { public static let clientName = "WisdomClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WisdomClient.WisdomClientConfiguration let serviceName = "Wisdom" diff --git a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift index 42758485d72..0261de39f6c 100644 --- a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift +++ b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkDocsClient: ClientRuntime.Client { public static let clientName = "WorkDocsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkDocsClient.WorkDocsClientConfiguration let serviceName = "WorkDocs" diff --git a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift index 31cb313b1ef..714bb040860 100644 --- a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift +++ b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkMailClient: ClientRuntime.Client { public static let clientName = "WorkMailClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkMailClient.WorkMailClientConfiguration let serviceName = "WorkMail" diff --git a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift index 4c0328506e0..283ce6a4c70 100644 --- a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift +++ b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkMailMessageFlowClient: ClientRuntime.Client { public static let clientName = "WorkMailMessageFlowClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkMailMessageFlowClient.WorkMailMessageFlowClientConfiguration let serviceName = "WorkMailMessageFlow" diff --git a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift index 7e2f5569a2c..63d6cdaf992 100644 --- a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift +++ b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesClient: ClientRuntime.Client { public static let clientName = "WorkSpacesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesClient.WorkSpacesClientConfiguration let serviceName = "WorkSpaces" diff --git a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift index 96ad2ee9236..89aa0839112 100644 --- a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift +++ b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesThinClientClient: ClientRuntime.Client { public static let clientName = "WorkSpacesThinClientClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesThinClientClient.WorkSpacesThinClientClientConfiguration let serviceName = "WorkSpaces Thin Client" diff --git a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift index 0492ac0faed..6b7d3e2d81e 100644 --- a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift +++ b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesWebClient: ClientRuntime.Client { public static let clientName = "WorkSpacesWebClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesWebClient.WorkSpacesWebClientConfiguration let serviceName = "WorkSpaces Web" diff --git a/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift b/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift index 7f77b2298c9..fedfbc8e97d 100644 --- a/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift +++ b/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class XRayClient: ClientRuntime.Client { public static let clientName = "XRayClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: XRayClient.XRayClientConfiguration let serviceName = "XRay"